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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x617377
sub esp, 0x90
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x15]
test cl, cl
jne 0x616d06
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov edx, dword [ecx + 0x2c]
mov edx, dword [edx + 0x48]
nop
test edx, edx
jle 0x616d23
lea eax, [0x720240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov byte [eax + 0xc], 1
mov byte [eax + 0xd], 1
mov ecx, dword [0x967be4]
mov edx, dword [0x967be8]
mov ebx, dword [0x967be0]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x616ca9
call fcn.00468e60
mov dword [edi], ebx
mov dword [esp + 0x70], eax
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x2c]
mov edx, dword [edx + 0x4c]
test edx, edx
je 0x61727a
mov dword [esp + 0x8c], edx
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x6e9a40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044e560
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x38]
xor ebp, ebp
jmp 0x61730f
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x90
ret
lea eax, [0x7180c0]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov ecx, dword [0x995310]
mov edx, dword [esp + 0x94]
mov esi, dword [edx + 0x1c]
test byte [esi], al
lea edi, [eax + 0xc]
test ecx, ecx
je 0x616d8f
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
lea eax, [0x720100]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.00411b70
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
call fcn.0046957a
mov ecx, dword [edx + 0xc]
movzx ecx, byte [ecx + 0xac]
test cl, cl
je 0x616daf
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
setne cl
jmp 0x616db1
xor ecx, ecx
mov byte [eax + 0x49], cl
mov ecx, dword [edx + 0xc]
movzx ecx, byte [ecx + 0x48]
test cl, cl
je 0x616dcc
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
setne cl
jmp 0x616dce
xor ecx, ecx
mov byte [eax + 0x48], cl
mov ecx, dword [edx]
mov dword [esp + 0x80], ecx
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x64]
mov dword [esp + 0x7c], 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 + 0x80]
mov dword [esp], ecx
lea ecx, [0x7b1a4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.005eae30
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x617240
lea eax, [0x718040]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov byte [eax + 0xc], 1
mov ecx, dword [esp + 0x94]
movzx edx, word [ecx + 0x20]
mov word [eax + 0xe], dx
movzx edx, word [ecx + 0x20]
mov word [esp], dx
call fcn.005dfcf0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x617212
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x60]
mov ebx, dword [ecx + 0x64]
movzx ebp, byte [esp + 4]
xchg ebp, eax
mov byte [esp + 0x37], al
xchg ebp, eax
mov dword [esp], eax
lea esi, [0x747b18]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005dfab0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call fcn.00409c30
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x37]
cmp cl, 0xe2
je 0x616ef1
lea edx, [0x7b0ee4]
jmp 0x616f16
lea eax, [0x70b640]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
lea edx, [0x7b0ffc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x94]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x7c], ebx
lea esi, [0x703920]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00409fd0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x616f56
mov ecx, dword [ecx + 4]
jmp 0x616f62
mov edx, dword [0x96eaa8]
mov ecx, dword [0x96eaac]
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], ecx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x617081
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
mov eax, dword [0x995310]
test eax, eax
je 0x616fdf
call fcn.00468e70
mov dword [edi], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x10], edx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x7c], eax
lea ebp, [0x6ff340]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409e40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
lea ecx, [0x7b1a04]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.005eae30
mov eax, dword [esp + 0x18]
test eax, eax
je 0x617064
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x90
ret
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x7c], eax
lea edx, [0x703920]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409fd0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call eax
lea eax, [0x706680]
cmp dword [esp + 4], eax
jne 0x6170d1
mov eax, dword [esp + 8]
jmp 0x6170d6
mov eax, 0
jne 0x617162
movzx ecx, byte [esp + 0x37]
cmp cl, 0xe2
jne 0x617162
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebx, dword [esp + 0x4c]
lea ebp, [ebx - 1]
mov dword [esp + 0x54], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004f2d80
mov eax, dword [esp + 0x54]
cmp eax, 0x13
jae 0x617262
mov ecx, dword [0x967d34]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jbe 0x61725d
mov ecx, dword [esp + 0xc]
mov edx, ecx
sar ecx, 0x1f
shr ecx, 0x1d
add ecx, edx
sar ecx, 3
mov edx, dword [0x967d30]
movzx eax, byte [edx + eax]
shl eax, 1
add eax, 2
cmp ecx, eax
jge 0x617162
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005e9f50
jmp 0x617173
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e9f50
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x746325]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00452120
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
lea edx, [0x701240]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6171ea
mov ecx, dword [esp + 0x5c]
jmp 0x6171f5
call fcn.00468e60
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e9f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
call fcn.00468ee0
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b06e8]
mov dword [esp + 4], eax
call fcn.00438b10
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x60]
mov ebx, dword [eax + 0x64]
mov dword [esp + 0x7c], ebx
lea ebp, [0x6ff340]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409e40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
lea ecx, [0x7b1a34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.005eae30
mov eax, dword [esp + 0x18]
test eax, eax
je 0x616d23
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
mov dword [edx + ebx*4], eax
add ecx, 0x10
inc ebp
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x38]
cmp ebp, eax
jge 0x617344
cmp ebp, ebx
jae 0x61736d
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
lea ebx, [ebp + ebp*2]
mov eax, dword [ecx]
mov dword [edx + ebx*4 + 4], esi
mov dword [edx + ebx*4 + 8], edi
mov esi, dword [0x995310]
test esi, esi
je 0x617300
call fcn.00468e70
mov dword [edi], eax
mov esi, dword [edx + ebx*4]
mov dword [edi + 4], esi
jmp 0x617300
mov eax, dword [esp + 0x70]
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x617365
call fcn.00468e70
mov dword [edi], edx
mov ecx, dword [eax + 0x28]
mov dword [edi + 4], ecx
mov dword [eax + 0x28], edx
jmp 0x61727a
mov eax, ebp
mov ecx, ebx
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.00616c20