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

Disassembly:
or al, 0x8b
jo 0x40e820
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x40e80d
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0040c649
inc edx
mov bh, 0x4a
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
push esp
pop es
js 0x40e827
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.0040c649
pop ecx
adc al, 0x3b
aaa
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x40e836
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x40e836
call fcn.0040c649
cmp eax, 0x8bb48304
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.0040c649
fdiv dword [edx + 0x75fff738]
or bh, bh
jne 0x40e87f
push dword [ebp]
call fcn.0040ce49
add byte [eax], al
add dh, al
xchg dword [eax + 0xc], edx
mov dword [edi + 0xc98], 0
mov byte [edi + 0xc97], 1
cmp dword [edi + 0xc98], 0
push ebx
push ebp
jle 0x40e900
invalid
lea esp, [esp]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x40e908
dec dword [edi + 0xc98]
mov esi, dword [edi + 0x14]
mov edx, dword [edi + 0xc9c]
lea ecx, [edi + 0x10]
mov eax, esi
sub eax, edx
dec eax
cmp edx, esi
jb 0x40e8d6
add eax, dword [ecx + 0x10]
mov edx, esi
mov esi, dword [ecx]
mov al, byte [eax + esi]
mov ebx, esi
mov byte [edx + ebx], al
inc edx
mov dword [ecx + 4], edx
cmp edx, dword [ecx + 8]
jne 0x40e8f0
call fcn.0041604e
dec ebp
cmp dword [edi + 0xc98], 0
mov dword [esp + 0x1c], ebp
jg 0x40e8b0
jmp 0x40e904
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x40e913
cmp byte [esp + 0x20], 0
je 0x40ec16
mov eax, dword [edi + 0x74]
lea esi, [edi + 0x48]
cmp eax, 4
ja 0x40ec3d
mov edx, 0x20
sub edx, dword [esi]
lea ecx, [eax*8]
cmp edx, ecx
jb 0x40ec3d
cmp byte [edi + 0xc97], 0
je 0x40e985
cmp byte [edi + 0xc90], 0
jne 0x40ec0c
mov ecx, edi
call fcn.0040e590
test al, al
je 0x40ec3d
mov eax, dword [esi + 0x2c]
cmp eax, 4
ja 0x40ec3d
add eax, eax
add eax, eax
mov ecx, 0x20
sub ecx, dword [esi]
add eax, eax
cmp ecx, eax
jb 0x40ec3d
mov byte [edi + 0xc97], 0
cmp byte [edi + 0xc91], 0
je 0x40ea8e
cmp byte [esp + 0x20], 0
je 0x40e9a9
test ebp, ebp
jne 0x40e9a9
cmp dword [edi + 0xc88], ebp
jne 0x40ec3d
cmp dword [edi + 0xc88], 0
jbe 0x40ea80
test ebp, ebp
je 0x40ea19
cmp dword [esi], 0x20
je 0x40ea19
mov eax, dword [esi]
cmp eax, 0x20
jne 0x40e9e3
mov edx, dword [esi + 8]
cmp edx, dword [esi + 0xc]
lea ecx, [esi + 8]
jb 0x40e9da
call fcn.00415e72
mov dl, al
jmp 0x40e9ef
mov al, byte [edx]
inc edx
mov dword [ecx], edx
mov dl, al
jmp 0x40e9ef
mov dl, byte [esi + 0x30]
add eax, 8
shr dword [esi + 0x30], 8
mov dword [esi], eax
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
lea ecx, [edi + 0x10]
mov byte [eax + ebx], dl
inc eax
mov dword [ecx + 4], eax
cmp eax, dword [ecx + 8]
jne 0x40ea09
call fcn.0041604e
dec dword [edi + 0xc88]
dec ebp
cmp dword [edi + 0xc88], 0
ja 0x40e9b6
cmp dword [edi + 0xc88], 0
mov dword [esp + 0x1c], ebp
jbe 0x40ea80
or esi, 0xffffffff
lea esp, [esp]
test ebp, ebp
je 0x40ea75
mov edx, dword [edi + 0x50]
cmp edx, dword [edi + 0x54]
lea ecx, [edi + 0x50]
jb 0x40ea46
call fcn.00415e72
jmp 0x40ea4b
mov al, byte [edx]
inc edx
mov dword [ecx], edx
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
lea ecx, [edi + 0x10]
mov byte [edx + ebx], al
inc edx
mov dword [ecx + 4], edx
cmp edx, dword [ecx + 8]
jne 0x40ea65
call fcn.0041604e
add dword [edi + 0xc88], esi
dec ebp
cmp dword [edi + 0xc88], 0
ja 0x40ea30
cmp dword [edi + 0xc88], 0
mov dword [esp + 0x1c], ebp
sete dl
mov byte [edi + 0xc97], dl
jmp 0x40e904
test ebp, ebp
je 0x40ebda
cmp dword [edi + 0x74], 4
ja 0x40ec3d
push esi
lea ecx, [edi + 0x80]
call fcn.0040e1f0
cmp eax, 0x100
jae 0x40ead7
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
lea ecx, [edi + 0x10]
mov byte [edx + ebx], al
inc edx
mov dword [ecx + 4], edx
cmp edx, dword [ecx + 8]
jne 0x40eacd
call fcn.0041604e
dec ebp
mov dword [esp + 0x1c], ebp
jmp 0x40ebaf
je 0x40ebbd
cmp eax, 0x11e
jae 0x40ec3d
cmp byte [edi + 0xc93], 0
je 0x40eb01
movzx ebx, byte [eax + 0x41f337]
movzx ebp, byte [eax + 0x41f377]
jmp 0x40eb0f
movzx ebx, byte [eax + 0x41f317]
movzx ebp, byte [eax + 0x41f357]
mov ecx, esi
call 0x40e0d0
mov edx, dword [esi + 0x30]
add dword [esi], ebp
mov ecx, ebp
mov eax, 1
shl eax, cl
dec eax
and eax, edx
shr edx, cl
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + eax + 3]
mov dword [esp + 0x14], eax
mov dword [esi + 0x30], edx
mov dword [esp + 0x10], eax
cmp eax, ecx
jbe 0x40eb44
mov dword [esp + 0x10], ecx
push esi
lea ecx, [edi + 0x744]
call fcn.0040e1f0
mov ebx, eax
cmp ebx, dword [edi + 0xc8c]
jae 0x40ec3d
movzx ebp, byte [ebx + 0x41f518]
mov ecx, esi
call 0x40e0d0
mov edx, dword [esi + 0x30]
add dword [esi], ebp
mov ecx, ebp
mov eax, 1
shl eax, cl
dec eax
and eax, edx
shr edx, cl
lea ecx, [edi + 0x10]
mov dword [esi + 0x30], edx
mov ebp, dword [ebx*4 + 0x41f498]
add ebp, eax
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.0040dac0
test al, al
je 0x40ec3d
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
sub dword [esp + 0x14], eax
jne 0x40ebc6
mov ebp, dword [esp + 0x1c]
test ebp, ebp
ja 0x40ea96
jmp 0x40ebda
mov byte [edi + 0xc97], 1
jmp 0x40ebda
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xc9c], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0xc98], ecx
cmp byte [esp + 0x20], 0
je 0x40e904
test ebp, ebp
jne 0x40e913
push esi
lea ecx, [edi + 0x80]
call fcn.0040e1f0
cmp eax, 0x100
jne 0x40ec3d
mov byte [edi + 0xc97], 1
jmp 0x40e904
mov dword [edi + 0xc98], 0xffffffff
mov eax, dword [edi + 0x74]
cmp eax, 4
ja 0x40ec3d
lea edx, [eax*8]
mov eax, 0x20
sub eax, dword [edi + 0x48]
cmp eax, edx
jb 0x40ec3d
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 8
ret 8
pop ebp
mov eax, 1
pop ebx
pop esi
pop edi
add esp, 8
ret 8