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

Disassembly:
push 0xffffffffffffffff
push 0x5e1373
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x17c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a4]
mov edi, edx
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x68]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x24], edi
call eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x40ea18
xor al, al
jmp 0x40f149
mov esi, 7
mov dword [esp + 0x170], esi
mov dword [esp + 0x16c], ebp
mov word [esp + 0x15c], bp
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x19c], ebp
mov ecx, dword [edi + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x158]
push eax
push ebx
call edx
test al, al
jne 0x40ea86
mov dword [esp + 0x19c], 0xffffffff
cmp dword [esp + 0x170], 8
jb 0x40ea7a
mov eax, dword [esp + 0x15c]
push eax
call fcn.0059b877
add esp, 4
mov dword [esp + 0x170], esi
jmp 0x40f121
mov ecx, dword [edi + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push ebx
call eax
mov ecx, dword [edi + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
mov esi, eax
push ebx
lea eax, [esp + 0x178]
push eax
call edx
mov byte [esp + 0x19c], 1
movsx eax, byte [esi]
add eax, 0xffffffbd
cmp eax, 0x10
ja case.0x40eac4.70
movzx eax, byte [eax + 0x40f198]
jmp dword [eax*4 + 0x40f174]
mov edx, 0x60af9c
lea eax, [esp + 0x78]
call fcn.004024d0
mov byte [esp + 0x19c], 2
mov eax, dword [esp + 0x7c]
mov esi, 8
cmp dword [esp + 0x90], esi
jae 0x40eaf7
lea eax, [esp + 0x7c]
mov edi, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x178]
call fcn.00402d90
test eax, eax
sete bl
mov byte [esp + 0x19c], 1
cmp dword [esp + 0x90], esi
jb 0x40eb35
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0059b877
add esp, 4
test bl, bl
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
je 0x40eb7b
cmp dword [esp + 0x170], esi
mov eax, dword [esp + 0x15c]
jae 0x40eb67
lea eax, [esp + 0x15c]
xor ebx, ebx
call fcn.0042b0a0
mov edx, dword [esp + 0x18]
mov dword [edx], eax
xor ebp, ebp
jmp case.0x40eac4.70
mov edx, 0x60af14
lea eax, [esp + 0x104]
call fcn.004024d0
lea eax, [esp + 0x104]
lea ecx, [esp + 0x174]
mov byte [esp + 0x19c], 3
call fcn.0042b320
test eax, eax
lea esi, [esp + 0x104]
sete bl
mov byte [esp + 0x19c], 1
call fcn.00405c10
test bl, bl
je case.0x40eac4.70
mov ecx, dword [esp + 0x18]
add ecx, 0x74
jmp 0x40f0a6
mov edx, 0x60af20
lea eax, [esp + 0xe8]
call fcn.004024d0
mov byte [esp + 0x19c], 4
mov eax, dword [esp + 0xec]
mov esi, 8
cmp dword [esp + 0x100], esi
jae 0x40ec09
lea eax, [esp + 0xec]
mov edi, dword [esp + 0xfc]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x178]
call fcn.00402d90
test eax, eax
sete bl
mov byte [esp + 0x19c], 1
cmp dword [esp + 0x100], esi
jb 0x40ec4a
mov eax, dword [esp + 0xec]
push eax
call fcn.0059b877
add esp, 4
test bl, bl
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebp
mov word [esp + 0xec], bp
je case.0x40eac4.70
mov ecx, dword [esp + 0x18]
add ecx, 4
jmp 0x40f0a6
mov edx, 0x605858
lea eax, [esp + 0x24]
call fcn.004024d0
mov byte [esp + 0x19c], 5
mov eax, dword [esp + 0x28]
mov esi, 8
cmp dword [esp + 0x3c], esi
jae 0x40eca1
lea eax, [esp + 0x28]
mov edi, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x178]
call fcn.00402d90
test eax, eax
sete bl
mov byte [esp + 0x19c], 1
cmp dword [esp + 0x3c], esi
jb 0x40ecd9
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0059b877
add esp, 4
test bl, bl
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
je case.0x40eac4.70
mov ecx, dword [esp + 0x18]
add ecx, 0x20
jmp 0x40f0a6
mov edx, 0x605854
lea eax, [esp + 0xb0]
call fcn.004024d0
mov byte [esp + 0x19c], 6
mov eax, dword [esp + 0xb4]
mov esi, 8
cmp dword [esp + 0xc8], esi
jae 0x40ed33
lea eax, [esp + 0xb4]
mov edi, dword [esp + 0xc4]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x178]
call fcn.00402d90
test eax, eax
sete bl
mov byte [esp + 0x19c], 1
cmp dword [esp + 0xc8], esi
jb 0x40ed74
mov edx, dword [esp + 0xb4]
push edx
call fcn.0059b877
add esp, 4
test bl, bl
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], ebp
mov word [esp + 0xb4], bp
je 0x40ed9e
mov ecx, dword [esp + 0x18]
add ecx, 0x3c
jmp 0x40f0a6
mov edx, 0x60af08
lea eax, [esp + 0x13c]
call fcn.004024d0
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x174]
mov byte [esp + 0x19c], 7
call fcn.0042b320
test eax, eax
lea esi, [esp + 0x13c]
sete bl
mov byte [esp + 0x19c], 1
call fcn.00405c10
test bl, bl
je case.0x40eac4.70
mov ecx, dword [esp + 0x18]
add ecx, 0xac
jmp 0x40f0a6
mov edx, 0x60af1c
lea eax, [esp + 0x40]
call fcn.004024d0
mov byte [esp + 0x19c], 8
mov eax, dword [esp + 0x44]
mov esi, 8
cmp dword [esp + 0x58], esi
jae 0x40ee23
lea eax, [esp + 0x44]
mov edi, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x178]
call fcn.00402d90
test eax, eax
sete bl
mov byte [esp + 0x19c], 1
cmp dword [esp + 0x58], esi
jb 0x40ee5b
mov eax, dword [esp + 0x44]
push eax
call fcn.0059b877
add esp, 4
test bl, bl
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
je case.0x40eac4.70
mov ecx, dword [esp + 0x18]
add ecx, 0x58
jmp 0x40f0a6
mov edx, 0x60af10
lea eax, [esp + 0x5c]
call fcn.004024d0
mov byte [esp + 0x19c], 9
mov eax, dword [esp + 0x60]
mov esi, 8
cmp dword [esp + 0x74], esi
jae 0x40eea9
lea eax, [esp + 0x60]
mov edi, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x178]
call fcn.00402d90
test eax, eax
sete bl
mov byte [esp + 0x19c], 1
cmp dword [esp + 0x74], esi
jb 0x40eee1
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0059b877
add esp, 4
test bl, bl
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], bp
je case.0x40eac4.70
mov ecx, dword [esp + 0x18]
add ecx, 0x90
jmp 0x40f0a6
mov edx, 0x60af04
lea eax, [esp + 0x94]
call fcn.004024d0
mov byte [esp + 0x19c], 0xa
mov eax, dword [esp + 0x98]
mov esi, 8
cmp dword [esp + 0xac], esi
jae 0x40ef3e
lea eax, [esp + 0x98]
mov edi, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x178]
call fcn.00402d90
test eax, eax
sete bl
mov byte [esp + 0x19c], 1
cmp dword [esp + 0xac], esi
jb 0x40ef7f
mov edx, dword [esp + 0x98]
push edx
call fcn.0059b877
add esp, 4
test bl, bl
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], bp
je 0x40efac
mov ecx, dword [esp + 0x18]
add ecx, 0xc8
jmp 0x40f0a6
mov edx, 0x60aefc
lea eax, [esp + 0x120]
call fcn.004024d0
lea eax, [esp + 0x120]
lea ecx, [esp + 0x174]
mov byte [esp + 0x19c], 0xb
call fcn.0042b320
test eax, eax
lea esi, [esp + 0x120]
sete bl
mov byte [esp + 0x19c], 1
call fcn.00405c10
test bl, bl
je case.0x40eac4.70
mov ecx, dword [esp + 0x18]
add ecx, 0xe4
jmp 0x40f0a6
mov edx, 0x60aef4
lea eax, [esp + 0xcc]
call fcn.004024d0
mov byte [esp + 0x19c], 0xc
mov eax, dword [esp + 0xd0]
mov esi, 8
cmp dword [esp + 0xe4], esi
jae 0x40f03d
lea eax, [esp + 0xd0]
mov edi, dword [esp + 0xe0]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x178]
call fcn.00402d90
test eax, eax
sete bl
mov byte [esp + 0x19c], 1
cmp dword [esp + 0xe4], esi
jb 0x40f07e
mov eax, dword [esp + 0xd0]
push eax
call fcn.0059b877
add esp, 4
test bl, bl
mov dword [esp + 0xe4], 7
mov dword [esp + 0xe0], ebp
mov word [esp + 0xd0], bp
je case.0x40eac4.70
mov ecx, dword [esp + 0x18]
add ecx, 0x100
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x160]
call fcn.00402580
mov esi, 8
cmp dword [esp + 0x18c], esi
jb 0x40f0d3
mov ecx, dword [esp + 0x178]
push ecx
call fcn.0059b877
add esp, 4
mov edi, 7
mov dword [esp + 0x19c], 0xffffffff
cmp dword [esp + 0x170], esi
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebp
mov word [esp + 0x178], bp
jb 0x40f112
mov edx, dword [esp + 0x15c]
push edx
call fcn.0059b877
add esp, 4
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x170], edi
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push ebx
mov word [esp + 0x160], bp
mov dword [esp + 0x170], ebp
call edx
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x40ea18
mov al, 1
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.005b88a9
add esp, 0x18c
ret 4