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

Disassembly:
sub esp, 0x48
push esi
mov esi, ecx
cmp byte [esi + 0xd1], 0
jne 0x6532f9
mov ecx, dword [esi + 0x70]
call fcn.0064f480
cmp byte [esi + 0x9fb], 0
mov byte [esi + 0xd1], 1
je 0x6532bf
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx + 0xa4]
cmp byte [eax], 0
je 0x6532b6
call fcn.0064fa10
cmp eax, 0x14
jge 0x6532b6
mov byte [esi + 0x9fb], 0
cmp byte [esi + 0x9fb], 0
jne 0x6532e7
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx + 0xa4]
cmp byte [edx], 0
je 0x6532e7
call fcn.0064fa10
cmp eax, 9
jl 0x653930
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0xb4]
mov dword [esi + 0x4c], ecx
mov edx, dword [esi + 0x70]
add edx, 0x54
push edx
lea ecx, [esi + 0x4f0]
call fcn.0044cda0
cmp byte [0x992082], 0
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [esp + 0x5c]
push edi
mov edi, dword [esi + 0x70]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
je 0x653331
push 0x1b16358
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi + 4]
je 0x653348
push 0x1b16358
call dword [0x79428c]
push 0
push 0x975b3c
push 0x97128c
push 0
push edi
call fcn.00664fc0
add esp, 4
push eax
call fcn.0074d229
add esp, 0x14
test eax, eax
je 0x6533d5
mov edi, dword [esi + 0x70]
mov edx, dword [edi + 0xa4]
mov eax, dword [eax + 0xa4]
jmp 0x653380
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x6533a0
test cl, cl
je 0x65339c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x6533a0
add eax, 2
add edx, 2
test cl, cl
jne 0x653380
xor eax, eax
jmp 0x6533a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x6533d5
mov ecx, edi
call fcn.0064f1d0
mov ecx, dword [esi + 0x70]
call fcn.0064f480
mov ecx, dword [esi + 0x70]
call fcn.0064fa10
cmp eax, 9
jl 0x65392d
mov edx, dword [esi + 0x70]
mov eax, dword [edx + 0xb4]
mov dword [esi + 0x4c], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov edi, dword [esi + 0x70]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
cmp dword [edi + 0x40], 0
je 0x6538c1
cmp byte [0x992082], 0
je 0x653416
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi + 0xa8]
je 0x653430
push 0x1ab9950
call dword [0x79428c]
test edi, edi
je 0x65387d
call fcn.00534760
mov edi, dword [esi + 0x70]
mov edx, dword [esp + 0x48]
add edi, 0xa8
cmp byte [0x992082], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebp
je 0x653466
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi]
je 0x65347c
push 0x1ab9950
call dword [0x79428c]
mov eax, dword [esi + 0x4c]
push 0
push eax
lea ecx, [esp + 0x64]
push ecx
push edi
call fcn.00534b10
mov eax, dword [esi + 0x4c]
mov edx, dword [eax + 8]
add dword [esp + 0x38], edx
mov ecx, dword [eax + 0xc]
add dword [esp + 0x3c], ecx
mov edx, dword [eax + 8]
sub dword [esp + 0x40], edx
mov ecx, dword [eax + 0xc]
sub dword [esp + 0x44], ecx
mov edx, dword [esi + 0x5c]
sub edx, dword [eax + 0x28]
mov edi, dword [esi + 0x70]
add edx, ebx
add esp, 0x10
add edi, 0xa8
cmp byte [0x992082], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebp
je 0x6534dc
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi]
je 0x6534f2
push 0x1ab9950
call dword [0x79428c]
mov eax, dword [esi + 0x4c]
push 0
add eax, 0x20
push eax
lea ecx, [esp + 0x64]
push ecx
push edi
call fcn.00534b10
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
sub eax, dword [edx + 0x6c]
mov edi, dword [esi + 0x70]
mov ecx, dword [esp + 0x58]
add eax, ebp
add esp, 0x10
add edi, 0xa8
cmp byte [0x992082], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
je 0x65353d
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi]
je 0x653553
push 0x1ab9950
call dword [0x79428c]
mov edx, dword [esi + 0x4c]
push 0
add edx, 0x60
push edx
lea eax, [esp + 0x64]
push eax
push edi
call fcn.00534b10
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
sub eax, dword [ecx + 0x8c]
mov edx, dword [esi + 0x5c]
sub edx, dword [ecx + 0x88]
mov edi, dword [esi + 0x70]
add eax, ebp
add edx, ebx
add esp, 0x10
add edi, 0xa8
cmp byte [0x992082], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
je 0x6535a8
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov eax, dword [edi]
mov dword [esp + 0x5c], eax
je 0x6535c2
push 0x1ab9950
call dword [0x79428c]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esp + 0x5c]
xor edi, edi
push edi
add ecx, 0x80
push ecx
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00534b10
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x88]
sub dword [esp + 0x40], ecx
mov edx, dword [eax + 0x8c]
sub dword [esp + 0x44], edx
mov edx, dword [esi + 0x5c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov ecx, dword [eax + 8]
mov edi, dword [esi + 0x70]
add ecx, ebx
mov dword [esp + 0x48], ecx
sub edx, dword [eax + 0x28]
add esp, 0x10
sub edx, dword [eax + 8]
add edi, 0xa8
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], ebp
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x1c]
add ecx, 1
sub edx, 2
cmp byte [0x992082], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
je 0x653680
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi]
je 0x653696
push 0x1ab9950
call dword [0x79428c]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
call fcn.005347d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esi + 0x5c]
mov edi, dword [esi + 0x70]
add ecx, ebx
mov dword [esp + 0x48], ecx
sub edx, dword [eax + 0x88]
add esp, 0x10
sub edx, dword [eax + 0x68]
add edi, 0xa8
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x7c]
mov edx, dword [esi + 0x60]
mov dword [esp + 0x44], ecx
sub edx, dword [eax + 0x7c]
add edx, ebp
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x70]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x7c]
add ecx, 1
sub edx, 2
cmp byte [0x992082], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
je 0x653721
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi]
je 0x653737
push 0x1ab9950
call dword [0x79428c]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
call fcn.005347d0
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x60]
mov dword [esp + 0x48], ebx
mov ecx, dword [eax + 0x38]
mov edi, dword [esi + 0x70]
mov dword [esp + 0x50], ecx
sub edx, dword [eax + 0x6c]
add esp, 0x10
sub edx, dword [eax + 0xc]
add edi, 0xa8
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0xc]
add ecx, ebp
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x3c]
add ecx, 1
sub eax, 2
cmp byte [0x992082], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
je 0x6537b3
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi]
je 0x6537c9
push 0x1ab9950
call dword [0x79428c]
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
push ecx
push edi
call fcn.005347d0
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x5c]
sub edx, dword [eax + 0x58]
mov edi, dword [esi + 0x70]
add edx, ebx
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 0x58]
mov edx, dword [esi + 0x60]
mov dword [esp + 0x50], ecx
sub edx, dword [eax + 0x8c]
add esp, 0x10
sub edx, dword [eax + 0x2c]
add edi, 0xa8
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0x2c]
add ecx, ebp
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x5c]
add ecx, 1
sub eax, 2
cmp byte [0x992082], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
je 0x653850
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov edi, dword [edi]
je 0x653866
push 0x1ab9950
call dword [0x79428c]
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
push ecx
push edi
call fcn.005347d0
add esp, 0x10
jmp 0x6538c1
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x60]
add ecx, 0x48
mov dword [esp + 0x40], edx
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], eax
call fcn.00535830
mov eax, 1
add dword [esp + 0x30], eax
add dword [esp + 0x34], eax
mov eax, 2
sub dword [esp + 0x38], eax
add esp, 8
sub dword [esp + 0x34], eax
mov eax, dword [esi + 0x70]
cmp byte [eax + 0x30], 0
je 0x6538db
add eax, 0x31
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.005358f0
add esp, 8
sub dword [esp + 0x50], 4
mov eax, 2
add dword [esp + 0x48], eax
sub dword [esp + 0x4c], eax
cmp byte [esi + 0x9fb], 0
mov ecx, esi
je 0x653914
call fcn.005d2120
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, esi
call fcn.00652c30
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x48
ret 0xc
mov edi, dword [esi]
add edi, 0x158
call fcn.005d2120
lea edx, [esp + 0x48]
mov ecx, esi
push eax
mov eax, dword [edi]
push edx
call eax
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x48
ret 0xc