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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6588a3f5
sub esp, 0x40
movzx ebx, byte [esp + 0x50]
test bl, bl
je 0x65889fc4
mov ebx, dword [esp + 0x48]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x4c]
cmp esi, ebp
jb 0x65889f87
mov eax, dword [esp + 0x44]
jmp 0x65889fbe
lea eax, [0x658d86e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0x48]
mov esi, edx
mov byte [eax + ebx], 0x2d
jmp 0x65889fd0
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x65889fed
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
test ebx, ebx
jbe 0x6588a3eb
movzx ebx, byte [edi]
jmp 0x65889ff2
mov ebx, 0x30
lea edi, [ebp + 1]
cmp esi, edi
jae 0x6588a037
mov byte [esp + 0x22], bl
mov dword [esp + 0x38], ebp
lea ecx, [0x658d86e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edi, [ecx + 1]
movzx ebx, byte [esp + 0x22]
mov ebp, dword [esp + 0x38]
mov byte [eax + ebp], bl
mov ebx, dword [esp + 0x6c]
test ebx, ebx
jle 0x6588a142
lea ebp, [edi + 1]
cmp esi, ebp
jae 0x6588a086
mov dword [esp + 0x34], edi
lea ecx, [0x658d86e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x34]
mov byte [eax + edi], 0x2e
mov edi, dword [esp + 0x60]
mov ecx, ebx
inc ebx
cmp edi, ebx
jl 0x6588a097
mov edi, ebx
cmp edi, 1
jg 0x6588a0a6
mov edx, 1
jmp 0x6588a38f
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
cmp edi, edx
ja 0x6588a3e4
mov dword [esp + 0x24], edi
lea ecx, [edi + ebp - 1]
mov dword [esp + 0x38], ecx
dec edx
neg edx
sar edx, 0x1f
and edx, 1
add edx, ebx
cmp esi, ecx
jae 0x6588a10b
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], edx
lea edx, [0x658d86e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
lea ecx, [eax + ebp]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [edi - 1]
mov dword [esp + 8], ecx
call fcn.6585eff0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
jmp 0x6588a38f
lea ecx, [edi + 1]
cmp esi, ecx
jae 0x6588a17c
mov dword [esp + 0x38], edi
lea edx, [0x658d86e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc ecx
mov edi, dword [esp + 0x38]
movzx edx, byte [esp + 0x70]
mov byte [eax + edi], dl
mov edx, dword [esp + 0x64]
dec edx
mov ebx, dword [esp + 0x60]
test ebx, ebx
jne 0x6588a193
xor edx, edx
test edx, edx
jge 0x6588a1a0
neg edx
mov ebx, 0x2d
jmp 0x6588a1a5
mov ebx, 0x2b
mov dword [esp + 0x28], edx
lea ebp, [ecx + 1]
cmp esi, ebp
jae 0x6588a1f2
mov dword [esp + 0x38], ecx
mov byte [esp + 0x22], bl
lea edx, [0x658d86e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
movzx ebx, byte [esp + 0x22]
mov dword [esp + 0x38], ebp
mov byte [eax + ecx], bl
cmp edx, 0xa
jge 0x6588a24a
lea ecx, [ebp + 2]
cmp esi, ecx
jae 0x6588a23a
lea edx, [0x658d86e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add ecx, 2
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov byte [eax + ebp], 0x30
add edx, 0x30
mov byte [eax + ebp + 1], dl
jmp 0x6588a378
cmp edx, 0x64
jge 0x6588a2ca
lea ecx, [ebp + 2]
mov ebx, eax
mov eax, edx
mov edi, 0xcccccccd
imul edi
mov edi, dword [esp + 0x28]
add edx, edi
sar edx, 3
mov eax, ebp
lea ebp, [edx + edx*4]
shl ebp, 1
sub edi, ebp
cmp esi, ecx
jae 0x6588a2b6
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edi
lea edx, [0x658d86e0]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add ecx, 2
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x38]
add edx, 0x30
mov byte [ebx + eax], dl
lea edx, [edi + 0x30]
mov byte [ebx + eax + 1], dl
mov eax, ebx
jmp 0x6588a378
lea ecx, [ebp + 3]
mov ebx, eax
mov eax, edx
mov edi, 0xcccccccd
imul edi
mov eax, dword [esp + 0x28]
add edx, eax
sar edx, 3
mov dword [esp + 0x34], edx
movzx edi, dl
imul edi, edi, 0x19a
shr edi, 0xc
lea edi, [edi + edi*4]
shl edi, 1
sub edx, edi
mov byte [esp + 0x23], dl
mov edi, dword [esp + 0x34]
lea edi, [edi + edi*4]
shl edi, 1
sub eax, edi
mov dword [esp + 0x34], eax
cmp esi, ecx
jae 0x6588a34b
lea eax, [0x658d86e0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add ecx, 3
movzx edx, byte [esp + 0x23]
mov ebp, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edi, 0x51eb851f
imul edi
sar edx, 5
add edx, 0x30
mov byte [ebx + ebp], dl
movzx edx, byte [esp + 0x23]
add edx, 0x30
mov byte [ebx + ebp + 1], dl
mov edx, dword [esp + 0x34]
add edx, 0x30
mov byte [ebx + ebp + 2], dl
mov eax, ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], esi
add esp, 0x40
ret
mov byte [eax + ebp], 0x30
inc edx
mov ebp, ebx
cmp ecx, edx
jl 0x6588a3dd
lea ebx, [ebp + 1]
cmp esi, ebx
jae 0x6588a388
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ebp
lea ecx, [0x658d86e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.65848b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
jmp 0x6588a388
mov edi, ebp
jmp 0x6588a142
mov ecx, edi
call fcn.6585e7f0
xor eax, eax
mov ecx, eax
call fcn.6585e7b0
nop
call fcn.6585d300
jmp fcn.65889f50