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

Disassembly:
push 0xffffffffffffffff
push 0x4bea70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push esi
lea eax, [esp + 0x38]
push 0x4e9598
push eax
mov dword [esp + 0x1c], esi
call fcn.00402050
add esp, 0xc
mov ebp, dword [esp + 0x7c]
mov edx, dword [ebp]
xor ebx, ebx
push eax
mov ecx, ebp
mov dword [esp + 0x78], ebx
call dword [edx + 0x24]
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x74], 0xffffffff
jb 0x40a994
mov eax, dword [esp + 0x38]
push eax
call fcn.00442830
add esp, 4
mov edi, 0xf
mov eax, 0x4e9568
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40a9b0
sub eax, edx
push eax
push 0x4e9568
lea ecx, [esp + 0x3c]
call fcn.00401ab0
mov eax, 0x4e9570
mov dword [esp + 0x30], edi
mov dword [esp + 0x74], 1
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40a9e4
sub eax, edi
push eax
push 0x4e9570
lea ecx, [esp + 0x20]
call fcn.00401ab0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
lea ecx, [esi + 0x1c]
mov byte [esp + 0x80], 2
call fcn.0045f080
mov eax, dword [esp + 0x30]
mov edi, 0x10
cmp eax, edi
jb 0x40aa31
mov eax, dword [esp + 0x1c]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x74], 0xffffffff
jb 0x40aa5c
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00442830
add esp, 4
mov dword [esp + 0x7c], ebx
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x40ab9b
mov eax, dword [esi + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x7c]
sar eax, 2
cmp ecx, eax
jae 0x40ab9b
call fcn.00409730
mov edi, eax
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00442890
mov eax, dword [esi + 0x28]
mov edx, dword [esp + 0x7c]
mov esi, dword [eax + edx*4]
mov dword [esp + 0x74], 3
call fcn.00409730
add eax, 0x4c
mov eax, dword [eax + 4]
lea edx, [esp + 0x34]
lea ecx, [esi + esi*8]
lea ecx, [eax + ecx*4]
push edx
call fcn.00444210
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
mov esi, 0xf
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00401a00
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x54]
push 0x4e958c
push edx
mov byte [esp + 0x80], 5
call fcn.00402050
add esp, 0xc
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov byte [esp + 0x78], 6
call dword [edx + 0x24]
cmp dword [esp + 0x68], 0x10
jb 0x40ab29
mov eax, dword [esp + 0x54]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x40ab49
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x40ab69
mov edx, dword [esp + 0x38]
push edx
call fcn.00442830
add esp, 4
mov ecx, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x74], 0xffffffff
call fcn.004428a0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x10]
inc eax
mov dword [esp + 0x7c], eax
mov edi, 0x10
jmp 0x40aa60
xor eax, eax
mov al, byte [esi + 0x34]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0044c9c0
push eax
lea edx, [esp + 0x40]
push 0x4e9580
push edx
mov dword [esp + 0x88], 7
call fcn.00402050
add esp, 0x14
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov byte [esp + 0x78], 8
call dword [edx + 0x24]
cmp dword [esp + 0x4c], edi
jb 0x40abea
mov eax, dword [esp + 0x38]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x30], edi
mov esi, 0xf
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x74], 0xffffffff
jb 0x40ac16
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00442830
add esp, 4
mov eax, 0x4f2fc0
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40ac30
sub eax, edx
push eax
push 0x4f2fc0
lea ecx, [esp + 0x58]
call fcn.00401ab0
mov edx, dword [ebp]
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
mov dword [esp + 0x78], 9
call dword [edx + 0x24]
cmp dword [esp + 0x68], edi
pop edi
pop esi
pop ebp
pop ebx
jb 0x40ac74
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4