Function at 0x402740
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 [edi + 0xb0]
mov dword [esi + 0xb0], eax
movzx ecx, byte [edi + 0xac]
lea edx, [edi + 0x98]
mov byte [esi + 0xac], cl
push edx
lea ecx, [esi + 0x98]
mov dword [ebp - 4], 0
call fcn.00401fb0
lea eax, [edi + 0x9c]
push eax
lea ecx, [esi + 0x9c]
call fcn.00401fb0
lea ecx, [edi + 0xa0]
push ecx
lea ecx, [esi + 0xa0]
call fcn.00401fb0
lea edx, [edi + 0x94]
push edx
lea ecx, [esi + 0x94]
call fcn.00401fb0
lea eax, [edi + 0xa4]
push eax
lea ecx, [esi + 0xa4]
call fcn.00401fb0
movzx ecx, byte [edi + 0xbc]
mov byte [esi + 0xbc], cl
mov edx, dword [edi + 0xa8]
mov dword [esi + 0xa8], edx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x5c], ecx
mov edx, dword [edi + 0x60]
mov dword [esi + 0x60], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x6c]
mov dword [esi + 0x6c], edx
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
mov ecx, dword [edi + 0x80]
mov dword [esi + 0x80], ecx
mov edx, dword [edi + 0x84]
mov dword [esi + 0x84], edx
mov eax, dword [edi + 0x88]
mov dword [esi + 0x88], eax
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x8c], ecx
mov edx, dword [edi + 0x90]
mov dword [esi + 0x90], edx
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x74], ecx
mov edx, dword [edi + 0x78]
lea ecx, [edi + 0xb4]
mov dword [esi + 0x78], edx
mov eax, dword [edi + 0x114]
push ecx
lea ecx, [esi + 0xb4]
mov dword [esi + 0x114], eax
call fcn.00404d00
lea edx, [edi + 0xb8]
push edx
lea ecx, [esi + 0xb8]
call fcn.00404d00
mov eax, dword [edi + 0xc0]
mov dword [esi + 0xc0], eax
mov ecx, dword [edi + 0xc4]
mov dword [esi + 0xc4], ecx
mov edx, dword [edi + 0xcc]
mov dword [esi + 0xcc], edx
mov eax, dword [edi + 0xd0]
mov dword [esi + 0xd0], eax
mov ecx, dword [edi + 0xc8]
mov dword [esi + 0xc8], ecx
mov edx, dword [edi + 0xd4]
mov dword [esi + 0xd4], edx
mov eax, dword [edi + 0xd8]
mov dword [esi + 0xd8], eax
mov ecx, dword [edi + 0xdc]
mov dword [esi + 0xdc], ecx
mov edx, dword [edi + 0xe0]
mov dword [esi + 0xe0], edx
mov eax, dword [edi + 0xe4]
mov dword [esi + 0xe4], eax
mov ecx, dword [edi + 0xe8]
mov dword [esi + 0xe8], ecx
mov edx, dword [edi + 0xec]
mov dword [esi + 0xec], edx
mov eax, dword [edi + 0xf0]
mov dword [esi + 0xf0], eax
mov ecx, dword [edi + 0xf4]
mov dword [esi + 0xf4], ecx
mov edx, dword [edi + 0xf8]
mov dword [esi + 0xf8], edx
mov eax, dword [edi + 0x114]
mov dword [esi + 0x114], eax
mov ecx, dword [edi + 0x100]
mov dword [esi + 0x100], ecx
mov edx, dword [edi + 0x118]
mov dword [esi + 0x118], edx
mov eax, dword [edi + 0x11c]
mov dword [esi + 0x11c], eax
mov ecx, dword [edi + 0x13c]
mov dword [esi + 0x13c], ecx
mov edx, dword [edi + 0x140]
mov dword [esi + 0x140], edx
mov eax, dword [edi + 0x144]
mov dword [esi + 0x144], eax
mov ecx, dword [edi + 0x120]
mov dword [esi + 0x120], ecx
mov edx, dword [edi + 0x124]
mov dword [esi + 0x124], edx
lea eax, [edi + 0x128]
push eax
lea ecx, [esi + 0x128]
call fcn.00401fb0
mov ecx, dword [edi + 0x12c]
mov dword [esi + 0x12c], ecx
mov edx, dword [edi + 0x130]
mov dword [esi + 0x130], edx
mov eax, dword [edi + 0x134]
mov dword [esi + 0x134], eax
mov ecx, dword [edi + 0x138]
mov dword [esi + 0x138], ecx
mov edx, dword [edi + 0x154]
mov dword [esi + 0x154], edx
mov eax, dword [edi + 0x160]
mov dword [esi + 0x160], eax
mov ecx, dword [edi + 0x164]
mov dword [esi + 0x164], ecx
mov edx, dword [edi + 0x168]
mov dword [esi + 0x168], edx
mov eax, dword [edi + 0x16c]
mov dword [esi + 0x16c], eax
mov ecx, dword [edi + 0x170]
mov dword [esi + 0x170], ecx
mov edx, dword [edi + 0x174]
mov dword [esi + 0x174], edx
mov eax, dword [edi + 0x178]
mov dword [esi + 0x178], eax
mov ecx, dword [edi + 0x17c]
mov dword [esi + 0x17c], ecx
mov edx, dword [edi + 0x180]
mov dword [esi + 0x180], edx
mov eax, dword [edi + 0x184]
mov dword [esi + 0x184], eax
mov ecx, dword [edi + 0x158]
mov dword [esi + 0x158], ecx
mov edx, dword [edi + 0x110]
mov ebx, dword [esi + 0x110]
lea eax, [edx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x402b58
cmp dword [ebx + 0xc], 0
jl 0x402b48
mov ecx, dword [eax]
cmp ecx, dword [ebx]
jne 0x402b48
push eax
call fcn.00401f40
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 0x402b3a
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 [esi + 0x110], eax
jmp 0x402b58
mov ecx, dword [edx - 0xc]
push ecx
push edx
lea ecx, [esi + 0x110]
call fcn.00401ea0
mov edx, dword [edi + 0x15c]
mov dword [esi + 0x15c], edx
mov eax, dword [edi + 0x104]
mov dword [esi + 0x104], eax
mov ecx, dword [edi + 0x10c]
mov dword [esi + 0x10c], ecx
mov edx, dword [edi + 0x108]
mov dword [esi + 0x108], edx
mov eax, dword [edi + 0x188]
mov dword [esi + 0x188], eax
mov edx, dword [edi + 0x18c]
mov ebx, dword [esi + 0x18c]
lea eax, [edx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x402bf9
cmp dword [ebx + 0xc], 0
jl 0x402be9
mov ecx, dword [eax]
cmp ecx, dword [ebx]
jne 0x402be9
push eax
call fcn.00401f40
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 0x402bdb
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 [esi + 0x18c], eax
jmp 0x402bf9
mov ecx, dword [edx - 0xc]
push ecx
push edx
lea ecx, [esi + 0x18c]
call fcn.00401ea0
mov edx, dword [edi + 0x190]
mov dword [esi + 0x190], edx
mov eax, dword [edi + 0x194]
mov dword [esi + 0x194], eax
mov ecx, dword [edi + 0x198]
mov dword [esi + 0x198], ecx
mov edx, dword [edi + 0x19c]
mov dword [esi + 0x19c], edx
mov eax, dword [edi + 0x1a0]
mov dword [esi + 0x1a0], eax
mov ecx, dword [edi + 0x1a4]
mov dword [esi + 0x1a4], ecx
mov edx, dword [edi + 0x1a8]
mov dword [esi + 0x1a8], edx
mov eax, dword [edi + 0x1ac]
mov dword [esi + 0x1ac], eax
mov ecx, dword [edi + 0x1b0]
mov dword [esi + 0x1b0], ecx
mov edx, dword [edi + 0x1b4]
mov dword [esi + 0x1b4], edx
mov eax, dword [edi + 0x1b8]
mov dword [esi + 0x1b8], eax
mov ecx, dword [edi + 0x1bc]
mov dword [esi + 0x1bc], ecx
mov edx, dword [edi + 0x1c0]
mov dword [esi + 0x1c0], edx
mov eax, dword [edi + 0x1c4]
mov dword [esi + 0x1c4], eax
mov ecx, dword [edi + 0x1c8]
mov dword [esi + 0x1c8], ecx
mov edx, dword [edi + 0x1cc]
mov dword [esi + 0x1cc], edx
mov eax, dword [edi + 0x1d0]
mov dword [esi + 0x1d0], eax
mov ecx, dword [edi + 0x1d4]
mov dword [esi + 0x1d4], ecx
mov edx, dword [edi + 0x1d8]
push esi
mov dword [esi + 0x1d8], edx
mov esi, dword [ebp + 8]
push esi
call fcn.00402d00
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4