Function at 0x4028c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0xb0]
mov dword [edi + 0xb0], eax
movzx ecx, byte [esi + 0xac]
lea edx, [esi + 0x98]
mov byte [edi + 0xac], cl
push edx
lea ecx, [edi + 0x98]
mov dword [ebp - 4], 0
call fcn.00402070
lea eax, [esi + 0x9c]
push eax
lea ecx, [edi + 0x9c]
call fcn.00402070
lea ecx, [esi + 0xa0]
push ecx
lea ecx, [edi + 0xa0]
call fcn.00402070
lea edx, [esi + 0x94]
push edx
lea ecx, [edi + 0x94]
call fcn.00402070
lea eax, [esi + 0xa4]
push eax
lea ecx, [edi + 0xa4]
call fcn.00402070
movzx ecx, byte [esi + 0xbc]
mov byte [edi + 0xbc], cl
mov edx, dword [esi + 0xa8]
mov dword [edi + 0xa8], edx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x28]
mov dword [edi + 0x28], ecx
mov edx, dword [esi + 0x2c]
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [edi + 0x20], edx
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 0x38]
mov dword [edi + 0x38], ecx
mov edx, dword [esi + 0x3c]
mov dword [edi + 0x3c], edx
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x50], ecx
mov edx, dword [esi + 0x54]
mov dword [edi + 0x54], edx
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x5c], ecx
mov edx, dword [esi + 0x60]
mov dword [edi + 0x60], edx
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x44], ecx
mov edx, dword [esi + 0x48]
mov dword [edi + 0x48], edx
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov ecx, dword [esi + 0x68]
mov dword [edi + 0x68], ecx
mov edx, dword [esi + 0x6c]
mov dword [edi + 0x6c], edx
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov ecx, dword [esi + 0x80]
mov dword [edi + 0x80], ecx
mov edx, dword [esi + 0x84]
mov dword [edi + 0x84], edx
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
mov ecx, dword [esi + 0x8c]
mov dword [edi + 0x8c], ecx
mov edx, dword [esi + 0x90]
mov dword [edi + 0x90], edx
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov ecx, dword [esi + 0x74]
mov dword [edi + 0x74], ecx
mov edx, dword [esi + 0x78]
lea ecx, [esi + 0xb4]
mov dword [edi + 0x78], edx
mov eax, dword [esi + 0x124]
push ecx
lea ecx, [edi + 0xb4]
mov dword [edi + 0x124], eax
call fcn.004050a0
lea edx, [esi + 0xb8]
push edx
lea ecx, [edi + 0xb8]
call fcn.004050a0
mov eax, dword [esi + 0xc0]
mov dword [edi + 0xc0], eax
mov ecx, dword [esi + 0xc4]
mov dword [edi + 0xc4], ecx
mov edx, dword [esi + 0xcc]
mov dword [edi + 0xcc], edx
mov eax, dword [esi + 0xd0]
mov dword [edi + 0xd0], eax
mov ecx, dword [esi + 0xc8]
mov dword [edi + 0xc8], ecx
mov edx, dword [esi + 0xd4]
mov dword [edi + 0xd4], edx
mov eax, dword [esi + 0xd8]
mov dword [edi + 0xd8], eax
mov ecx, dword [esi + 0xdc]
mov dword [edi + 0xdc], ecx
mov edx, dword [esi + 0xe0]
mov dword [edi + 0xe0], edx
mov eax, dword [esi + 0xe4]
mov dword [edi + 0xe4], eax
mov ecx, dword [esi + 0xe8]
mov dword [edi + 0xe8], ecx
mov edx, dword [esi + 0xec]
mov dword [edi + 0xec], edx
mov eax, dword [esi + 0xf0]
mov dword [edi + 0xf0], eax
mov ecx, dword [esi + 0xf4]
mov dword [edi + 0xf4], ecx
mov edx, dword [esi + 0xf8]
mov dword [edi + 0xf8], edx
mov eax, dword [esi + 0xfc]
mov dword [edi + 0xfc], eax
mov ecx, dword [esi + 0x100]
mov dword [edi + 0x100], ecx
mov edx, dword [esi + 0x104]
mov dword [edi + 0x104], edx
mov eax, dword [esi + 0x108]
mov dword [edi + 0x108], eax
mov ecx, dword [esi + 0x124]
mov dword [edi + 0x124], ecx
mov edx, dword [esi + 0x110]
mov dword [edi + 0x110], edx
mov eax, dword [esi + 0x128]
mov dword [edi + 0x128], eax
mov ecx, dword [esi + 0x12c]
mov dword [edi + 0x12c], ecx
mov edx, dword [esi + 0x14c]
mov dword [edi + 0x14c], edx
mov eax, dword [esi + 0x150]
mov dword [edi + 0x150], eax
mov ecx, dword [esi + 0x154]
mov dword [edi + 0x154], ecx
mov edx, dword [esi + 0x130]
lea ecx, [esi + 0x138]
mov dword [edi + 0x130], edx
mov eax, dword [esi + 0x134]
push ecx
lea ecx, [edi + 0x138]
mov dword [edi + 0x134], eax
call fcn.00402070
mov edx, dword [esi + 0x13c]
mov dword [edi + 0x13c], edx
mov eax, dword [esi + 0x140]
mov dword [edi + 0x140], eax
mov ecx, dword [esi + 0x144]
mov dword [edi + 0x144], ecx
mov edx, dword [esi + 0x148]
mov dword [edi + 0x148], edx
mov eax, dword [esi + 0x164]
mov dword [edi + 0x164], eax
mov ecx, dword [esi + 0x170]
mov dword [edi + 0x170], ecx
mov edx, dword [esi + 0x174]
mov dword [edi + 0x174], edx
mov eax, dword [esi + 0x178]
mov dword [edi + 0x178], eax
mov ecx, dword [esi + 0x17c]
mov dword [edi + 0x17c], ecx
mov edx, dword [esi + 0x180]
mov dword [edi + 0x180], edx
mov eax, dword [esi + 0x184]
mov dword [edi + 0x184], eax
mov ecx, dword [esi + 0x188]
mov dword [edi + 0x188], ecx
mov edx, dword [esi + 0x18c]
mov dword [edi + 0x18c], edx
mov eax, dword [esi + 0x190]
mov dword [edi + 0x190], eax
mov ecx, dword [esi + 0x194]
mov dword [edi + 0x194], ecx
mov edx, dword [esi + 0x168]
mov dword [edi + 0x168], edx
mov edx, dword [esi + 0x120]
mov ebx, dword [edi + 0x120]
lea eax, [edx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x402d08
cmp dword [ebx + 0xc], 0
jl 0x402cf8
mov ecx, dword [eax]
cmp ecx, dword [ebx]
jne 0x402cf8
push eax
call fcn.00402000
mov dword [ebp - 4], eax
add esp, 4
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x402cea
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [edi + 0x120], eax
jmp 0x402d08
mov ecx, dword [edx - 0xc]
push ecx
push edx
lea ecx, [edi + 0x120]
call fcn.00401f50
mov edx, dword [esi + 0x16c]
mov dword [edi + 0x16c], edx
mov eax, dword [esi + 0x114]
mov dword [edi + 0x114], eax
mov ecx, dword [esi + 0x11c]
mov dword [edi + 0x11c], ecx
mov edx, dword [esi + 0x118]
mov dword [edi + 0x118], edx
mov eax, dword [esi + 0x198]
mov dword [edi + 0x198], eax
mov edx, dword [esi + 0x19c]
mov ebx, dword [edi + 0x19c]
lea eax, [edx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x402da9
cmp dword [ebx + 0xc], 0
jl 0x402d99
mov ecx, dword [eax]
cmp ecx, dword [ebx]
jne 0x402d99
push eax
call fcn.00402000
mov dword [ebp - 4], eax
add esp, 4
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x402d8b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [edi + 0x19c], eax
jmp 0x402da9
mov ecx, dword [edx - 0xc]
push ecx
push edx
lea ecx, [edi + 0x19c]
call fcn.00401f50
mov edx, dword [esi + 0x1a0]
mov dword [edi + 0x1a0], edx
mov eax, dword [esi + 0x1a4]
mov dword [edi + 0x1a4], eax
mov ecx, dword [esi + 0x1a8]
mov dword [edi + 0x1a8], ecx
mov edx, dword [esi + 0x1ac]
mov dword [edi + 0x1ac], edx
mov eax, dword [esi + 0x1b0]
mov dword [edi + 0x1b0], eax
mov ecx, dword [esi + 0x1b4]
mov dword [edi + 0x1b4], ecx
mov edx, dword [esi + 0x1b8]
mov dword [edi + 0x1b8], edx
mov eax, dword [esi + 0x1bc]
mov dword [edi + 0x1bc], eax
mov ecx, dword [esi + 0x1c0]
mov dword [edi + 0x1c0], ecx
mov edx, dword [esi + 0x1c4]
mov dword [edi + 0x1c4], edx
mov eax, dword [esi + 0x1c8]
mov dword [edi + 0x1c8], eax
mov ecx, dword [esi + 0x1cc]
mov dword [edi + 0x1cc], ecx
mov edx, dword [esi + 0x1d0]
mov dword [edi + 0x1d0], edx
mov eax, dword [esi + 0x1d4]
mov dword [edi + 0x1d4], eax
mov ecx, dword [esi + 0x1d8]
mov dword [edi + 0x1d8], ecx
mov edx, dword [esi + 0x1dc]
mov dword [edi + 0x1dc], edx
mov eax, dword [esi + 0x1e0]
mov dword [edi + 0x1e0], eax
mov ecx, dword [esi + 0x1e4]
mov dword [edi + 0x1e4], ecx
mov edx, dword [esi + 0x1e8]
mov dword [edi + 0x1e8], edx
mov eax, dword [esi + 0x1ec]
mov dword [edi + 0x1ec], eax
movzx ecx, byte [esi + 0x1f0]
mov byte [edi + 0x1f0], cl
movzx edx, byte [esi + 0x1f1]
mov byte [edi + 0x1f1], dl
mov al, byte [esi + 0x1f2]
mov byte [edi + 0x1f2], al
movzx ecx, byte [esi + 0x1f3]
mov byte [edi + 0x1f3], cl
movzx edx, byte [esi + 0x1f4]
mov byte [edi + 0x1f4], dl
mov eax, dword [esi + 0x1f8]
mov esi, dword [edi + 0x1f8]
lea ebx, [eax - 0x10]
sub esi, 0x10
cmp ebx, esi
je 0x402fa5
cmp dword [esi + 0xc], 0
jl 0x402f95
mov ecx, dword [ebx]
cmp ecx, dword [esi]
jne 0x402f95
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x402f26
cmp eax, dword [ebx]
jne 0x402f26
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x402f5f
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov dword [ebp - 4], eax
test eax, eax
jne 0x402f40
call fcn.00401ff0
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 4]
inc ecx
push ecx
add ebx, 0x10
push ebx
push ecx
add eax, 0x10
push eax
call fcn.0055dbf6
mov ebx, dword [ebp - 4]
add esp, 0x10
lea eax, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x402f78
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov esi, dword [ebp + 8]
push edi
add ebx, 0x10
push esi
mov dword [edi + 0x1f8], ebx
call fcn.00402fc0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edi + 0x1f8]
call fcn.00401f50
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00402fc0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4