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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x6584c33e
sub esp, 0xd4
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0xc]
mov ebx, edx
cmp dword [edx + 8], 0xfffffb2e
je 0x6584c327
mov dword [esp + 0x5c], eax
mov ebp, dword [ecx + 0x50]
mov dword [esp + 0x7c], ebp
cmp edx, ebp
jne 0x6584c1eb
movzx edx, byte [ebp + 0x6b]
test dl, dl
jne 0x6584be8b
lea esi, [ecx + 4]
lea edi, [esp + 0x80]
call fcn.658601ba
mov ecx, dword [eax + 0x18]
mov dword [ecx + 8], 0
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x18], 0
mov ecx, dword [eax + 0x18]
mov dword [ecx + 4], 0
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0xc], 0
lea ecx, [ebp + 8]
mov dword [esp], ecx
call fcn.658028a0
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
cmp eax, 0xfffffade
jne 0x6584b80b
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [edx + 0x7c]
test ebx, ebx
jne 0x6584b7e7
mov ebx, dword [edx + 0x6c]
test ebx, ebx
jne 0x6584b7e7
mov ebx, dword [edx + 0x78]
test ebx, ebx
jne 0x6584b7e7
mov edx, dword [edx + 0x58]
cmp dword [edx + 4], 1
je 0x6584b80f
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
add ecx, 0xba0
mov dword [eax + 8], ecx
lea ecx, [eax + 0x1c]
mov dword [esp], ecx
call fcn.6585e560
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
jmp 0x6584b80f
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx]
test ebx, ebx
je 0x6584be75
mov ebp, dword [edx + 0x1c]
lea esi, [ebp - 4]
mov dword [esp + 0x1c], esi
cmp ebx, esi
jbe 0x6584ba40
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebp
mov eax, dword [edx + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x44], ebp
mov esi, dword [edx + 0x20]
mov dword [esp + 0x40], esi
mov edi, dword [edx + 0x30]
mov dword [esp + 0x3c], edi
mov edx, dword [edx + 0x28]
mov dword [esp + 0x78], edx
call fcn.65837610
lea eax, [0x658e5c87]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e278c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1e41]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e4087]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e200c]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1ffc]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e3b1e]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e200c]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1ffc]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e2329]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.65837ef0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.65837e70
lea eax, [0x658e1ea9]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
call fcn.65837680
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
cmp dword [edx], esi
ja 0x6584bd37
cmp eax, 0xfffffade
jne 0x6584baac
mov ecx, dword [ecx + 0x18]
cmp dword [ecx], edx
je 0x6584bd21
mov ebx, dword [ecx + 0x58]
test ebx, ebx
jne 0x6584ba6c
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x6584bd0b
movzx ecx, byte [edx + 0x67]
test cl, cl
je 0x6584ba8c
mov byte [edx + 0x67], 0
mov dword [esp], edx
call fcn.6584c3c0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
movzx ecx, byte [edx + 0x66]
test cl, cl
je 0x6584baa0
mov dword [esp], edx
call fcn.6583f320
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.6583f2a0
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 4]
sub eax, dword [edx]
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 0x20]
mov dword [esp], ecx
call fcn.6584fac0
mov eax, dword [esp + 0x28]
mov ecx, eax
shl eax, 1
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x6584bb00
mov dword [esp + 0x2c], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.658505d0
mov eax, dword [esp + 8]
add eax, 0xba0
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
sub edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x2c]
jmp 0x6584bcf8
mov edx, dword [esp + 0x18]
cmp edx, 0xfffffeed
je 0x6584bb0e
mov ecx, eax
mov eax, dword [0x658b1140]
cmp ecx, eax
ja 0x6584bb86
cmp dword [0x658b113c], ecx
jb 0x6584bb86
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 8
call fcn.6583a050
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.6584b3b0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 2
call fcn.6583a050
mov eax, dword [esp + 0x7c]
add eax, 0x1c
mov dword [esp], eax
call fcn.6585e560
add esp, 0xd4
ret
cmp dword [0x658b113c], eax
jbe 0x6584bca3
call fcn.65837610
lea eax, [0x658e8f5c]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.65837ef0
mov eax, dword [0x658b1140]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.65837b90
lea eax, [0x658e350f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65837ef0
call fcn.65837680
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
call fcn.65837610
lea eax, [0x658e378b]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e278c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1e41]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1e97]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
call fcn.65837680
lea eax, [0x658e3e11]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.65835ef0
call fcn.65837610
lea eax, [0x658e8f5c]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.65837ef0
mov eax, dword [0x658b113c]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.65837b90
lea eax, [0x658e350f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65837ef0
call fcn.65837680
jmp 0x6584bbde
shl ebp, 1
mov ebx, ebp
mov ebp, ebx
sub ebx, edx
cmp ebx, eax
jb 0x6584bcf4
mov ecx, dword [esp + 0x28]
mov eax, ebp
jmp 0x6584bb00
lea eax, [0x658e92e6]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.65835ef0
lea eax, [0x658e5362]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.65835ef0
lea eax, [edx + 0x48]
mov dword [esp], eax
call fcn.65802830
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x14], ebx
call fcn.65837610
lea eax, [0x658e377f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65837ef0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.65837e70
lea eax, [0x658e2566]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.65837ef0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.65837cf0
lea eax, [0x658e38a1]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1e91]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
call fcn.65837680
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
call fcn.65837610
lea eax, [0x658e882a]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1ebd]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.65837d70
call fcn.65837830
call fcn.65837680
lea eax, [0x658e807d]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.65835ef0
lea eax, [0x658e6fd7]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.65835ef0
lea esi, [ecx + 4]
lea edi, [esp + 0x9c]
call fcn.658601ba
mov eax, dword [esp + 0x9c]
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.6584fac0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x6584c199
mov eax, 9
lea ecx, [0x658e2a91]
xor edx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x58], ebp
mov esi, dword [ebx]
mov dword [esp + 0x54], esi
mov edi, dword [ebx + 4]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x44], edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x40], edi
mov edi, dword [ebx + 0x30]
mov dword [esp + 0x3c], edi
mov ebx, dword [ebx + 0x28]
mov dword [esp + 0x78], ebx
call fcn.65837610
lea eax, [0x658e5c72]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.65837ef0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.65837ef0
lea eax, [0x658e1e17]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e2010]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e278c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1e41]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e4087]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e200c]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1ffc]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e3b1e]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e200c]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e1ffc]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e2329]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.65837ef0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.65837e70
lea eax, [0x658e1ea9]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
call fcn.65837680
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 2
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.658579b0
lea eax, [0x658e8b27]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.65835ef0
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.658501a0
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x74]
mov edx, dword [edx]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.6584f8c0
mov eax, dword [esp + 0x7c]
mov edx, dword [eax + 0x20]
sub edx, dword [esp + 8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
jmp 0x6584bed6
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
mov dword [esp + 0x68], eax
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x64], edx
call fcn.65837610
lea eax, [0x658e8ac7]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.65837d70
lea eax, [0x658e20e8]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65837ef0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.65837e70
lea eax, [0x658e2a13]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.65837ef0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.65837e70
lea eax, [0x658e252e]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.65837ef0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.65837e70
lea eax, [0x658e344f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65837ef0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.65837e70
call fcn.65837830
call fcn.65837680
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea esi, [eax + 4]
lea edi, [esp + 0xb8]
call fcn.658601ba
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
call fcn.658579b0
lea eax, [0x658e988c]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.65835ef0
lea eax, [0x658e6855]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.65835ef0
nop
call fcn.6585e6e0
jmp fcn.6584b710