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

Disassembly:
push 0xffffffffffffffff
push 0x441d96
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x451254]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
xor esi, esi
mov eax, 7
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
xor eax, eax
mov dword [esp + 0x104], esi
push 0x80
mov dword [esp + 0x70], eax
mov word [esp + 0x74], ax
lea eax, [esp + 0x78]
push esi
push eax
call fcn.0042fcc0
movzx ecx, byte [edi + 5]
movzx edx, byte [edi + 4]
movzx eax, byte [edi + 3]
add esp, 0xc
push ecx
movzx ecx, byte [edi + 2]
push edx
movzx edx, byte [edi + 1]
push eax
movzx eax, byte [edi]
push ecx
push edx
push eax
lea ecx, [esp + 0x8c]
push str._02x_02x_02x_02x_02x_02x
push ecx
lea edx, [esi + 0x40]
call fcn.0040df20
lea eax, [esp + 0x94]
add esp, 0x20
lea ecx, [eax + 2]
jmp 0x40e5a0
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x40e5a0
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x78]
push edx
lea esi, [esp + 0x58]
call fcn.00401aa0
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
movzx edx, byte [edi + 2]
mov byte [esp + 0x6c], al
movzx eax, byte [edi + 3]
mov byte [esp + 0x6d], cl
movzx ecx, byte [edi + 4]
mov byte [esp + 0x6e], dl
movzx edx, byte [edi + 5]
lea edi, [esp + 0x14]
mov byte [esp + 0x6f], al
mov byte [esp + 0x70], cl
mov byte [esp + 0x71], dl
mov dword [esp + 0x14], 0x7b
call fcn.0040b1a0
lea edi, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x14], 0x7d
call fcn.0040b1a0
cmp esi, eax
jae 0x40e668
cmp esi, 0xffffffff
je 0x40e668
cmp eax, 0xffffffff
je 0x40e668
sub eax, esi
add eax, 1
push eax
mov ecx, esi
push ebx
lea esi, [esp + 0x20]
call fcn.0040b170
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], 1
call fcn.004019b0
mov edi, 8
mov byte [esp + 0x104], 0
cmp dword [esp + 0x30], edi
jb 0x40e66d
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042e0ba
add esp, 4
jmp 0x40e66d
mov edi, 8
xor ebx, ebx
lea esi, [ebp + 0x10]
xor ebp, ebp
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e70f
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 6
cmp ebx, eax
jae 0x40e70f
test ecx, ecx
je 0x40e69f
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 6
cmp ebx, eax
jb 0x40e6a4
call fcn.0042e886
cmp dword [esp + 0x68], edi
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x54]
lea ecx, [ecx + ebp + 0x1c]
jae 0x40e6b9
lea eax, [esp + 0x54]
mov edi, dword [esp + 0x64]
push eax
mov eax, dword [ecx + 0x14]
call fcn.004089c0
test eax, eax
je 0x40e6d7
add ebx, 1
add ebp, 0x40
mov edi, 8
jmp 0x40e674
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x40e6ef
mov edx, dword [esp + 0x54]
push edx
call fcn.0042e0ba
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
jb 0x40e751
mov eax, dword [esp + 0x38]
push eax
jmp 0x40e749
lea ebx, [esp + 0x34]
call fcn.0040f750
cmp dword [esp + 0x68], edi
jb 0x40e72b
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0042e0ba
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
jb 0x40e751
mov edx, dword [esp + 0x38]
push edx
call fcn.0042e0ba
add esp, 4
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0042e4b4
add esp, 0xf4
ret 4