Function at 0x6584a630
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 0x6584b25e
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 0x6584b247
mov dword [esp + 0x5c], eax
mov ebp, dword [ecx + 0x50]
mov dword [esp + 0x7c], ebp
cmp edx, ebp
jne 0x6584b10b
movzx edx, byte [ebp + 0x6b]
test dl, dl
jne 0x6584adab
lea esi, [ecx + 4]
lea edi, [esp + 0x80]
call fcn.6585edca
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.65803010
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
cmp eax, 0xfffffade
jne 0x6584a72b
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [edx + 0x7c]
test ebx, ebx
jne 0x6584a707
mov ebx, dword [edx + 0x6c]
test ebx, ebx
jne 0x6584a707
mov ebx, dword [edx + 0x78]
test ebx, ebx
jne 0x6584a707
mov edx, dword [edx + 0x58]
cmp dword [edx + 4], 1
je 0x6584a72f
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.6585d180
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
jmp 0x6584a72f
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx]
test ebx, ebx
je 0x6584ad95
mov ebp, dword [edx + 0x1c]
lea esi, [ebp - 4]
mov dword [esp + 0x1c], esi
cmp ebx, esi
jbe 0x6584a960
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.65837c40
lea eax, [0x658eaa92]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e695d]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e5fff]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e87c7]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61bf]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61af]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e8058]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61bf]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61af]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e64ac]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.65838520
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.658384a0
lea eax, [0x658e605f]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65838520
call fcn.65837cb0
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 0x6584ac57
cmp eax, 0xfffffade
jne 0x6584a9cc
mov ecx, dword [ecx + 0x18]
cmp dword [ecx], edx
je 0x6584ac41
mov ebx, dword [ecx + 0x58]
test ebx, ebx
jne 0x6584a98c
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x6584ac2b
movzx ecx, byte [edx + 0x67]
test cl, cl
je 0x6584a9ac
mov byte [edx + 0x67], 0
mov dword [esp], edx
call fcn.6584b2e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
movzx ecx, byte [edx + 0x66]
test cl, cl
je 0x6584a9c0
mov dword [esp], edx
call fcn.6583f950
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.6583f8d0
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.6584e9e0
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 0x6584aa20
mov dword [esp + 0x2c], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.6584f4f0
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 0x6584ac18
mov edx, dword [esp + 0x18]
cmp edx, 0xfffffeed
je 0x6584aa2e
mov ecx, eax
mov eax, dword [0x658b71a4]
cmp ecx, eax
ja 0x6584aaa6
cmp dword [0x658b71a0], ecx
jb 0x6584aaa6
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.6583a680
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.6584a2d0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 2
call fcn.6583a680
mov eax, dword [esp + 0x7c]
add eax, 0x1c
mov dword [esp], eax
call fcn.6585d180
add esp, 0xd4
ret
cmp dword [0x658b71a0], eax
jbe 0x6584abc3
call fcn.65837c40
lea eax, [0x658ee88c]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.65838520
mov eax, dword [0x658b71a4]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.658381c0
lea eax, [0x658e783f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65838520
call fcn.65837cb0
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.65837c40
lea eax, [0x658e7bb7]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e695d]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e5fff]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e6051]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65838520
call fcn.65837cb0
lea eax, [0x658e847f]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.65836520
call fcn.65837c40
lea eax, [0x658ee88c]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.65838520
mov eax, dword [0x658b71a0]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.658381c0
lea eax, [0x658e783f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65838520
call fcn.65837cb0
jmp 0x6584aafe
shl ebp, 1
mov ebx, ebp
mov ebp, ebx
sub ebx, edx
cmp ebx, eax
jb 0x6584ac14
mov ecx, dword [esp + 0x28]
mov eax, ebp
jmp 0x6584aa20
lea eax, [0x658eec37]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.65836520
lea eax, [0x658e9ef5]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.65836520
lea eax, [edx + 0x48]
mov dword [esp], eax
call fcn.65802fa0
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.65837c40
lea eax, [0x658e7bab]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65838520
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.658384a0
lea eax, [0x658e670d]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.65838520
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.65838320
lea eax, [0x658e7cf1]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e604b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65838520
call fcn.65837cb0
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
call fcn.65837c40
lea eax, [0x658ee0f8]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e6073]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.658383a0
call fcn.65837e60
call fcn.65837cb0
lea eax, [0x658ed7c2]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.65836520
lea eax, [0x658ec25b]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.65836520
lea esi, [ecx + 4]
lea edi, [esp + 0x9c]
call fcn.6585edca
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.6584e9e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x6584b0b9
mov eax, 9
lea ecx, [0x658e6ca2]
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.65837c40
lea eax, [0x658eaa7d]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.65838520
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.65838520
lea eax, [0x658e5fd7]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61c3]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e695d]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e5fff]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e87c7]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61bf]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61af]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e8058]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61bf]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e61af]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e64ac]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.65838520
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.658384a0
lea eax, [0x658e605f]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65838520
call fcn.65837cb0
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.658567f0
lea eax, [0x658ee415]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.65836520
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.6584f0c0
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.6584e7e0
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 0x6584adf6
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.65837c40
lea eax, [0x658ee3b5]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.65838520
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.658383a0
lea eax, [0x658e6247]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.65838520
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.658384a0
lea eax, [0x658e6c24]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.65838520
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.658384a0
lea eax, [0x658e66d5]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.65838520
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.658384a0
lea eax, [0x658e777f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65838520
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.658384a0
call fcn.65837e60
call fcn.65837cb0
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea esi, [eax + 4]
lea edi, [esp + 0xb8]
call fcn.6585edca
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.658567f0
lea eax, [0x658ef247]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.65836520
lea eax, [0x658eb812]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.65836520
nop
call fcn.6585d300
jmp fcn.6584a630