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

Disassembly:
sub esp, 0x74
xor eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x50], al
mov byte [esp + 0x51], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], al
mov byte [esp + 0x81], al
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], al
mov byte [esp + 0x45], al
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x74], al
mov byte [esp + 0x75], al
mov dword [esp + 0x14], eax
cmp ebp, dword [0x4a68b8]
jg 0x40e784
test ebp, ebp
jle 0x40e784
mov ebx, ebp
shl ebx, 4
add ebx, dword [0x4a68ec]
test ebx, ebx
je 0x40e7e3
inc ebp
lea eax, [ebp - 1]
mov dword [0x4a5a2c], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx]
movzx esi, word [eax + 8]
xor ecx, ecx
mov dword [esp + 0x34], 0
cmp si, 0x7f
je 0x40e603
mov eax, edx
nop
mov edi, dword [eax + 4]
add eax, 4
inc ecx
cmp word [edi + 8], 0x7f
jne 0x40e5f0
test ecx, ecx
jbe 0x40e603
dec ecx
test si, si
jne case.0x42c476.25
mov esi, dword [edx]
mov eax, dword [esi]
cmp eax, 4
je 0x40e690
cmp eax, 0xd
je 0x40e761
cmp eax, 0xe
je 0x40e70c
cmp eax, 8
je 0x40e78b
sub eax, 5
cmp eax, 0x1c
ja case.0x42c476.25
movzx ecx, byte [eax + 0x40e9b4]
jmp dword [ecx*4 + 0x40e974]
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42c4bc
sub dword [esp + 0x30], 1
jne 0x42c570
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.0040fd80
test eax, eax
je case.0x42c476.25
jmp 0x42c4dc
mov edi, dword [esp + 0x34]
xor eax, eax
test ax, ax
je 0x40e6b3
mov esi, dword [edx + edi*4 + 4]
movzx eax, word [esi + 8]
inc edi
mov dword [esp + 0x34], edi
cmp ax, 0x7f
jne 0x40e696
jmp 0x42c5a6
cmp dword [esi], 5
jne 0x40e69b
mov ecx, dword [edx + ecx*4]
cmp word [ecx + 8], 0
jne 0x40e6e5
cmp dword [ecx], 5
jne 0x40e6e5
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov dword [esp + 0x38], eax
inc eax
lea edi, [esp + 0x38]
lea esi, [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.0040ebd0
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4 + 4]
inc ecx
cmp word [eax + 8], 0
jne case.0x42c476.25
mov eax, dword [eax]
cmp eax, 0x23
je case.0x42c476.25
jmp 0x42c463
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42c4bc
dec dword [esp + 0x20]
dec dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
je 0x42c44d
cmp byte [esp + 0x45], 0
jne 0x42c457
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
lea esi, [esp + 0x3c]
call fcn.004073c0
cmp dword [esp + 0x20], 0
jl 0x42c59a
cmp dword [esp + 0x14], edi
je case.0x42c476.25
jmp 0x42c59a
mov eax, dword [esp + 0x14]
inc dword [esp + 0x20]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.0040ebd0
jmp case.0x42c476.25
xor ebx, ebx
jmp 0x40e5c3
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42c4aa
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x18]
dec ebx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x14], ebx
je 0x42c43d
cmp byte [esp + 0x5d], 0
mov eax, dword [esp + 0x58]
jne 0x42c445
mov edi, dword [eax]
lea esi, [esp + 0x54]
call fcn.004073c0
cmp dword [esp + 0x18], 0
jl 0x42c591
cmp ebx, edi
je case.0x42c476.25
jmp 0x42c591
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
push ecx
push 0
call fcn.0040fd80
test eax, eax
jne 0x42c4dc
cmp dword [esp + 0x30], eax
jne 0x42c570
lea eax, [esp + 0x6c]
call fcn.0040e9e0
lea eax, [esp + 0x3c]
call fcn.0040e9e0
lea eax, [esp + 0x78]
call fcn.0040e9e0
lea eax, [esp + 0x48]
call fcn.0040e9e0
lea eax, [esp + 0x54]
call fcn.0040e9e0
lea eax, [esp + 0x60]
call fcn.0040e9e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 1
jg 0x42c570
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push edx
push eax
jmp 0x40e66e
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42c4aa
mov eax, dword [esp + 0x14]
inc dword [esp + 0x1c]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x6c]
mov dword [esp + 0x14], eax
call fcn.0040ebd0
jmp case.0x42c476.25
mov eax, dword [esp + 0x14]
inc dword [esp + 0x24]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x78]
mov dword [esp + 0x14], eax
call fcn.0040ebd0
jmp case.0x42c476.25
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x1c]
dec ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], ebx
call fcn.00411f00
test al, al
jne 0x42c2e3
lea eax, [esp + 0x6c]
call fcn.00411f10
mov edi, dword [eax]
lea esi, [esp + 0x6c]
call fcn.004073c0
cmp dword [esp + 0x1c], 0
jl 0x42c57c
cmp ebx, edi
je case.0x42c476.25
jmp 0x42c57c
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42c4bc
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x24]
dec ebx
lea eax, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.00411f00
test al, al
jne 0x42c2eb
lea eax, [esp + 0x78]
call fcn.00411f10
mov edi, dword [eax]
lea esi, [esp + 0x78]
call fcn.004073c0
cmp dword [esp + 0x24], 0
jl 0x42c588
cmp ebx, edi
je case.0x42c476.25
jmp 0x42c588
mov eax, dword [edx + 4]
cmp word [eax + 8], 0x7f
jne 0x42c51c
mov eax, dword [esp + 0x14]
mov ecx, 1
add dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
add eax, ecx
lea edi, [esp + 0x34]
lea esi, [esp + 0x48]
mov dword [esp + 0x14], eax
call fcn.0040ebd0
jmp case.0x42c476.25
mov eax, dword [esp + 0x14]
mov ecx, 1
add dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
add eax, ecx
lea edi, [esp + 0x34]
lea esi, [esp + 0x60]
mov dword [esp + 0x14], eax
call fcn.0040ebd0
jmp case.0x42c476.25
lea edi, [ebx + 1]
jmp 0x40e902
lea edi, [ebx + 1]
jmp 0x40e95a
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42c4aa
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x2c]
dec ebx
lea eax, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.00411f00
test al, al
je 0x42c327
lea edi, [ebx + 1]
jmp 0x42c33b
lea eax, [esp + 0x48]
call fcn.00411f10
mov edi, dword [eax]
lea esi, [esp + 0x48]
call fcn.004073c0
cmp dword [esp + 0x2c], 0
jl 0x42c34e
cmp ebx, edi
je case.0x42c476.25
push 0xffffffffffffffff
push 0x99
jmp 0x42c4d2
mov eax, dword [edx + 4]
cmp word [eax + 8], 0x7f
jne 0x42c4bc
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x28]
dec ebx
lea eax, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.00411f00
test al, al
je 0x42c38e
lea edi, [ebx + 1]
jmp 0x42c3a2
lea eax, [esp + 0x60]
call fcn.00411f10
mov edi, dword [eax]
lea esi, [esp + 0x60]
call fcn.004073c0
cmp dword [esp + 0x28], 0
jl 0x42c3b5
cmp ebx, edi
je case.0x42c476.25
push 0xffffffffffffffff
push 0xb3
jmp 0x42c4d2
lea eax, [esp + 0x48]
call fcn.00411f00
test al, al
jne 0x42c3e8
lea eax, [esp + 0x48]
call fcn.00411f10
mov ecx, dword [esp + 0x14]
dec ecx
cmp ecx, dword [eax]
je case.0x42c476.25
lea eax, [esp + 0x60]
call fcn.00411f00
test al, al
jne 0x42c40f
lea eax, [esp + 0x60]
call fcn.00411f10
mov edx, dword [esp + 0x14]
dec edx
cmp edx, dword [eax]
je case.0x42c476.25
push 0xffffffffffffffff
push 0x98
jmp 0x42c4d2
mov eax, dword [edx + 4]
cmp word [eax + 8], 0x7f
jne 0x42c4bc
cmp dword [esp + 0x18], 0
jne case.0x42c476.25
push 0xffffffffffffffff
push 0x74
jmp 0x42c4d2
lea edi, [ebx + 1]
jmp 0x40e7cb
mov eax, dword [eax + 4]
jmp 0x40e7c0
mov edi, dword [esp + 0x14]
inc edi
jmp 0x40e747
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
jmp 0x40e73c
sub eax, 0x12
cmp eax, 0x10
ja case.0x42c476.20
movzx edx, byte [eax + 0x42c5d3]
jmp dword [edx*4 + 0x42c5c7]
cmp dword [esp + 0x1c], 0
jne case.0x42c476.25
cmp dword [esp + 0x24], 0
jne case.0x42c476.25
cmp dword [esp + 0x20], 0
jne case.0x42c476.25
push 0xffffffffffffffff
push 0x96
jmp 0x42c4d2
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
movsx edx, word [ecx + 0xa]
push edx
push 0x72
jmp 0x42c4d2
mov ecx, dword [edx + 4]
movsx edx, word [ecx + 0xa]
push edx
push 0x72
jmp 0x42c4d2
push 0xffffffffffffffff
push 0x81
push 0x4a5940
call fcn.0045d2f0
lea eax, [esp + 0x6c]
call fcn.0040e9e0
lea eax, [esp + 0x3c]
call fcn.0040e9e0
lea eax, [esp + 0x78]
call fcn.0040e9e0
lea eax, [esp + 0x48]
call fcn.0040e9e0
lea eax, [esp + 0x54]
call fcn.0040e9e0
lea eax, [esp + 0x60]
call fcn.0040e9e0
mov eax, 1
jmp 0x40e84e
mov ecx, dword [edx + 4]
movsx edx, word [ecx + 0xa]
push edx
push 0x72
push 0x4a5940
call fcn.0045d2f0
lea eax, [esp + 0x6c]
call fcn.0040e9e0
lea eax, [esp + 0x3c]
call fcn.0040e9e0
lea eax, [esp + 0x78]
call fcn.0040e9e0
lea eax, [esp + 0x48]
call fcn.0040e9e0
lea eax, [esp + 0x54]
call fcn.0040e9e0
lea eax, [esp + 0x60]
call fcn.0040e9e0
mov eax, 1
jmp 0x40e84e
push 0xffffffffffffffff
push 0x83
jmp 0x42c4d2
push 0xffffffffffffffff
push 0x93
jmp 0x42c4d2
push 0xffffffffffffffff
push 0x78
jmp 0x42c4d2
push 0xffffffffffffffff
push 0x75
jmp 0x42c4d2
push 0xffffffffffffffff
push 0x95
jmp 0x42c4d2
push 0xffffffffffffffff
push 0xa1
jmp 0x42c4d2
mov eax, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
movsx edx, word [ecx + 0xa]
push edx
push 0x9f
jmp 0x42c4d2