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

Disassembly:
push 0xffffffffffffffff
push 0x427fc6
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x42f0f4]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42f0f4]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2ac]
mov ebp, dword [esp + 0x2b4]
mov esi, dword [esp + 0x2b8]
mov ecx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x2c0]
xor ebx, ebx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x2c8]
cmp byte [0x4301b0], bl
je 0x40e6a8
push edi
mov edi, dword [esp + 0x18]
push edi
push edx
push ecx
mov ecx, dword [esp + 0x2c0]
push esi
push ebp
push ecx
push eax
call dword [0x42900c]
jmp 0x40e868
mov esi, 0x104
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea esi, [esp + 0x18]
push esi
lea esi, [esp + 0x198]
push esi
push edx
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c4]
lea ecx, [esp + 0xa4]
push ecx
push edx
push eax
call dword [0x42901c]
cmp eax, ebx
jne 0x40e868
mov esi, 0xf
lea eax, [esp + 0x90]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e703
sub eax, edx
push eax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x44]
call fcn.00403d50
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x2ac], ebx
call fcn.0040b930
mov edi, 8
add esp, 8
cmp dword [eax + 0x18], edi
jb 0x40e746
mov ecx, dword [eax + 4]
jmp 0x40e749
lea ecx, [eax + 4]
mov edx, ebp
jmp 0x40e750
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x40e750
cmp dword [esp + 0x8c], edi
jb 0x40e777
mov eax, dword [esp + 0x78]
push eax
call fcn.0041a65d
add esp, 4
xor ecx, ecx
mov ebp, 0x10
mov edi, 7
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x54], ebp
jb 0x40e7b4
mov edx, dword [esp + 0x40]
push edx
call fcn.0041a65d
add esp, 4
lea eax, [esp + 0x194]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e7d0
sub eax, edx
push eax
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0x28]
call fcn.00403d50
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x2ac], 1
call fcn.0040b930
mov esi, 8
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x40e817
mov ecx, dword [eax + 4]
jmp 0x40e81a
lea ecx, [eax + 4]
mov edx, dword [esp + 0x14]
mov edi, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x40e820
cmp dword [esp + 0x70], esi
jb 0x40e844
mov eax, dword [esp + 0x5c]
push eax
call fcn.0041a65d
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
cmp dword [esp + 0x38], ebp
jb 0x40e866
mov edx, dword [esp + 0x24]
push edx
call fcn.0041a65d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0041ac87
add esp, 0x294
ret