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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59aa58
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push eax
call fcn.004d0190
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4cf31c
mov ebx, dword [esp + 0x80]
xor ecx, ecx
test ebx, ebx
setne cl
push edi
add ecx, 2
xor edi, edi
mov dword [esp + 0x14], ecx
test ecx, ecx
mov dword [esp + 0x10], edi
jle 0x4cf2f8
push ebp
test edi, edi
jne 0x4cf0f1
mov dword [esp + 0x10], eax
jmp 0x4cf107
cmp edi, 1
jne 0x4cf103
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
jmp 0x4cf107
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x84]
test edx, edx
je 0x4cf131
test edi, edi
jne 0x4cf11e
lea ebp, [esi + 0x334]
jmp 0x4cf14e
cmp edi, 1
lea ebp, [esi + 0x414]
je 0x4cf14e
lea ebp, [esi + 0x4f4]
jmp 0x4cf14e
test edi, edi
jne 0x4cf13d
lea ebp, [esi + 0x94]
jmp 0x4cf14e
cmp edi, 1
lea ebp, [esi + 0x174]
je 0x4cf14e
lea ebp, [esi + 0x254]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4cf2ea
lea eax, [esp + 0x3c]
push eax
push edx
call dword [0x5e92d0]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x50]
push ecx
push 0x18
push edx
call dword [0x5e95b0]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
test edi, edi
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], ecx
jne 0x4cf27b
lea ecx, [esp + 0x1c]
call fcn.0055ad94
push edi
mov dword [esp + 0x74], edi
call dword [0x5e9528]
push eax
lea ecx, [esp + 0x20]
call fcn.0055ae4b
mov edx, dword [esp + 0x4c]
push 0x2000
push edi
push edi
push edi
push edx
call dword [0x5e934c]
mov ebx, eax
test ebx, ebx
je 0x4cf26a
mov eax, dword [esp + 0x20]
push ebx
push eax
call dword [0x5e9518]
mov edi, eax
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov dword [esp + 0x34], eax
mov eax, 0x603790
xor edx, edx
neg eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov edx, dword [0x603794]
mov dword [esp + 0x38], ecx
sbb eax, eax
lea ecx, [esp + 0x2c]
and eax, edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call dword [0x5e926c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x90]
lea eax, [esp + 0x1c]
push 3
neg eax
sbb eax, eax
push 0
and eax, edx
mov edx, dword [esi + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push 0
push 0
push eax
call dword [0x5e92f8]
test edi, edi
je 0x4cf25f
mov edx, dword [esp + 0x20]
push edi
push edx
call dword [0x5e9518]
push ebx
call dword [0x5e9540]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 0xffffffff
call fcn.0055aec9
mov eax, dword [esp + 0x4c]
mov ebx, dword [0x5e9540]
push eax
call ebx
mov ecx, dword [esp + 0x48]
push ecx
call ebx
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x58]
mov dword [ebp + 4], eax
test ebx, ebx
mov dword [ebp + 8], ecx
jne 0x4cf2ce
mov eax, dword [0x603720]
mov ecx, dword [ebp + 0xa4]
cmp eax, ecx
je 0x4cf2ce
push ebx
mov ecx, ebp
mov dword [ebp + 0xa4], eax
call fcn.004cd3b0
push 1
mov ecx, ebp
call fcn.004cd3b0
mov edx, dword [esp + 0x10]
push ebx
push edx
mov ecx, ebp
call fcn.004cba30
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x88]
inc edi
cmp edi, ecx
mov dword [esp + 0x14], edi
jl 0x4cf0e7
pop ebp
mov ecx, dword [esp + 0x78]
pop edi
test ecx, ecx
je 0x4cf31c
mov esi, dword [0x5e92c8]
push eax
call esi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4cf315
push eax
call esi
test ebx, ebx
je 0x4cf31c
push ebx
call esi
mov ecx, dword [esp + 0x60]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x18