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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4cb526
sub esp, 0x88
mov eax, dword [0x5fbbd8]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
lea edx, [0x51f9b1]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 6
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004c7f90
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
test eax, eax
jne 0x4cb0d3
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], ebp
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00461289
mov ecx, dword [esp + 0x8c]
mov esi, dword [ecx]
mov eax, ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x84], ebx
xor edx, edx
jmp 0x4cb1c3
mov dword [esp + 0x68], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x513700]
mov dword [esp], eax
call fcn.0040b1b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x51f9b1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cb11c
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
jmp 0x4cb12f
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x98]
call fcn.00461090
mov eax, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cb165
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x24], ecx
jmp 0x4cb175
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00461090
mov eax, ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x550160]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x88
ret
mov esi, dword [esp + 0x50]
lea edx, [esi + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x4c]
cmp edx, ebp
jge 0x4cb211
mov dword [esp + 0x50], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov dword [esp + 0x40], ebx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov ebp, dword [fcn.004cf920]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea edx, [0x52aea8]
call ebp
movzx eax, byte [esp + 8]
test al, al
je 0x4cb1a6
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
jmp 0x4cb21e
test ebp, ebp
jbe 0x4cb51c
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], edx
test edx, edx
je 0x4cb3ea
mov ebp, dword [edx + 8]
cmp ebp, 0x3e19b09
jne 0x4cb281
lea ebp, [0x5504cc]
cmp edx, ebp
jne 0x4cb3ea
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004db810
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebx, [0x550580]
jmp 0x4cb2d3
cmp ebp, 0x103a77be
jne 0x4cb3ea
lea ebp, [0x55049c]
cmp edx, ebp
jne 0x4cb3ea
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004da020
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebx, [0x550564]
test ecx, ecx
je 0x4cb3bf
mov dword [esp + 0x5c], edx
mov dword [esp + 0x48], ecx
lea eax, [0x513700]
mov dword [esp], eax
call fcn.0040b1b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x51f9b1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [eax + 0xc], edx
mov edx, dword [0x6265b0]
test edx, edx
jne 0x4cb31e
mov dword [eax + 8], ecx
jmp 0x4cb32c
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.00461090
mov eax, edx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cb354
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x1c], ecx
jmp 0x4cb364
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.00461090
mov eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cb37e
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x24], ecx
jmp 0x4cb38e
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00461090
mov eax, ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x550160]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x88
ret
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x88
ret
lea eax, [0x50b920]
mov dword [esp], eax
call fcn.0040b1b0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov dword [eax + 4], 0x17
lea ecx, [0x52468c]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cb42f
mov ecx, dword [esp + 0xa0]
mov dword [eax + 8], ecx
jmp 0x4cb43e
lea edi, [eax + 8]
mov eax, dword [esp + 0xa0]
call fcn.00461090
lea eax, [0x513700]
mov dword [esp], eax
call fcn.0040b1b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x51f9b1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [eax + 0xc], edx
mov edx, dword [0x6265b0]
test edx, edx
jne 0x4cb479
mov dword [eax + 8], ecx
jmp 0x4cb487
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.00461090
mov eax, edx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cb4af
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x1c], ecx
jmp 0x4cb4bf
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.00461090
mov eax, ecx
lea ecx, [0x550138]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cb4db
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x24], ecx
jmp 0x4cb4eb
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00461090
mov eax, ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x550160]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x88
ret
xor eax, eax
mov ecx, ebp
call fcn.00461110
nop
call fcn.0045fcc0
jmp fcn.004cafc0