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

Disassembly:
sub esp, 0x124
mov eax, dword [0x44b00c]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
mov dword [esp + 0x68], 0
mov edi, 0x16
mov dword [esp + 0x6c], 0x1d0
mov dword [esp + 0x70], 3
mov ebx, 0x452440
mov dword [esp + 0x74], 0x1da
xor ebp, ebp
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x1c8
mov dword [esp + 0x80], 3
mov dword [esp + 0x84], 0x1cd
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 0x1d0
mov dword [esp + 0x90], 7
mov dword [esp + 0x94], 0x1da
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x1c8
mov dword [esp + 0xa0], 3
mov dword [esp + 0xa4], 0x1cd
mov dword [esp + 0xa8], 8
mov dword [esp + 0xac], 0x1d0
mov dword [esp + 0xb0], 0xb
mov dword [esp + 0xb4], 0x1da
mov dword [esp + 0xb8], 0xc
mov dword [esp + 0xbc], 0x1d0
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xc4], 0x1da
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0x1c8
mov dword [esp + 0xd0], 3
mov dword [esp + 0xd4], 0x1cd
mov dword [esp + 0xd8], 0x10
mov dword [esp + 0xdc], 0x1d0
mov dword [esp + 0xe0], 0x13
mov dword [esp + 0xe4], 0x1da
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0x1c8
mov dword [esp + 0xf0], 3
mov dword [esp + 0xf4], 0x1cd
mov dword [esp + 0xf8], 0x14
mov dword [esp + 0xfc], 0x1d0
mov dword [esp + 0x100], 0x17
mov dword [esp + 0x104], 0x1da
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0x1c8
mov dword [esp + 0x110], 3
mov dword [esp + 0x114], 0x1cd
mov dword [esp + 0x118], 0x18
mov dword [esp + 0x11c], 0x1d0
mov dword [esp + 0x120], 0x1b
mov dword [esp + 0x124], 0x1da
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x50], 0xe
mov dword [esp + 0x54], 0x10
mov dword [esp + 0x58], 0x12
mov dword [esp + 0x5c], 0x14
mov dword [esp + 0x60], 0x16
mov dword [esp + 0x64], 0x18
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], edi
lea esp, [esp]
movzx eax, byte [esi + 0x451c30]
mov edx, edi
push eax
mov ecx, 0x32
call fcn.00415180
movzx eax, byte [esi + 0x451c10]
add esp, 4
mov edx, edi
mov ecx, 0x7d
push eax
call fcn.00415180
movzx eax, byte [esi + 0x453440]
add esp, 4
sub eax, 0x40
mov edx, edi
mov ecx, 0xb5
push eax
call fcn.00415180
xor eax, eax
mov dword [esp + 0x18], 0
lea ecx, [edi - 0xd]
mov dword [esp + 0x1c], eax
add esp, 4
mov dword [esp + 0x20], ecx
xor esi, esi
jmp 0x40ea05
mov ecx, dword [esp + 0x20]
cmp byte [esi + ebp + 0x451c40], 0
je 0x40ea57
mov eax, 0xaaaaaaab
mov edi, esi
mul esi
push 0x4f3930
shr edx, 3
push ecx
lea eax, [edx + edx*2]
shl eax, 2
lea ecx, [edx*8]
sub edi, eax
sub ecx, edx
mov eax, dword [esp + edi*4 + 0x40]
shl edi, 4
lea eax, [eax + ecx*4]
add eax, 0x28
push eax
lea eax, [esp + 0x74]
add eax, edi
push eax
call dword [0x44b8c4]
add esp, 0x10
dec byte [esi + ebp + 0x451c40]
cmp byte [esi + ebp + 0x451410], 0
je 0x40eaa5
mov eax, 0xaaaaaaab
mov edi, esi
mul esi
push 0x4f3930
push dword [esp + 0x24]
shr edx, 3
lea eax, [edx + edx*2]
shl eax, 2
lea ecx, [edx*8]
sub edi, eax
sub ecx, edx
mov eax, dword [esp + edi*4 + 0x40]
shl edi, 4
lea eax, [eax + ecx*4]
add eax, 0x28
push eax
lea eax, [esp + 0x74]
add eax, edi
push eax
call dword [0x44b8c4]
add esp, 0x10
movzx edi, word [ebx]
test di, di
je 0x40ead7
mov ecx, edi
mov eax, 0x51eb851f
add dword [esp + 0x18], ecx
mul ecx
shr edx, 4
cmp edx, 1
jg 0x40eac7
mov edx, 1
mov ecx, dword [esp + 0x14]
sub edi, edx
inc ecx
mov word [ebx], di
mov dword [esp + 0x14], ecx
jmp 0x40eadb
mov ecx, dword [esp + 0x14]
inc esi
add ebx, 2
cmp esi, 0x80
jl 0x40ea01
test ecx, ecx
je 0x40eb3e
mov eax, dword [esp + 0x18]
cdq
idiv ecx
cmp eax, 0x60
jle 0x40eb00
mov eax, 0x60
mov edi, dword [esp + 0x1c]
add eax, 0x50
push 0x4f3930
push edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push 0xf0
push eax
mov dword [esp + 0x38], 0x50
mov dword [esp + 0x3c], 0x1c8
mov dword [esp + 0x44], 0x1cd
call dword [0x44b8c4]
add esp, 0x10
jmp 0x40eb42
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
add edi, 0x18
inc esi
mov dword [esp + 0x1c], edi
sub ebp, 0xffffff80
mov dword [esp + 0x24], esi
cmp ebx, 0x453440
jl 0x40e9a0
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e689
add esp, 0x124
ret