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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x64147e
sub esp, 0xd0
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.00465fe3
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x64124c
lea eax, [0x6d5a00]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x60]
xor eax, eax
call fcn.00465fe3
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
movzx edx, byte [esp + 0xe4]
mov byte [esp + 0x88], dl
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
xor ebp, ebp
xor esi, esi
jmp 0x64126f
add esp, 0xd0
ret
lea ebp, [ebx + 1]
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0x20]
cmp ecx, ebp
jle 0x641445
jbe 0x641476
mov dword [esp + 0x20], esi
imul ecx, ebp, 0x3c
add ecx, ebx
lea edi, [esp + 0x94]
mov esi, ecx
call fcn.0046646a
mov ecx, dword [esp + 0x98]
mov esi, ebx
mov ebx, dword [esp + 0x20]
cmp ebx, ecx
jl 0x6412a7
mov ecx, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0xcc]
test ebx, ebx
je 0x6412be
mov ebx, dword [ebx]
jmp 0x6412c0
xor ebx, ebx
lea eax, [0x69d5a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040ec00
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0xc]
mov ebp, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00640f20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ebx, byte [esp + 0xc0]
test bl, bl
jne 0x64132d
xor ebx, ebx
jmp 0x64133b
cmp bl, 1
jne 0x641339
mov ebx, 2
jmp 0x64133b
xor ebx, ebx
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x30]
mov ebp, eax
xor eax, eax
call fcn.00465fe4
mov dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x48], ecx
mov byte [esp + 0x54], bl
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x24]
cmp ebx, ecx
jae 0x64146f
lea ecx, [ebx + ebx*2]
shl ecx, 4
lea edi, [edx + ecx]
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x6413c9
lea esi, [esp + 0x30]
call fcn.00466488
jmp 0x6413e9
lea eax, [0x6d5a00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004115f0
xor eax, eax
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
add edx, dword [esp + 0xc8]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x78]
add edx, dword [esp + 0x94]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xa8]
cmp dword [esp + 0x7c], edx
jge 0x64141e
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0xb0]
sub edx, dword [esp + 0xac]
cmp dword [esp + 0x80], edx
jge 0x641253
mov dword [esp + 0x80], edx
jmp 0x641253
mov dword [esp + 0x84], esi
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00641490
lea edi, [esp + 0xe8]
lea esi, [esp + 0x60]
call fcn.0046647e
add esp, 0xd0
ret
mov eax, ebx
call fcn.00465e00
mov eax, ebp
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.006411b0