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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov ebx, dword [ebp + 0x10]
lea eax, [esi + 0x120]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4497d0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov eax, dword [ebx + 4]
and eax, 0x4a
mov dword [esi + 0x38], edx
je 0x4c4b5e
cmp eax, 0x40
je 0x4c4b67
cmp eax, 8
jne 0x4c4b70
mov dword [esi + 8], 0x10
jmp 0x4c4b77
mov dword [esi + 8], 0
jmp 0x4c4b77
mov dword [esi + 8], 8
jmp 0x4c4b77
mov dword [esi + 8], 0xa
lea eax, [esi + 0xe]
mov word [eax], 0xffff
xor edi, edi
dec edi
lea edx, [esi + 0x40]
mov dword [edx + 0x30], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [edx + 0x20], xmm0
movdqa xmmword [edx + 0x10], xmm0
movdqa xmmword [edx], xmm0
mov ecx, ebx
call fcn.004c6c60
lea ecx, [esi + 0x2c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edx, ebx
lea eax, [esi + 0xe]
push eax
call fcn.004c6b50
add esp, 4
xor eax, eax
lea ecx, [esi + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x128], eax
push eax
push 0xa
call fcn.00475e80
cmp byte [esi + 0x1b], 0
lea eax, [esi + 0x10]
jns 0x4c4be1
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x20]
mov dword [esi + 4], eax
mov dword [ecx], eax
lea edi, [esi + 0x78]
push 0xa0
push 0xff
push edi
call fcn.00498980
add esp, 0xc
lea eax, [esi + 0x28]
mov dword [eax], edi
lea eax, [esi + 0x24]
mov dword [eax], 0
movzx eax, word [esi + 0xe]
mov dword [esi + 0x3c], eax
lea ecx, [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004bf800
test al, al
jne 0x4c4d44
mov eax, dword [esi + 0x20]
movzx edx, byte [esi + 0x1b]
test dl, dl
mov ebx, dword [esi + 4]
jns 0x4c4c39
mov edx, dword [esi + 0x14]
lea ecx, [ebx + edx]
cmp eax, ecx
je 0x4c4ca1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [esi + 4], ebx
je 0x4c4ced
movzx eax, word [eax]
movzx ecx, ax
mov edx, dword [esi + 8]
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x2c]
push eax
push dword [esi + 0x3c]
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x20]
push eax
push ebx
call fcn.004c62c0
add esp, 0x20
test eax, eax
jne 0x4c4d44
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4c4d1a
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x4c4c14
mov dword [esi + 4], edx
lea eax, [edx + edx]
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.00475e80
mov eax, dword [esi + 0x18]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0x1b], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.00475e80
cmp byte [esi + 0x1b], 0
lea ebx, [esi + 0x10]
jns 0x4c4ce0
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 4]
add eax, ebx
mov dword [esi + 0x20], eax
jmp 0x4c4c40
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x128], 0
mov ecx, edi
call ebx
mov ebx, dword [esi + 4]
jmp 0x4c4c55
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x128], 0
mov ecx, edi
call ebx
jmp 0x4c4c14
mov ecx, dword [esi + 4]
movzx eax, byte [esi + 0x37]
test al, al
jns 0x4c4d52
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x28]
test eax, eax
je 0x4c4d6f
mov eax, edi
lea edx, [esi + 0x78]
sub eax, edx
cmp eax, 0x9f
jg 0x4c4d6f
mov eax, dword [esi + 0x24]
mov dword [edi], eax
add edi, 4
mov edx, dword [esi + 0x20]
push dword [esi + 8]
mov ebx, dword [ebp + 0x14]
push ebx
call fcn.004d2df0
add esp, 8
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 4], edx
mov dword [ecx], eax
lea ecx, [esi + 0x2c]
lea edx, [esi + 0x78]
push ebx
push edi
call fcn.004ccc70
add esp, 8
lea ecx, [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004bf800
test al, al
je 0x4c4daf
mov eax, dword [ebp + 0x14]
or byte [eax], 2
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0x38]
mov dword [edi], eax
cmp byte [esi + 0x1b], 0
jns 0x4c4dc8
push dword [esi + 0x10]
call fcn.00494aa1
add esp, 4
cmp byte [esi + 0x37], 0
jns 0x4c4dd9
push dword [esi + 0x2c]
call fcn.00494aa1
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret