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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x288]
cmp eax, 4
ja case.default.0x4c442f
mov ebp, ecx
lea ecx, [esi + 8]
mov dword [esp + 8], ecx
jmp dword [eax*4 + 0x830538]
mov ecx, esi
mov eax, edx
mov edx, dword [esp + 8]
mov edi, eax
push eax
call fcn.004c3450
add esp, 4
cmp eax, 1
jne 0x4c47fb
inc dword [edi]
mov dword [esi + 0x988], 0
push ebp
push dword [esi + 0x24]
call dword [esi + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
test eax, eax
je 0x4c44ad
cmp dword [edi], 1
ja 0x4c44b7
push ebp
push 0
push eax
call fcn.004f8b70
add esp, 0xc
mov eax, 1
jmp 0x4c47fb
mov ebx, dword [esi + 0x990]
jmp 0x4c457c
mov eax, dword [esi + 0x98c]
jmp 0x4c4542
mov eax, 0xffffffe1
jmp 0x4c47fb
mov eax, 0xffffffe7
jmp 0x4c47fb
mov edx, edi
mov dword [esi + 0x288], 1
mov ecx, dword [esi + 0xc]
cmp ecx, 5
jae 0x4c44ef
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x18]
je 0x4c47f6
mov dword [esp + 4], ebp
movzx ebx, byte [eax]
shl ebx, cl
or ebx, dword [esi + 8]
or ecx, 8
mov dword [esp], ecx
inc eax
mov dword [esi + 0x10], eax
jmp 0x4c44fc
mov dword [esp + 4], ebp
mov eax, dword [esp + 8]
mov ebx, dword [eax]
mov dword [esp], ecx
mov ebp, ebx
and ebp, 1
mov ecx, ebp
neg ecx
mov eax, ebx
shr eax, 1
and eax, 0xf
inc eax
xor edi, edi
cmp ebp, 1
sbb edi, edi
or edi, 0xfffffffb
add edi, dword [esp]
and eax, ecx
mov ecx, ebx
and cl, 1
shl cl, 2
inc cl
shr ebx, cl
mov dword [esi + 0x98c], eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
mov dword [esi + 0x288], 2
mov ebp, dword [esp + 4]
add eax, dword [edx]
lea edi, [esi + 0x994]
mov ecx, eax
mov edx, eax
push esi
push 0
push edi
call fcn.004c35c0
add esp, 0xc
cmp eax, 1
jne 0x4c47fb
mov dword [esi + 0x990], 0xffff
mov dword [esi + 0x288], 3
mov ebx, 0xffff
mov edx, dword [esi + 0x988]
mov eax, dword [esi + 0x98c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
cmp ebx, 0xffff
setne cl
cmp edx, ebp
setb al
or al, cl
cmp al, 1
jne case.0x4c442f.36
lea eax, [esi + 0x994]
mov dword [esp + 0x14], eax
mov dword [esp + 4], ebp
mov eax, dword [esi + 0xc]
test cl, 1
mov dword [esp], edx
jne 0x4c46e1
cmp eax, 0xf
jae 0x4c461e
mov ebx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
cmp ebx, edi
je 0x4c4626
movzx edx, byte [ebx]
mov ecx, eax
shl edx, cl
or edx, dword [esi + 8]
mov dword [esi + 8], edx
lea ecx, [eax + 8]
mov dword [esi + 0xc], ecx
lea ebp, [ebx + 1]
mov dword [esi + 0x10], ebp
cmp eax, 6
ja 0x4c465b
cmp ebp, edi
mov ebp, dword [esp + 4]
je 0x4c4626
movzx edx, byte [ebx + 1]
shl edx, cl
or edx, dword [esi + 8]
mov dword [esi + 8], edx
or eax, 0x10
mov dword [esi + 0xc], eax
add ebx, 2
mov dword [esi + 0x10], ebx
jmp 0x4c4661
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
jmp 0x4c4661
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.004c6720
add esp, 4
test eax, eax
je 0x4c47e2
mov ebx, dword [esp + 0x10]
mov edx, dword [esp]
test ebx, ebx
jne 0x4c46bb
mov eax, dword [esp + 0xc]
mov byte [eax + edx], 0
inc edx
xor ebx, ebx
jmp 0x4c46cb
mov eax, ecx
mov ebp, dword [esp + 4]
movzx ecx, dl
mov edi, dword [esp + 0x14]
lea ebx, [edi + ecx*4]
movzx ecx, byte [edi + ecx*4]
cmp ecx, 9
jb 0x4c469f
add eax, 0xfffffff8
shr edx, 8
movzx edi, word [ebx + 2]
mov dword [esp + 0x18], edi
mov edi, dword [0x88fc7c]
mov ecx, dword [edi + ecx*4 - 0x20]
and ecx, edx
and ecx, 0x7f
lea ecx, [ebx + ecx*4]
mov edi, dword [esp + 0x18]
lea ebx, [ecx + edi*4]
movzx ecx, byte [ecx + edi*4]
movzx edi, cl
sub eax, edi
shr edx, cl
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
movzx ebx, word [ebx + 2]
mov dword [esp + 0x10], ebx
mov edx, dword [esp]
test ebx, ebx
je 0x4c464e
mov eax, ebx
sub eax, dword [esp + 0x1c]
jbe 0x4c46de
mov ecx, dword [esp + 0xc]
mov byte [ecx + edx], al
inc edx
mov edi, edx
xor ecx, ecx
mov edx, edi
cmp edi, ebp
jb 0x4c45c0
jmp case.0x4c442f.36
mov eax, dword [esi + 0xc]
cmp eax, ebx
jae 0x4c4720
mov edi, dword [esi + 0x10]
mov ebp, dword [esi + 0x18]
nop dword [eax + eax]
cmp edi, ebp
je 0x4c47e7
movzx edx, byte [edi]
mov ecx, eax
shl edx, cl
or edx, dword [esi + 8]
mov dword [esi + 8], edx
add eax, 8
mov dword [esi + 0xc], eax
inc edi
mov dword [esi + 0x10], edi
cmp eax, ebx
jb 0x4c46f0
jmp 0x4c4726
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov ecx, dword [0x88fc7c]
mov edi, dword [ecx + ebx*4]
and edi, edx
sub eax, ebx
mov dword [esi + 0xc], eax
mov ecx, ebx
shr edx, cl
mov eax, 1
shl eax, cl
mov dword [esi + 8], edx
add eax, edi
mov ecx, dword [esp]
lea edi, [eax + ecx]
mov ebp, dword [esp + 4]
cmp edi, ebp
ja 0x4c47db
add ecx, dword [esp + 0xc]
push eax
push 0
push ecx
call fcn.004f8b70
add esp, 0xc
xor ecx, ecx
mov edx, edi
cmp edi, ebp
jb 0x4c45c0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4c4784
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
dec eax
jmp 0x4c479b
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x18]
je 0x4c47c9
movzx ecx, byte [eax]
or ecx, dword [esi + 8]
inc eax
mov dword [esi + 0x10], eax
mov eax, 7
mov dword [esi + 0xc], eax
mov eax, ecx
shr eax, 1
mov dword [esi + 8], eax
mov eax, 1
xor edi, edi
test cl, 1
je 0x4c47d3
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, ebp
push esi
call fcn.004c67a0
mov eax, 1
add esp, 4
jmp 0x4c47d3
mov eax, 2
mov edi, 4
mov dword [esi + 0x288], edi
jmp 0x4c47fb
mov eax, 0xfffffff8
jmp 0x4c47fb
mov ebx, 0xffff
mov eax, dword [esp]
mov dword [esi + 0x990], ebx
mov dword [esi + 0x988], eax
mov eax, 2
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret