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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x616c0a
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x64], edx
mov ebx, dword [eax + 0x60]
mov ebp, dword [eax]
mov dword [esp + 0x4c], ebp
lea esi, [0x6ff340]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00409e40
lea eax, [0x7b1a64]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
call fcn.0060dcd0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x616bed
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 0x60]
mov ebp, dword [eax + 0x64]
mov dword [esp + 0x64], ebp
lea esi, [0x6ff340]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00409e40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
lea ecx, [0x7b1a7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.005eae30
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x616bd0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x616488
xor ecx, ecx
xor edx, edx
jmp 0x6164b7
movzx ecx, byte [eax + 0x14]
test cl, cl
je 0x616496
xor ecx, ecx
xor edx, edx
jmp 0x6164b7
mov byte [eax + 0x14], 1
mov ecx, dword [eax]
mov dword [esp], ecx
call fcn.005eafd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x9c]
test ecx, ecx
jne 0x616bbb
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
mov ebx, dword [eax + 0x2c]
test ecx, ecx
jne 0x61651a
mov ecx, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0061b8f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x9c]
mov ebp, dword [eax + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea ecx, [0x73b13b]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 7
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.0061b7d0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.0061b8f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x9c]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov ebp, dword [0x995310]
test ebp, ebp
je 0x6165c2
call fcn.00468e70
mov dword [edi], edx
mov ebp, dword [ebx + 0x3c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x3c], edx
mov ebp, dword [ebx + 0x18]
mov esi, dword [ebx + 0x60]
mov edi, dword [ebx + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x73cd3e]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.0061b7d0
mov eax, dword [esp + 0x4c]
test byte [eax], al
lea ecx, [eax + 0xcc]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x9c]
mov edi, dword [esi + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
call fcn.005e5070
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x3c]
mov ebx, dword [eax + 0x40]
mov ebp, dword [eax + 0x44]
mov esi, dword [eax + 0x60]
mov edi, dword [eax + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea ecx, [0x73cd4a]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.0061b7d0
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 0x128]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x9c]
mov edi, dword [esi + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
call fcn.005e5070
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x61692b
mov ecx, dword [eax + 0x1bc]
cmp dword [eax + 0x1b4], ecx
je 0x61670b
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e9f50
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x18]
movzx edx, word [edx]
lea edi, [esp + 0x80]
mov ebx, eax
xor eax, eax
call fcn.004690fa
mov dword [esp + 0x80], 2
mov dword [esp + 0x84], 2
mov word [esp + 0x94], dx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x8c], edx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x90], ebp
mov esi, dword [ebx + 0x10]
mov edi, dword [esi + 8]
mov ebp, dword [esi + 4]
inc ebp
mov edx, dword [esi]
cmp edi, ebp
jae 0x6167d8
mov dword [esp + 0x58], esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x717ec0]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 8], eax
mov eax, dword [0x995310]
test eax, eax
je 0x6167c6
call fcn.00468e70
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
xor eax, eax
mov esi, ebx
mov ebp, edx
mov edx, ecx
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
mov dword [esi + 4], ebp
mov esi, dword [0x995310]
lea ebp, [ebp + ebp*2]
lea edi, [edx + ebp*8 - 0x18]
test esi, esi
je 0x61681c
mov dword [esp + 0x54], edi
lea eax, [0x717ec0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
call fcn.00411b70
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
lea esi, [esp + 0x80]
call fcn.004695d4
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x18]
movzx edx, word [edx]
lea edi, [esp + 0x68]
call fcn.004690fa
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 2
mov word [esp + 0x7c], dx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x74], edx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x78], ebp
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
inc edi
mov ebp, dword [eax]
cmp esi, edi
jae 0x6168de
mov dword [esp + 0x58], eax
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x717ec0]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 8], eax
mov eax, dword [0x995310]
test eax, eax
je 0x6168ca
call fcn.00468e70
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, dword [esp + 0x4c]
mov edi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edi
mov eax, dword [0x995310]
lea esi, [edi + edi*2]
lea edi, [ebp + esi*8 - 0x18]
test eax, eax
je 0x616920
mov dword [esp + 0x54], edi
lea eax, [0x717ec0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
call fcn.00411b70
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
lea esi, [esp + 0x68]
call fcn.004695d4
jmp 0x616931
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x9c]
mov ebp, dword [ecx + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x18]
mov dword [esp], eax
lea eax, [0x7462e7]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
call fcn.005e4710
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x616b7d
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 0xc]
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
mov dword [esp], ecx
lea ecx, [0x746306]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
call fcn.005e4710
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x616b3f
lea eax, [0x718140]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0xc8]
mov ebx, dword [ecx + 0xc4]
mov dword [eax + 0x10], edx
mov edx, dword [0x995310]
test edx, edx
je 0x616a27
call fcn.00468e60
mov dword [edi], ebx
mov dword [esp + 0x44], eax
mov dword [eax + 0xc], ebx
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x616a3e
mov eax, dword [esp + 0x9c]
jmp 0x616a90
mov dword [esp], ecx
call fcn.0061e380
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x616b22
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x44]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov eax, dword [0x995310]
test eax, eax
je 0x616a7f
call fcn.00468e70
mov dword [edi], edx
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov dword [ebx + 0x14], edx
mov eax, dword [esp + 0x9c]
movzx ecx, byte [eax + 0x16]
mov byte [ebx + 0x20], cl
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x64], eax
lea ebx, [0x6ff340]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00409e40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
lea ecx, [0x7b1a94]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.005eae30
mov eax, dword [esp + 0x18]
test eax, eax
je 0x616b05
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x98
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x98
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x98
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov byte [esp + 4], 0x50
call fcn.005e9f50
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov byte [esp + 4], 0x50
call fcn.005e9f50
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x98
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x98
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x98
ret
call fcn.00467a60
jmp fcn.00616390