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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x616c82
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.00614f90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x616ad1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x7c]
cmp eax, 5
jge 0x616850
xor ebp, ebp
jmp 0x616885
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x6b8bb5]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.00402430
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x7c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x616894
mov ecx, dword [esp + 0x78]
jmp 0x616945
lea eax, [0x679c80]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x6b9473]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0040e0d0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x6168cd
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x616945
lea eax, [0x679c80]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ecx, [0x6b9473]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.004691c0
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 5
mov ecx, dword [0x90f128]
test ecx, ecx
je 0x616913
mov ecx, dword [eax]
call fcn.00471460
mov dword [edi], ecx
lea ecx, [0x6b8bab]
mov dword [eax], ecx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.006136d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.004b78e0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
call fcn.00466070
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.00466070
mov eax, dword [esp + 8]
lea ecx, [0x8efbd0]
mov dword [esp], ecx
lea ecx, [0x6765e0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0047a690
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00466070
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00466070
mov eax, dword [esp + 8]
lea ecx, [0x8efbf0]
mov dword [esp], ecx
lea ecx, [0x6765e0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0047a690
lea eax, [0x90ef40]
mov dword [esp], eax
call fcn.0047aea0
lea eax, [0x616c90]
mov dword [esp + 0x60], eax
lea eax, [0x90ef40]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x68], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
lea edx, [0x8efc10]
mov dword [esp], edx
lea ebx, [0x6765e0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x58]
mov dword [esp + 8], ebp
call fcn.00479f30
movzx eax, byte [esp + 0x14]
test al, al
je 0x616ab1
mov eax, dword [esp + 0xc]
lea ecx, [0x66bf80]
cmp eax, ecx
jne 0x616c62
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x616abd
lea ecx, [0x66bf80]
xor eax, eax
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
jmp 0x616aee
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
inc esi
lea ecx, [0x66bf80]
cmp ebx, esi
jle 0x616b5c
lea edi, [edx + esi*8]
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x616ae7
mov dword [esp + 0x38], esi
mov eax, dword [edi]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x616b35
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
jmp 0x616ae7
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
inc ebx
cmp eax, ebx
jae 0x616b99
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6765e0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [0x66bf80]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
lea esi, [edx + ebx*8 - 4]
mov dword [esi], ebp
mov ebp, dword [0x90f128]
lea esi, [edx + ebx*8 - 8]
test ebp, ebp
jne 0x616bbf
mov ebp, dword [esp + 0x48]
jmp 0x616bcf
call fcn.00471470
mov ebp, dword [esp + 0x48]
mov dword [edi], ebp
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov dword [esi], ebp
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00466070
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.004660f0
mov eax, dword [esp + 0xc]
lea ecx, [0x8efc10]
mov dword [esp], ecx
lea ecx, [0x6765e0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x66bf80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0047a690
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
nop
call fcn.004359f0
add esp, 0x6c
ret
call fcn.00470060
jmp fcn.006167d0