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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x7023d4
sub esp, 0x124
mov eax, dword [esp + 0x130]
test eax, eax
je 0x702381
mov ecx, dword [esp + 0x12c]
movzx edx, byte [ecx]
cmp dl, 0x2d
je 0x701f95
cmp dl, 0x2a
jne 0x701b2c
lea edx, [eax - 1]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 1
add edx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00702560
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test ebp, ebp
je 0x701a3c
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0xa0], eax
je 0x701a35
mov eax, dword [ebp + 4]
mov dword [esp + 0x70], eax
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
lea ecx, [0x7b48a0]
mov dword [esp], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
call fcn.004074b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xf0], eax
lea eax, [0x83e95c]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b4cd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
mov eax, ebp
jmp 0x701972
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
lea eax, [0x7dc420]
mov dword [esp], eax
call fcn.00409c40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00700d60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x701b0f
je 0x701a9d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea eax, [0x83c2d2]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b4cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0x124
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.007023e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x701c57
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x90], eax
je 0x701c50
mov eax, dword [ebx + 4]
mov dword [esp + 0x70], eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea ecx, [0x7b48a0]
mov dword [esp], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 4], ecx
call fcn.004074b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xe0], eax
lea eax, [0x83e95c]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0xd4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b4cd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
mov eax, ebx
jmp 0x701b8d
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], edi
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.00702560
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
je 0x701d79
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], edx
je 0x701cb6
mov ecx, dword [ecx + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea eax, [0x7b48a0]
mov dword [esp], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
call fcn.004074b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd0], eax
lea eax, [0x84a108]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
lea eax, [esp + 0xc4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b4cd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x40]
cmp eax, 1
jne 0x701da4
mov ecx, dword [esp + 0x5c]
movzx edi, byte [ecx]
xchg edi, eax
cmp al, 0x2a
xchg edi, eax
je 0x701ecb
lea eax, [0x7dc420]
mov dword [esp], eax
call fcn.00409c40
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
lea ecx, [0x832f51]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
call fcn.0043bd90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
call fcn.00700f80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x701eae
je 0x701e4b
mov eax, dword [eax + 4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x83c2d2]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b4cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0x124
ret
lea eax, [0x7dc420]
mov dword [esp], eax
call fcn.00409c40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00700e00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x701eae
je 0x701f2c
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
lea eax, [0x83c2d2]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b4cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
lea edx, [eax - 1]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 1
add edx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.007023e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
test ecx, ecx
je 0x7020bc
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x12c]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 0xc0], edx
je 0x701ff9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
lea eax, [0x7b48a0]
mov dword [esp], eax
lea eax, [esp + 0xbc]
mov dword [esp + 4], eax
call fcn.004074b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x120], eax
lea eax, [0x83e95c]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x114]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b4cd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
cmp ebx, 1
jne 0x7020ce
movzx eax, byte [ebp]
cmp al, 0x2a
je 0x7022a2
test edx, edx
jne 0x7021c3
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], esi
lea eax, [0x832f51]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
call fcn.0043bd90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x128]
mov dword [esp], eax
call fcn.007011c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x7021a6
je 0x702134
mov ecx, dword [ecx + 4]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
lea eax, [0x83c2d2]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b4cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0x124
ret
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
lea eax, [0x7b48a0]
mov dword [esp], eax
lea ecx, [esp + 0xac]
mov dword [esp + 4], ecx
call fcn.004074b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
lea eax, [0x7b48a0]
mov dword [esp + 0xfc], eax
lea eax, [0x8b1088]
mov dword [esp + 0x100], eax
lea eax, [0x83e95c]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0xf4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b4cd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
lea eax, [0x7b48a0]
mov dword [esp], eax
lea ecx, [esp + 0xb4]
mov dword [esp + 4], ecx
call fcn.004074b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
lea eax, [0x7b48a0]
mov dword [esp + 0x10c], eax
lea eax, [0x8b1080]
mov dword [esp + 0x110], eax
lea eax, [0x83e95c]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x104]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b4cd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
lea eax, [0x7d00e0]
mov dword [esp], eax
call fcn.00409c40
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x38
mov eax, dword [0xb92b90]
test eax, eax
jne 0x7023c7
lea eax, [0x84e3d0]
mov dword [edi], eax
lea eax, [0x8b2890]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], edi
add esp, 0x124
ret
lea eax, [0x84e3d0]
call fcn.0044c990
jmp 0x7023ac
call fcn.0044b230
jmp fcn.007018c0