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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6034bd
sub esp, 0x70
mov eax, 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
test ecx, ecx
setne cl
test edx, edx
setne dl
or edx, ecx
mov byte [esp + 0x2e], dl
test dl, dl
jne 0x603181
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
jmp 0x6031bd
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004f14f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov byte [esp + 0x2f], 1
mov eax, dword [esp + 0x7c]
mov ebx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], ebx
lea esi, [eax + 8]
mov dword [esp + 0x4c], esi
lea edi, [esp + 0x54]
call fcn.004778be
lea edi, [esp]
lea esi, [esp + 0x54]
call fcn.004778be
call fcn.004b5fa0
movzx eax, byte [esp + 0x14]
test al, al
je 0x6031fe
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
movzx edx, byte [esp + 0x2e]
jmp 0x603248
lea edi, [esp + 0x54]
mov esi, dword [esp + 0x4c]
call fcn.004778be
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x54]
call fcn.004778be
call fcn.004f0cf0
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x2e]
or edx, 2
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
mov byte [esp + 0x2f], dl
mov byte [esp + 0x2d], dl
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x18], ebp
call fcn.004fccf0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x6032fb
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
movzx eax, byte [esp + 0x2d]
test al, 2
je 0x6032e3
and eax, 0xfffffffd
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x2d]
test al, 1
je 0x6032f7
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
lea edx, [0x732178]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004d3630
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x60333f
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x90]
test ecx, ecx
jne 0x60335c
call fcn.005e0fc0
mov eax, dword [esp]
mov ecx, eax
mov eax, dword [esp + 0x38]
mov edx, dword [ecx + 0x44]
test edx, edx
jne 0x6033a2
mov dword [esp], ecx
call fcn.005e0050
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x44], ecx
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x603389
mov ecx, dword [esp + 0x88]
jmp 0x60339d
call fcn.004772f0
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov edx, dword [eax + 0x40]
mov dword [edi + 4], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00603050
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
call fcn.005e7250
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x60343d
mov eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
movzx eax, byte [esp + 0x2d]
test al, 2
je 0x603425
and eax, 0xfffffffd
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x2d]
test al, 1
je 0x603439
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [esp], edx
call ecx
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
movzx eax, byte [esp + 0x2d]
test al, 2
je 0x60349c
and eax, 0xfffffffd
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x2d]
test al, 1
je 0x6034b0
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
call fcn.00475ee0
jmp fcn.00603110