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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c7ed5
sub esp, 0x70
call fcn.004c7870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp]
test eax, eax
jne 0x4c7ea8
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], ebx
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x4c7bec
inc eax
mov ebx, dword [esp + 0x40]
cmp eax, edx
jge 0x4c7e9d
mov edi, dword [ebx + eax*4]
mov ebx, dword [edi + 4]
test ebx, ebx
jne 0x4c7c01
mov ebx, dword [edi + 0x48]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x74]
test edi, edi
je 0x4c7c25
cmp ebx, edi
jne 0x4c7be7
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x28]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0x2710
mov dword [esp + 8], 0x2710
call fcn.004786e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edi, [esp + 0x50]
mov edx, eax
xor eax, eax
call fcn.0044bb38
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x44]
cmp edx, 1
jne 0x4c7c8a
mov edx, dword [esp + 0x6c]
or edx, 1
mov dword [esp + 0x6c], edx
mov edx, dword [ecx + 0x40]
cmp edx, 0x18
ja 0x4c7e5c
cmp edx, 9
ja 0x4c7e2e
cmp edx, 6
jne 0x4c7e20
mov edx, dword [esp + 0x6c]
or edx, 0x12
mov dword [esp + 0x6c], edx
mov edx, dword [ecx + 0x3c]
cmp edx, 0xffffffff
jne 0x4c7e17
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [ecx + 0x34]
test edx, edx
ja 0x4c7dbf
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jg 0x4c7d83
mov ebp, dword [esp + 0x4c]
shl ecx, 5
lea edi, [ebp + ecx]
mov ecx, dword [0x5e0f70]
test ecx, ecx
jne 0x4c7d4d
lea esi, [esp + 0x50]
call fcn.0044c000
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x74]
cmp esi, ecx
je 0x4c7d24
mov eax, dword [esp + 0x38]
mov edi, esi
mov esi, edx
mov ecx, ebp
mov edx, dword [esp + 0x2c]
mov ebp, ebx
jmp 0x4c7be7
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
lea eax, [0x5138e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0040e090
xor eax, eax
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
jmp 0x4c7d03
lea eax, [0x5138e0]
mov dword [esp], eax
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438000
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x24]
jmp 0x4c7ce9
mov dword [esp + 8], edx
lea eax, [0x5035e0]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00437f30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x44]
add ecx, 0x2c
test byte [ecx], al
cmp edx, 8
jle 0x4c7e00
mov edx, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044c240
xor eax, eax
jmp 0x4c7cd2
mov dword [esp + 0x54], edx
jmp 0x4c7cc7
cmp edx, 9
je 0x4c7ca8
jmp 0x4c7cb3
cmp edx, 0x17
jne 0x4c7e43
mov edx, dword [esp + 0x6c]
or edx, 0x18
mov dword [esp + 0x6c], edx
jmp 0x4c7cb3
cmp edx, 0x18
jne 0x4c7cb3
mov edx, dword [esp + 0x6c]
or edx, 0x14
mov dword [esp + 0x6c], edx
jmp 0x4c7cb3
cmp edx, 0x47
ja 0x4c7e84
cmp edx, 0x25
jne 0x4c7e76
mov edx, dword [esp + 0x6c]
or edx, 0x1a
mov dword [esp + 0x6c], edx
jmp 0x4c7cb3
cmp edx, 0x47
je 0x4c7ca8
jmp 0x4c7cb3
cmp edx, 0x83
je 0x4c7e33
cmp edx, 0x90
je 0x4c7ca8
jmp 0x4c7cb3
mov edx, esi
mov ebx, ebp
mov ebp, ecx
jmp 0x4c7d24
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x70
ret
call fcn.00449fd0
jmp fcn.004c7ba0