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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x64
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov ebp, dword [ebx + 0x4834]
lea esi, [ebx + 4]
mov dword [esp], esi
mov esi, dword [ebx + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [ebx + 0x28]
lea edx, [edi + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.00647b80
test eax, eax
jne 0x64abf0
mov esi, dword [ebx + 0x34]
cmp esi, 2
je 0x64ac90
mov eax, dword [edi + 0x2c]
xor edx, edx
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jle 0x64abf0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], ebp
cmp edx, dword [ebx + 0x37c0]
jge 0x64aac0
xor eax, eax
mov ecx, edx
shl ecx, 4
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x37cc]
lea edi, [eax + ecx]
mov ebp, dword [edi + 8]
test ebp, ebp
jle 0x64aac9
mov eax, dword [ecx + eax + 4]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x50]
xor ecx, ecx
test eax, eax
jle 0x64ab47
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x34]
cmp esi, ebp
jge 0x64ab31
mov eax, dword [esp + 0x38]
mov edi, esi
shl edi, 4
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jge 0x64ab0c
mov eax, dword [esp + 0x50]
lea ebp, [eax + edi]
mov dword [esp + 0x4c], edi
jmp 0x64aa93
mov edx, dword [ebx + 0x30]
mov al, byte [ebp + ecx*2]
mov edi, esi
imul edx, ecx
imul edi, dword [ebx + 0x3c]
inc ecx
add edi, dword [esp + 0x58]
mov byte [edx + edi], al
mov eax, dword [esp + 0x38]
cmp ecx, eax
jl 0x64aa90
jmp 0x64ab01
cmp edx, 3
je 0x64ac10
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
cmp esi, 2
je 0x64abf8
inc ecx
inc edx
cmp edx, eax
jge 0x64abf0
test edx, edx
jle 0x64aca7
mov ebp, dword [ebx + 0x58]
cmp ebp, 4
je 0x64ab60
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
jmp 0x64a9f7
mov edi, dword [esp + 0x4c]
mov edx, dword [ebx + 0x30]
mov ebp, dword [esp + 0x3c]
add edi, 0x10
inc esi
cmp esi, ebp
jl 0x64aa69
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov edi, dword [ebx + 0x37cc]
add edi, dword [esp + 0x44]
mov eax, dword [edi + 4]
add edx, 0x80
inc ecx
cmp ecx, eax
jl 0x64aa48
mov esi, dword [esp + 0x54]
mov ebp, dword [edi + 8]
inc esi
cmp esi, ebp
jl 0x64aa36
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x40]
mov esi, dword [ebx + 0x34]
jmp 0x64aac9
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
cmp ebp, edi
jge 0x64aad1
mov esi, dword [esp + 0x38]
mov dword [esp + 0x40], edx
mov edx, esi
mov esi, dword [esp + 0x30]
cmp esi, edx
jge 0x64abd2
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x40]
jmp 0x64ab93
mov eax, dword [ebx + 0x30]
imul eax, esi
cmp ebp, 3
jge 0x64abb0
mov edi, dword [esp + 0x54]
imul edi, dword [ebx + 0x3c]
add edi, ecx
mov dl, byte [eax + edi - 1]
mov byte [eax + edi], dl
jmp 0x64abbe
mov edx, dword [esp + 0x54]
imul edx, dword [ebx + 0x3c]
add edx, ecx
mov byte [eax + edx], 0xff
inc esi
mov edx, dword [esp + 0x38]
cmp esi, edx
jl 0x64ab90
mov ebp, dword [esp + 0x54]
mov eax, dword [ebx + 0x30]
mov edi, dword [esp + 0x3c]
inc ebp
cmp ebp, edi
jl 0x64ab7a
mov edx, dword [esp + 0x40]
mov esi, dword [ebx + 0x34]
jmp 0x64aad1
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, dword [ebx + 0x58]
cmp ebp, 1
jne 0x64aada
dec ecx
jmp 0x64aadb
cmp esi, 5
jne 0x64aac9
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
cmp ecx, ebp
jge 0x64ac76
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
cmp edx, eax
jl 0x64ac43
jmp 0x64ac62
mov esi, dword [ebx + 0x30]
mov eax, ecx
imul esi, edx
inc edx
imul eax, dword [ebx + 0x3c]
add eax, edi
mov byte [esi + eax], 0xff
mov eax, dword [esp + 0x38]
cmp edx, eax
jl 0x64ac40
mov esi, dword [ebx + 0x30]
mov ebp, dword [esp + 0x3c]
inc ecx
cmp ecx, ebp
jl 0x64ac35
mov dword [esp + 0x5c], esi
mov edx, dword [esp + 0x40]
mov esi, dword [ebx + 0x34]
mov dword [esp + 0x58], edi
add dword [esp + 0x50], 0x80
jmp 0x64aac9
mov eax, dword [ebx + 0x58]
cmp eax, 1
jne 0x64a9db
mov eax, dword [edi + 0x2c]
add eax, 2
jmp 0x64a9de
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
jmp 0x64a9f7