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

Disassembly:
push 0xffffffffffffffff
push 0x428042
mov eax, dword fs:[0]
push eax
mov eax, 0x202c4
call fcn.0041b6e0
mov eax, dword [0x42f0f4]
xor eax, esp
mov dword [esp + 0x202c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42f0f4]
xor eax, esp
push eax
lea eax, [esp + 0x202d8]
mov dword fs:[0], eax
push 0xa
xor ebx, ebx
xor eax, eax
mov ebp, 7
push 0x429a0c
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
call fcn.0040a270
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x30]
push 0x4298f0
push edx
mov dword [esp + 0x202ec], ebx
call fcn.0040b4e0
add esp, 0xc
mov edi, 8
mov byte [esp + 0x202e0], 1
cmp dword [eax + 0x18], edi
jb 0x40ea3e
mov eax, dword [eax + 4]
jmp 0x40ea41
add eax, 4
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x80000001
call fcn.0040e500
add esp, 0xc
mov esi, eax
cmp dword [esp + 0x44], edi
jb 0x40ea69
mov edx, dword [esp + 0x30]
push edx
call fcn.0041a65d
add esp, 4
xor eax, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov dword [esp + 0x202e0], 0xffffffff
cmp dword [esp + 0x60], edi
jb 0x40ea96
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0041a65d
add esp, 4
cmp esi, ebx
jne 0x40ee65
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2e8]
push eax
push ebx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0xffff
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], 0x200
call fcn.0040e610
add esp, 0x20
test eax, eax
jne 0x40ee5a
lea ebp, [eax + 0x10]
mov eax, 1
cmp dword [esp + 0x24], eax
je 0x40eb13
add dword [esp + 0x14], eax
mov dword [esp + 0x20], 0xffff
mov dword [esp + 0x1c], 0x200
jmp 0x40ee20
xor edx, edx
mov esi, 7
lea eax, [esp + 0x2d4]
mov word [esp + 0x68], dx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40eb31
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x6c]
call fcn.0040a270
xor ecx, ecx
lea eax, [esp + 0xd4]
mov dword [esp + 0x202e0], 2
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], cx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40eb80
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0xc0]
call fcn.0040a270
mov eax, dword [esp + 0x68]
mov byte [esp + 0x202e0], 3
cmp dword [esp + 0x7c], edi
jae 0x40ebba
lea eax, [esp + 0x68]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call fcn.0040bcd0
add esp, 0x1c
cmp eax, 0xffffffff
je 0x40edae
push eax
call dword [0x4290a8]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], edi
jae 0x40ebf1
lea eax, [esp + 0x68]
push eax
call fcn.0040e890
mov eax, dword [esp + 0x7c]
add esp, 4
add eax, 0xfffffffd
push eax
push ebx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x70]
call fcn.0040b4a0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x202ec], 4
call fcn.00403e30
mov byte [esp + 0x202e0], 3
cmp dword [esp + 0x44], edi
jb 0x40ec41
mov edx, dword [esp + 0x30]
push edx
call fcn.0041a65d
add esp, 4
push 3
push 0x429a04
lea ecx, [esp + 0x6c]
call fcn.00404040
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], edi
jae 0x40ec5f
lea eax, [esp + 0x68]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call fcn.0040bcd0
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x40eda9
push 0x13
push 0x4299f0
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.00403d50
push 0x2b
push 0x4299c4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x202e8], 5
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00403d50
mov eax, dword [esp + 0x84]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x98], ebp
jae 0x40ecfe
lea eax, [esp + 0x84]
mov edx, dword [esp + 0x94]
push ebx
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push esi
call dword [0x4290c8]
mov eax, dword [esp + 0xa0]
cmp dword [esp + 0xb4], ebp
jae 0x40ed2b
lea eax, [esp + 0xa0]
mov edx, dword [esp + 0xb0]
push ebx
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push esi
call dword [0x4290c8]
push esi
call dword [0x4290a8]
cmp dword [esp + 0xb4], ebp
jb 0x40ed61
mov eax, dword [esp + 0xa0]
push eax
call fcn.0041a65d
add esp, 4
mov esi, 0xf
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x98], ebp
jb 0x40ed94
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0041a65d
add esp, 4
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov esi, 7
inc dword [esp + 0x14]
mov dword [esp + 0x20], 0xffff
mov dword [esp + 0x1c], 0x200
cmp dword [esp + 0xd0], edi
jb 0x40eddb
mov edx, dword [esp + 0xbc]
push edx
call fcn.0041a65d
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], ax
mov dword [esp + 0x202e0], 0xffffffff
cmp dword [esp + 0x7c], edi
jb 0x40ee11
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0041a65d
add esp, 4
xor edx, edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2e8]
push ecx
push edx
push eax
call fcn.0040e610
add esp, 0x20
test eax, eax
je 0x40eaef
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x429028]
mov ecx, dword [esp + 0x202d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x202c0]
xor ecx, esp
call fcn.0041ac87
add esp, 0x202d0
ret