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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1c0
mov esi, esp
mov dword [esi], ebp
mov eax, dword [ebp + 8]
mov eax, esp
mov dword [esi + 0x1ac], eax
mov dword [esi + 0x1b8], 0xffffffff
lea eax, [esi + 0x1b0]
mov dword [esi + 0x1b4], 0x4159c0
mov edx, dword fs:[0]
mov dword [esi + 0x1b0], edx
mov dword fs:[0], eax
mov dword [esi + 0x1a8], ecx
mov ecx, dword [esi + 0x1a8]
mov dword [esi + 0x7c], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
sub esp, 4
mov eax, esp
mov dword [eax], ecx
lea ecx, [esi + 0x1a4]
call fcn.00416a60
lea ecx, [esi + 0x194]
call fcn.00419830
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1b8], 1
sub esp, 4
mov edx, esp
lea edi, [esi + 0x18c]
mov dword [edx], edi
call eax
jmp 0x40aea6
mov eax, dword [esi + 0x18c]
mov dword [esi + 0x190], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
sub esp, 4
mov edx, esp
lea edi, [esi + 0x188]
mov dword [edx], edi
call eax
jmp 0x40aece
lea eax, [esi + 0x188]
lea ecx, [esi + 0x190]
sub esp, 4
mov dword [esp], eax
call fcn.00416b30
test al, 1
jne 0x40aef2
jmp 0x40b559
lea ecx, [esi + 0x190]
call fcn.00417cc0
mov eax, dword [eax]
mov dword [esi + 0x184], eax
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 1
jne 0x40afaf
mov eax, dword [esi + 0x7c]
add eax, 0xc
mov dword [esi + 0x70], eax
mov eax, esp
mov dword [esi + 0x74], eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, dword [esi + 0x78]
mov edx, eax
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.00415e70
jmp 0x40af50
lea ecx, [esi + 0x1a0]
call fcn.0040bd80
mov byte [esi + 0x6f], al
jmp 0x40af63
mov edi, dword [esi + 0x70]
mov al, byte [esi + 0x6f]
mov ecx, dword [esi + 0x74]
mov esp, ecx
and al, 1
mov byte [esi + 0x183], al
mov ecx, dword [esi + 0x184]
call fcn.004163f0
mov ecx, dword [esi + 0x7c]
mov edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
lea edi, [esi + 0x183]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [eax + 0xc], 1
call fcn.00419870
jmp 0x40afaa
jmp 0x40b53f
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 2
jne 0x40b059
mov eax, dword [esi + 0x7c]
add eax, 0x2c
mov dword [esi + 0x60], eax
mov eax, esp
mov dword [esi + 0x64], eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x68], eax
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, dword [esi + 0x68]
mov edx, eax
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.00415e70
jmp 0x40affa
lea ecx, [esi + 0x1a0]
call fcn.0040bd80
mov byte [esi + 0x5f], al
jmp 0x40b00d
mov edi, dword [esi + 0x60]
mov al, byte [esi + 0x5f]
mov ecx, dword [esi + 0x64]
mov esp, ecx
and al, 1
mov byte [esi + 0x182], al
mov ecx, dword [esi + 0x184]
call fcn.004163f0
mov ecx, dword [esi + 0x7c]
mov edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
lea edi, [esi + 0x182]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [eax + 0xc], 1
call fcn.00419870
jmp 0x40b054
jmp 0x40b53a
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 4
jne 0x40b103
mov eax, dword [esi + 0x7c]
add eax, 0x6c
mov dword [esi + 0x50], eax
mov eax, esp
mov dword [esi + 0x54], eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x58], eax
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, dword [esi + 0x58]
mov edx, eax
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.00415e70
jmp 0x40b0a4
lea ecx, [esi + 0x1a0]
call fcn.0040bd80
mov byte [esi + 0x4f], al
jmp 0x40b0b7
mov edi, dword [esi + 0x50]
mov al, byte [esi + 0x4f]
mov ecx, dword [esi + 0x54]
mov esp, ecx
and al, 1
mov byte [esi + 0x181], al
mov ecx, dword [esi + 0x184]
call fcn.004163f0
mov ecx, dword [esi + 0x7c]
mov edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
lea edi, [esi + 0x181]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [eax + 0xc], 1
call fcn.00419870
jmp 0x40b0fe
jmp 0x40b535
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 0x10
jne 0x40b11c
jmp 0x40b530
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 8
jne 0x40b242
mov eax, dword [esi + 0x7c]
add eax, 0x8c
mov dword [esi + 0x48], eax
lea edi, [esi + 0xe0]
mov ecx, edi
call fcn.00419d30
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, eax
sub esp, 4
mov eax, esp
lea edx, [esi + 0xdc]
mov dword [eax], edx
call fcn.00417c60
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, eax
sub esp, 4
mov eax, esp
lea edx, [esi + 0xd8]
mov dword [eax], edx
call fcn.00417c00
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0xdc]
sub esp, 0xc
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
lea ecx, [esi + 0xe4]
call fcn.00419d40
jmp 0x40b1af
mov ecx, dword [esi + 0x184]
call fcn.004163f0
mov ecx, eax
mov dword [esi + 0x1b8], 3
sub esp, 8
mov eax, esp
lea edx, [esi + 0xe4]
mov dword [eax + 4], edx
mov dword [eax], ecx
lea ecx, [esi + 0xfc]
call fcn.004093b0
jmp 0x40b1e6
mov edi, dword [esi + 0x48]
mov ecx, dword [esi + 0x184]
call fcn.004163f0
mov ecx, dword [esi + 0x7c]
mov edx, eax
mov dword [esi + 0x1b8], 4
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
lea edi, [esi + 0xfc]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [eax + 0xc], 1
call fcn.00419a40
jmp 0x40b227
lea ecx, [esi + 0xfc]
call fcn.00419e70
lea ecx, [esi + 0xe4]
call fcn.004164b0
jmp 0x40b52b
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 0x20
jne 0x40b2ec
mov eax, dword [esi + 0x7c]
add eax, 0xac
mov dword [esi + 0x3c], eax
mov eax, esp
mov dword [esi + 0x40], eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, dword [esi + 0x44]
mov edx, eax
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.00415e70
jmp 0x40b28f
mov ecx, dword [esi + 0x7c]
call fcn.0040be80
mov dword [esi + 0x38], eax
jmp 0x40b29f
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
mov esp, eax
sub esp, 4
mov eax, esp
mov dword [eax], ecx
lea ecx, [esi + 0xd0]
mov dword [esi + 0x34], ecx
call fcn.0041a0a0
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x7c]
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax + 0xc], 1
mov dword [eax], 1
call fcn.00419ed0
jmp 0x40b2e7
jmp 0x40b526
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 0x40
jne 0x40b38f
mov eax, dword [esi + 0x7c]
add eax, 0xcc
mov dword [esi + 0x28], eax
mov eax, esp
mov dword [esi + 0x2c], eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, dword [esi + 0x30]
mov edx, eax
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.00415e70
jmp 0x40b339
lea ecx, [esi + 0x1a0]
call fcn.0040bd80
mov byte [esi + 0x27], al
jmp 0x40b34c
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x28]
mov al, byte [esi + 0x27]
mov edi, dword [esi + 0x2c]
mov esp, edi
and al, 1
mov byte [esi + 0xcf], al
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edx
lea edx, [esi + 0xcf]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 1
mov dword [eax], 1
call fcn.00419870
jmp 0x40b38a
jmp 0x40b521
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 0x80
jne 0x40b46e
mov eax, esp
mov dword [esi + 0x1c], eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, dword [esi + 0x20]
mov edx, eax
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.00415e70
jmp 0x40b3d3
mov ecx, dword [esi + 0x7c]
call fcn.0040be80
mov dword [esi + 0x18], eax
jmp 0x40b3e3
mov edi, dword [esi + 0x7c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov esp, ecx
mov dword [esi + 0xc8], eax
add edi, 0x10c
mov eax, dword [esi + 0xc8]
mov dword [esi + 0xc4], eax
mov ecx, dword [esi + 0x184]
call fcn.004163f0
mov ecx, dword [esi + 0x7c]
mov edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
lea edi, [esi + 0xc4]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [eax + 0xc], 1
call fcn.0041a0d0
jmp 0x40b43a
cmp dword [esi + 0xc8], 0
je 0x40b469
sub esp, 4
mov eax, esp
lea ecx, [esi + 0x184]
mov dword [eax], ecx
lea ecx, [esi + 0x194]
call fcn.0041a290
jmp 0x40b464
jmp 0x40b469
jmp 0x40b51c
mov ecx, dword [esi + 0x184]
call fcn.00416410
cmp eax, 0x100
jne 0x40b517
mov eax, dword [esi + 0x7c]
add eax, 0x12c
mov dword [esi + 0xc], eax
mov eax, esp
mov dword [esi + 0x10], eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x184]
call fcn.00416ce0
mov ecx, dword [esi + 0x14]
mov edx, eax
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.00415e70
jmp 0x40b4bd
mov ecx, dword [esi + 0x7c]
call fcn.0040be80
mov dword [esi + 8], eax
jmp 0x40b4cd
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov esp, ecx
mov dword [esi + 0xc0], eax
mov ecx, dword [esi + 0x184]
call fcn.004163f0
mov ecx, dword [esi + 0x7c]
mov edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
lea edi, [esi + 0xc0]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [eax + 0xc], 1
call fcn.0041a0d0
jmp 0x40b512
jmp 0x40b517
jmp 0x40b51c
jmp 0x40b521
jmp 0x40b526
jmp 0x40b52b
jmp 0x40b530
jmp 0x40b535
jmp 0x40b53a
jmp 0x40b53f
lea ecx, [esi + 0x190]
call fcn.0041a2c0
mov dword [esi + 0x1b8], 1
jmp 0x40aeb2
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
sub esp, 4
mov edx, esp
lea edi, [esi + 0xb8]
mov dword [edx], edi
call eax
jmp 0x40b575
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xbc], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
sub esp, 4
mov edx, esp
lea edi, [esi + 0xb4]
mov dword [edx], edi
call eax
jmp 0x40b59d
lea eax, [esi + 0xb4]
lea ecx, [esi + 0xbc]
sub esp, 4
mov dword [esp], eax
call fcn.00416b30
test al, 1
jne 0x40b5c1
jmp 0x40b62e
lea ecx, [esi + 0xbc]
call fcn.00417cc0
mov eax, dword [eax]
mov dword [esi + 0xb0], eax
mov ecx, dword [esi + 0xb0]
call fcn.00416410
cmp eax, 0x10
jne 0x40b61e
mov ecx, dword [esi + 0xb0]
call fcn.00416ce0
mov edi, eax
mov ecx, dword [esi + 0xb0]
call fcn.004163f0
mov ecx, dword [esi + 0x7c]
mov edx, eax
sub esp, 8
mov eax, esp
mov dword [eax + 4], edi
mov dword [eax], edx
call fcn.0040c1f0
jmp 0x40b619
jmp 0x40b61e
lea ecx, [esi + 0xbc]
call fcn.0041a2c0
jmp 0x40b581
lea ecx, [esi + 0x194]
lea eax, [esi + 0xac]
sub esp, 4
mov dword [esp], eax
call fcn.00416a90
lea eax, [esi + 0xac]
mov dword [esi + 4], eax
lea ecx, [esi + 0x194]
lea eax, [esi + 0xa8]
sub esp, 4
mov dword [esp], eax
call fcn.00416ae0
mov ecx, dword [esi + 4]
lea eax, [esi + 0xa8]
sub esp, 4
mov dword [esp], eax
call fcn.00416b30
test al, 1
jne 0x40b686
jmp 0x40b701
mov dword [esi + 0x1b8], 1
sub esp, 4
mov eax, esp
mov dword [eax], 0x40c5c0
lea ecx, [esi + 0x80]
call fcn.0041a2e0
jmp 0x40b6ab
lea ecx, [esi + 0xac]
call fcn.00416b60
mov ecx, dword [eax]
call fcn.004163f0
mov ecx, dword [esi + 0x7c]
mov edx, eax
mov dword [esi + 0x1b8], 2
sub esp, 8
mov eax, esp
lea edi, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax], edx
call fcn.0040c400
jmp 0x40b6e6
lea ecx, [esi + 0x80]
call fcn.00416ba0
lea ecx, [esi + 0xac]
call fcn.00416b80
jmp 0x40b645
lea ecx, [esi + 0x194]
call fcn.0041a380
lea ecx, [esi + 0x1a4]
call fcn.00415f60
mov eax, dword [esi + 0x1b0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4