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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x6584ac40
sub esp, 0x34
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov ebx, dword [esp + 0x38]
mov ebp, ebx
mov esi, dword [esp + 0x3c]
sub esi, ebp
lea edi, [esi - 1]
test esi, edi
jne 0x6584ac29
mov edi, dword [0x65a346e8]
test edi, edi
jne 0x6584aa82
cmp esi, 0x8000
jae 0x6584aa0c
mov eax, esi
xor ecx, ecx
jmp 0x6584ab47
mov eax, dword [0x65a144c4]
test byte [eax], al
nop
nop
mov dword [esp + 0x28], ebx
mov ecx, ebp
shr ebp, 0x16
mov eax, dword [eax + ebp*4]
shr ecx, 0xd
and ecx, 0x1ff
mov ecx, dword [eax + ecx*4 + 0x40000]
mov dword [esp + 0x14], ecx
test byte [ecx], al
test byte [eax], al
lea eax, [ecx + 0x3b]
mov dword [esp], eax
call fcn.658027e0
cmp byte [esp + 4], 2
jne 0x6584aaef
mov eax, dword [0x65a34414]
test eax, eax
je 0x6584aa65
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
xor edx, edx
jmp 0x6584aa99
lea eax, [0x65a143e0]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.65827160
jmp 0x6584aa92
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.65813a60
add esp, 0x34
ret
add esp, 0x34
ret
shr ecx, 1
inc edx
cmp ecx, 1
ja 0x6584aa96
mov dword [esp + 0x18], edx
nop
lea eax, [0x65a34a20]
mov dword [esp], eax
call fcn.658099a0
mov eax, dword [esp + 0x18]
cmp eax, 0x13
jae 0x6584aae5
lea ecx, [0x65a34a24]
lea eax, [ecx + eax*8]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.65827800
nop
nop
lea eax, [0x65a34a20]
mov dword [esp], eax
call fcn.65809ba0
jmp 0x6584aa92
mov ecx, 0x13
call fcn.6585fb90
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
call fcn.65837610
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.65837d70
call fcn.658377f0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.65837e70
call fcn.65837830
call fcn.65837680
lea eax, [0x658e3cf9]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.65835ef0
inc ecx
shr esi, 1
cmp esi, 0x1000
ja 0x6584ab44
mov edx, dword [edx + 0x18]
mov ebx, dword [edx + 0x58]
test ebx, ebx
je 0x6584ab60
mov edx, dword [edx + 0x78]
test edx, edx
je 0x6584abb0
movzx eax, cl
cmp eax, 3
jae 0x6584ac1f
mov byte [esp + 0xf], cl
shl eax, 6
lea ecx, [0x65a34ac0]
add eax, ecx
mov dword [esp + 0x2c], eax
nop
mov dword [esp], eax
call fcn.658099a0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
movzx eax, byte [esp + 0xf]
mov byte [esp + 4], al
call fcn.6584a320
nop
nop
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.65809ba0
jmp 0x6584aa92
mov edx, dword [ebx + 0x30]
test byte [edx], al
movzx ebx, cl
cmp ebx, 3
jae 0x6584ac13
lea esi, [edx + ebx*8 + 0x238]
cmp dword [esi], 0x8000
jb 0x6584abfc
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], esi
mov dword [esp], edx
mov byte [esp + 4], cl
call fcn.6584a540
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ecx, ebp
lea edx, [edx + ebx*8 + 0x234]
mov ebx, dword [edx]
mov dword [ebp], ebx
mov dword [edx], ecx
add dword [esi], eax
jmp 0x6584aa92
mov eax, ebx
mov ecx, 3
call fcn.6585fb90
mov ecx, 3
call fcn.6585fb90
lea eax, [0x658e6211]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.65835ef0
nop
call fcn.6585d2b0
jmp fcn.6584a9b0