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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x4c4daa
sub esp, 0x8c
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax]
test cl, cl
je 0x4c4b70
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
nop
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x4c4b54
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
jg 0x4c4a81
mov ebx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x4c4b05
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], edx
cmp ecx, 1
jne 0x4c4acd
lea eax, [0x534b80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447510
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
mov ecx, 1
mov ebp, eax
mov esi, 1
mov eax, dword [esp + 0x98]
jmp 0x4c4b05
lea eax, [0x534b80]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 8], edx
call fcn.00447510
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
mov ecx, ebx
mov ebp, eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x98]
cmp ecx, ebx
jg 0x4c4b0b
mov ebx, ecx
cmp ebp, edx
je 0x4c4b41
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045fce0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebp
movzx eax, byte [eax]
mov byte [esp + 0x5c], al
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4c4b66
movzx eax, byte [esp + 0x5c]
xor eax, 1
jmp 0x4c4b68
xor eax, eax
mov byte [esp + 0x5c], al
lea eax, [esp + 0x5c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x94]
movzx edx, byte [ecx]
test dl, dl
je 0x4c4bbd
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea edx, [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c2a70
mov eax, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea edx, [esp + 0x7c]
mov dword [esp], edx
lea ebx, [esp + 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004c3070
mov eax, dword [0x62c2dc]
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c2c70
mov eax, dword [esp + 8]
test eax, eax
jne 0x4c4d98
movzx ecx, byte [esp + 0x4c]
test cl, cl
jne 0x4c4d64
nop
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x4c]
cmp ecx, edx
je 0x4c4d8a
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp edx, ebp
jl 0x4c4c80
mov eax, ebp
jmp 0x4c4d00
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], esi
cmp ebp, 1
jne 0x4c4cca
lea eax, [0x534b80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447510
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x40]
mov ebp, 1
mov edx, 1
jmp 0x4c4d00
lea eax, [0x534b80]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
call fcn.00447510
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x40]
mov ebp, eax
mov edx, dword [esp + 0x18]
cmp ebp, eax
jg 0x4c4d06
mov eax, ebp
cmp ebx, esi
je 0x4c4d3c
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], ebx
mov dword [esp], ebx
mov dword [esp + 4], esi
shl eax, 2
mov dword [esp + 8], eax
call fcn.0045fce0
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x20]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov edx, dword [0x6573b0]
test edx, edx
jne 0x4c4d51
mov dword [ecx + 4], ebx
jmp 0x4c4d5b
lea edi, [ecx + 4]
mov eax, ebx
call fcn.0045f3d0
movzx eax, byte [esp + 0x4c]
mov byte [ecx], al
jmp 0x4c4d8a
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.004c2270
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x9c], ecx
add esp, 0x8c
ret
mov dword [esp + 0x9c], 0
add esp, 0x8c
ret
call fcn.0045e000
jmp fcn.004c4a10