Function at 0x40c6f0
Capabilities:
Hash data with md5
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x451eec
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4642d8]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14c]
cmp dword [eax + 0x8c], 0
mov dword [esp + 0x24], eax
je 0x40d279
mov esi, dword [esp + 0x24]
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x88]
mov ebx, dword [ecx]
lea eax, [esi + 0x74]
mov eax, dword [eax]
test eax, eax
jne 0x40c79d
call fcn.004325db
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40c773
call fcn.004325db
mov esi, dword [ebx + 8]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40c7a1
cmp eax, dword [esi]
jne 0x40c7a1
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40c7dc
mov eax, dword [eax]
jmp 0x40c769
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40d2a5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00432217
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x14], edi
mov dword [esp + 0x144], 0
mov esi, dword [ebx + 0xc]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40c818
cmp eax, dword [esi]
jne 0x40c818
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40c853
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40d2a5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00432217
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x18], edi
mov byte [esp + 0x144], 1
mov esi, dword [ebx + 0x10]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x40c88c
cmp eax, dword [esi]
jne 0x40c88c
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40c8c7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40d2a5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00432217
add esp, 0x10
lea ebp, [edi + 0x10]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x144], 2
mov eax, dword [esi + 0x88]
mov eax, dword [eax]
mov ecx, dword [esi + 0x74]
lea ebx, [esi + 0x74]
push eax
push ecx
lea ecx, [esp + 0x90]
push ecx
call fcn.004100a0
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00405c60
mov esi, eax
lea edi, [esi + 0x1c]
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 0x38
push str.chkCodeSwitch
mov ecx, esi
call fcn.0042f0a7
mov ecx, eax
call fcn.0042d309
test al, al
je 0x40c94a
push str.chkCodeSwitch
mov ecx, esi
call fcn.0042f0a7
mov ecx, eax
call fcn.0042d5f1
movzx ebx, al
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
cmp ebx, edi
jne 0x40c981
add ebp, 0xfffffff0
mov dword [esp + 0x144], 0xffffffff
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40d228
mov ecx, dword [ebp]
push ebp
jmp 0x40d221
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00405650
mov byte [esp + 0x144], 3
mov ecx, dword [eax]
mov ebx, 0xf
mov eax, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c9b0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00402320
mov eax, dword [esp + 0x2c]
mov ebp, 0x10
mov byte [esp + 0x114], 0
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xac], 0x67452301
mov dword [esp + 0xb0], 0xefcdab89
mov dword [esp + 0xb4], 0x98badcfe
mov dword [esp + 0xb8], 0x10325476
cmp dword [esp + 0x40], ebp
jae 0x40ca19
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0xb0]
call fcn.00411520
cmp dword [esp + 0x40], ebp
jb 0x40ca3d
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043206e
add esp, 4
mov byte [esp + 0x144], 2
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ca72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x28]
lea eax, [esp + 0xac]
call fcn.00411e90
mov byte [esp + 0x144], 4
cmp dword [eax + 0x18], ebp
jb 0x40ca94
mov ecx, dword [eax + 4]
jmp 0x40ca97
lea ecx, [eax + 4]
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00405790
lea eax, [esp + 0x58]
push eax
call fcn.004122c0
add esp, 8
mov byte [esp + 0x144], 5
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40cb10
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40cafe
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40cafe
call fcn.00404120
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40caf5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x40cb10
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00404080
mov ebp, 0x10
mov byte [esp + 0x144], 4
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 2
cmp dword [esp + 0x40], ebp
jb 0x40cb53
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0043206e
add esp, 4
mov eax, dword [esp + 0x14]
push 3
lea edx, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], edx
call fcn.004102f0
mov byte [esp + 0x144], 6
mov edx, dword [esp + 0xac]
mov eax, edx
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cba6
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x98]
call fcn.00402320
mov bl, 8
mov byte [esp + 0x144], bl
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x40cbe1
push eax
call fcn.004329c3
add esp, 4
push 0x400
xor ecx, ecx
lea esi, [esp + 0x2c]
lea edx, [esp + 0x94]
call fcn.00401f20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x150], 9
call fcn.00402140
mov byte [esp + 0x144], bl
cmp dword [esp + 0x40], ebp
jb 0x40cc2b
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043206e
add esp, 4
mov eax, dword [esp + 0x94]
cmp dword [esp + 0xa8], ebp
jae 0x40cc42
lea eax, [esp + 0x94]
mov edi, dword [esp + 0xa4]
push eax
lea esi, [esp + 0x2c]
call fcn.004126b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x150], 0xa
call fcn.00402140
mov byte [esp + 0x144], bl
cmp dword [esp + 0x40], ebp
jb 0x40cc89
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043206e
add esp, 4
mov ebx, dword [esp + 0x94]
cmp dword [esp + 0xa8], ebp
jae 0x40cca0
lea ebx, [esp + 0x94]
lea eax, [esp + 0x14]
call fcn.00403a10
mov esi, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40ccdb
cmp eax, dword [esi]
jne 0x40ccdb
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40cd16
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40d2a5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00432217
add esp, 0x10
lea edx, [esp + 0x64]
add edi, 0x10
push edx
mov dword [ebx], edi
call fcn.004122c0
add esp, 8
mov byte [esp + 0x144], 0xb
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
cmp eax, esi
je 0x40cd7b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40cd6e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40cd6e
call fcn.00404120
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40cd65
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x40cd7b
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.00404080
mov byte [esp + 0x144], 8
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cda3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x466ddc]
mov eax, dword [edx + 0xc]
mov ecx, 0x466ddc
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x144], 0xc
mov edx, dword [0x466ddc]
mov eax, dword [edx + 0xc]
mov ecx, 0x466ddc
call eax
mov edx, dword [0x466ddc]
add eax, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x466ddc
call eax
mov edx, dword [0x466ddc]
add eax, 0x10
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x466ddc
call eax
add eax, 0x10
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov byte [esp + 0x144], 0xd
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x50]
push ecx
push edx
push str.id1000ver_skver1umid_surl_scode_suserid_s
lea edi, [esp + 0x38]
call fcn.004109e0
add esp, 0x14
mov eax, esp
mov dword [esp + 0x60], esp
push eax
mov ecx, str.adsfewreewrewadfdsafdsafdf
call fcn.004056e0
mov byte [esp + 0x148], 0xe
mov edi, dword [esp + 0x24]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [esp + 0x6c], esp
mov ebx, esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x40cea6
cmp eax, dword [edi]
jne 0x40cea6
mov esi, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40cee1
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40d2a5
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00432217
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x14c], 0xd
call fcn.00414cd0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x5c]
push eax
mov ebx, str.sign
mov byte [esp + 0x154], 0xf
call fcn.00403a90
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x58]
push edx
mov ebx, eax
mov byte [esp + 0x15c], 0x10
call fcn.0040fd10
add esp, 0x18
mov byte [esp + 0x144], 0x12
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00403b70
push eax
lea esi, [esp + 0x2c]
call fcn.0040ba30
mov esi, 0x10
mov byte [esp + 0x144], 0x13
cmp dword [eax + 0x18], esi
jb 0x40cf7d
mov eax, dword [eax + 4]
jmp 0x40cf80
add eax, 4
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.00405790
mov byte [esp + 0x144], 0x15
cmp dword [esp + 0x40], esi
jb 0x40cfa7
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043206e
add esp, 4
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x68]
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x6c], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40cff3
cmp eax, dword [esi]
jne 0x40cff3
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40d02e
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40d2a5
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00432217
add esp, 0x10
add ebx, 0x10
mov dword [ebp], ebx
mov byte [esp + 0x14c], 0x16
mov esi, dword [esp + 0x50]
push 0x1388
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x6c], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x40d073
cmp eax, dword [esi]
jne 0x40d073
mov ebx, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40d0ae
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40d2a5
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00432217
add esp, 0x10
add ebx, 0x10
mov dword [ebp], ebx
mov byte [esp + 0x154], 0x15
call fcn.00428fd0
mov byte [esp + 0x154], 0x12
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d0ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 0xf
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 0xd
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d13c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 0xc
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d164
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d184
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 8
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1c5
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp dword [esp + 0xa8], 0x10
jb 0x40d1df
mov eax, dword [esp + 0x94]
push eax
call fcn.0043206e
add esp, 4
mov dword [esp + 0x144], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d228
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d248
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d268
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x8c], 0
jne 0x40c743
mov al, 1
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00432079
add esp, 0x134
ret 4
call fcn.00402b20
int3