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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497a73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x7c], eax
jbe 0x40a2de
cmp byte [ebx + 0x60], 0
lea ecx, [eax*4]
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 8]
mov esi, dword [ecx + eax]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x20], esi
je 0x40a1a9
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
jmp 0x40a1b3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
mov edi, dword [esi + 0x74]
test edi, edi
je 0x40a1e6
nop word [eax + eax]
mov eax, dword [esi + 0x70]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x40a1e2
mov ecx, dword [ebx]
test ecx, ecx
je 0x40a1d7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push ebx
call fcn.0046cdaf
add esp, 8
test edi, edi
jne 0x40a1c0
mov ebx, dword [ebp - 0x18]
mov dword [esi + 0x74], 0
test ebx, ebx
je 0x40a23b
lea ecx, [esi + 0x70]
call fcn.0040a640
push 4
call fcn.0046cd7f
mov edx, eax
add esp, 4
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0
test edx, edx
je 0x40a21e
mov dword [edx], 0
jmp 0x40a220
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x74]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], edx
sub ebx, 1
jne 0x40a1f4
mov esi, dword [ebp - 0x20]
mov edi, dword [esi + 0x80]
test edi, edi
je 0x40a26e
mov eax, dword [esi + 0x7c]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x40a26a
mov ecx, dword [ebx]
test ecx, ecx
je 0x40a25f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push ebx
call fcn.0046cdaf
add esp, 8
test edi, edi
jne 0x40a248
mov ebx, dword [ebp - 0x14]
mov dword [esi + 0x80], 0
test ebx, ebx
je 0x40a2cb
nop
lea ecx, [esi + 0x7c]
call fcn.0040a640
push 4
call fcn.0046cd7f
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x40a2a8
mov dword [eax], 0
jmp 0x40a2aa
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 0x80]
lea ecx, [edx + 1]
mov dword [esi + 0x80], ecx
mov ecx, dword [esi + 0x7c]
mov dword [ecx + edx*4], eax
sub ebx, 1
jne 0x40a280
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebx + 0x7c]
jb 0x40a181
xor esi, esi
cmp dword [ebx + 0x18], esi
jbe 0x40a41e
nop dword [eax]
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + esi*8]
lea edx, [eax + esi*8]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebx + 0x30]
sub edi, dword [eax + ecx*4]
mov al, byte [ebx + 0x60]
test al, al
je 0x40a317
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov al, byte [ebx + 0x60]
jmp 0x40a31d
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 4]
test al, al
mov dword [ebp - 0x24], 0
mov edx, edi
cmovne edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
xor edx, edx
test al, al
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x78]
mov dword [ebp - 0x24], eax
cmovne edx, edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov eax, dword [ecx + eax]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edx*4]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp - 0x20]
push edx
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x6c]
push ecx
mov ecx, dword [eax + esi*4]
call fcn.0040ca80
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x40a394
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x4a1830
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x40a3b5
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x4a1830
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40a3ef
cmp dword [ebp - 0x14], 0
je 0x40a3ef
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x20]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push 0x80000
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40a400
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40a414
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x40a2f0
cmp byte [ebx + 0x60], 0
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x78]
mov edi, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
je 0x40a440
mov eax, dword [eax + 0x70]
mov esi, dword [edi]
mov eax, dword [eax]
mov dword [ebp + 8], eax
test esi, esi
je 0x40a45a
jmp 0x40a451
mov eax, dword [eax + 0x7c]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
test esi, esi
je 0x40a457
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x40a469
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], esi
mov dword [ebp - 0x20], ecx
cmp dword [ebx + 0x24], ecx
jbe 0x40a4e8
sub dword [ebp + 0xc], edi
nop dword [eax + eax]
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + edx*4]
lea ecx, [eax*4]
mov eax, dword [ebx + 0x78]
mov esi, dword [ecx + eax]
mov eax, dword [ebx + 0x30]
sub edx, dword [eax + ecx]
cmp byte [ebx + 0x60], 0
je 0x40a4b0
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x7c]
mov esi, dword [ecx + edi]
jmp 0x40a4b5
mov eax, dword [esi + 0x70]
mov esi, dword [edi]
mov eax, dword [eax + edx*4]
mov dword [ebp + 8], eax
test esi, esi
je 0x40a4c8
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x40a4d7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
add edi, 4
inc ecx
mov dword [eax], esi
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebx + 0x24]
jb 0x40a480
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8