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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x705431
sub esp, 0x74
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x70502c
mov ebx, ecx
mov ecx, eax
movzx eax, byte [esp + 0x1f]
test al, al
jne 0x705402
mov byte [esp + 0x1f], al
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00472580
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.004470b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x7053f8
cmp dword [0xc70e90], edx
jne 0x7053de
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov ecx, dword [0xc70e94]
mov dword [esp + 8], ecx
call fcn.004033f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x7053de
mov eax, 1
mov byte [esp + 0x1f], al
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004ef620
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test ecx, ecx
jne 0x705113
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
jmp 0x705023
movzx ebx, byte [edx]
cmp bl, 0x3b
jne 0x705128
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
jmp 0x705023
cmp bl, 0x23
je 0x70511b
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x5c], edx
mov eax, dword [0xc7033c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00701170
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x7052a2
cmp ecx, 2
jbe 0x705426
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x48], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004ef620
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
call fcn.004ef620
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
lea edx, [0x810be0]
mov dword [esp], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
call fcn.0040fa20
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x705247
lea ecx, [0x7e0fe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.00410110
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x70523c
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x40]
jmp 0x705023
mov eax, dword [esp + 0x48]
call fcn.00459d90
jmp 0x705229
call fcn.0040b7c0
mov eax, dword [esp]
mov dword [esp + 0x4c], eax
lea ecx, [0x810be0]
mov dword [esp], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xc], ebp
call fcn.00410110
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0xc83da0]
test eax, eax
jne 0x705294
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x7051ec
mov eax, dword [esp + 0x4c]
call fcn.00459d90
jmp 0x7051ec
mov eax, dword [0xc70340]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.00701170
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x70537e
cmp ecx, 1
jbe 0x70541c
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ef620
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
nop
lea edx, [0x810be0]
mov dword [esp], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call fcn.0040fa20
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x705329
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
jmp 0x705231
call fcn.0040b7c0
mov eax, dword [esp]
mov dword [esp + 0x50], eax
lea ecx, [0x810be0]
mov dword [esp], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
call fcn.00410110
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0xc83da0]
test eax, eax
jne 0x705373
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x70531c
mov eax, dword [esp + 0x50]
call fcn.00459d90
jmp 0x70531c
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
lea eax, [0x98b3b0]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
call fcn.00408660
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
add esp, 0x74
ret
movzx eax, byte [esp + 0x1f]
jmp 0x7050dd
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x74
ret
mov eax, 1
call fcn.00459e10
mov eax, 2
call fcn.00459e10
nop
call fcn.00458550
jmp fcn.00705000