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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
lea eax, [esp + 0x38]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push ecx
push eax
call fcn.00506f70
add esp, 0x14
cmp dword [esp + 0x38], 1
jne 0x4c2870
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
je 0x4c296d
mov eax, dword [esp + 0x54]
lea ecx, [eax + ebx - 1]
mov esi, eax
xor eax, eax
cmp ecx, dword [esp]
jae 0x4c2c63
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov eax, ebx
sub eax, edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], edi
neg eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
lea eax, [ebx - 1]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
nop dword [eax]
mov cl, byte [edx + ecx]
xor eax, eax
mov edi, 1
shld eax, edi, cl
mov edi, edx
mov edx, 1
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x2c]
and edx, dword [esp + 0x14]
or edx, eax
je 0x4c27f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
cmp eax, ecx
cmova ecx, eax
lea eax, [edi + esi]
mov dword [esp + 0x18], ecx
nop word cs:[eax + eax]
nop
cmp ecx, ebx
jae 0x4c2820
lea edx, [esi + ecx]
cmp edx, dword [esp]
jae 0x4c2b05
mov edi, ebx
mov ebx, dword [esp + 0x20]
lea edx, [ecx + 1]
movzx ebx, byte [ebx + ecx]
cmp bl, byte [eax + ecx]
mov ebx, edi
mov ecx, edx
je 0x4c27b0
add esi, dword [esp + 0x30]
add esi, edx
mov edx, dword [esp + 0x28]
jmp 0x4c27f4
add esi, ebx
mov edx, edi
mov ecx, esi
xor esi, esi
mov eax, dword [esp + 0x10]
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
mov esi, edi
mov dword [esp + 8], edi
add ecx, eax
cmp ecx, dword [esp]
jb 0x4c2760
jmp 0x4c2af0
mov ecx, dword [esp + 0x1c]
nop word cs:[eax + eax]
nop
cmp dword [esp + 4], ecx
jae 0x4c2ab6
dec ecx
cmp ecx, ebx
jae 0x4c2b54
lea eax, [ecx + esi]
cmp eax, dword [esp]
jae 0x4c2b75
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
movzx edx, byte [edx + ecx]
cmp dl, byte [edi + eax]
mov edx, dword [esp + 0x28]
je 0x4c2830
add esi, dword [esp + 0x24]
mov ecx, esi
mov esi, dword [esp + 0x78]
jmp 0x4c27f8
cmp byte [esp + 0x46], 0
jne 0x4c2c61
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov dword [esp], ecx
mov cl, byte [esp + 0x44]
jmp 0x4c28a2
mov ecx, dword [esp + 0x44]
add edx, edi
test ecx, 0xff0000
jne 0x4c2963
mov ebx, ecx
xor cl, 1
test edx, edx
mov byte [esp + 0x44], cl
je 0x4c28c6
cmp dword [esp], edx
jbe 0x4c28c0
cmp byte [eax + edx], 0xbf
jg 0x4c28c6
jmp 0x4c2c8c
jne 0x4c2c8c
cmp edx, dword [esp]
je 0x4c2adc
mov bh, byte [eax + edx]
movzx esi, bh
test bh, bh
jns 0x4c2915
movzx ecx, byte [eax + edx + 1]
and esi, 0x1f
and ecx, 0x3f
cmp bh, 0xdf
jbe 0x4c2910
movzx edi, byte [eax + edx + 2]
shl ecx, 6
and edi, 0x3f
or edi, ecx
cmp bh, 0xf0
jb 0x4c295a
movzx ecx, byte [eax + edx + 3]
and esi, 7
shl edi, 6
shl esi, 0x12
and ecx, 0x3f
or ecx, edi
jmp 0x4c2913
shl esi, 6
or esi, ecx
test bl, bl
jne 0x4c2963
cmp esi, 0x110000
je 0x4c2ae6
mov edi, 1
cmp esi, 0x80
jb 0x4c2890
mov edi, 2
cmp esi, 0x800
jb 0x4c2890
cmp esi, 0x10000
mov edi, 4
sbb edi, 0
jmp 0x4c2890
shl esi, 0xc
or esi, edi
test bl, bl
je 0x4c2919
test bl, bl
setne al
jmp 0x4c2c63
mov eax, dword [esp + 0x54]
lea ecx, [eax + ebx - 1]
mov dword [esp + 4], eax
cmp ecx, dword [esp]
jae 0x4c2c61
mov eax, dword [esp + 0x40]
mov esi, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
cmp eax, ebx
lea edi, [eax - 1]
mov dword [esp + 0x14], eax
cmova esi, eax
lea eax, [ebx - 1]
cmp edi, ebx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
jae 0x4c2bab
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], eax
jmp 0x4c29e7
mov eax, dword [esp + 4]
mov edx, edi
add eax, ebx
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], esi
lea ecx, [esi + eax]
cmp ecx, dword [esp]
jae 0x4c2c5d
mov cl, byte [edx + ecx]
xor eax, eax
mov edi, 1
shld eax, edi, cl
mov edi, edx
mov edx, 1
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
mov ecx, dword [esp + 0xc]
and eax, dword [esp + 8]
and edx, ecx
or edx, eax
je 0x4c29c9
mov eax, dword [esp + 4]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov edx, edi
mov ecx, eax
add edi, eax
neg ecx
nop dword [eax]
cmp dword [esp + 0x1c], esi
je 0x4c2a63
mov eax, dword [esp + 4]
add eax, esi
cmp eax, dword [esp]
jae 0x4c2b2b
mov eax, dword [esp + 0x20]
dec ecx
movzx eax, byte [eax + esi]
cmp al, byte [edi + esi]
lea esi, [esi + 1]
je 0x4c2a30
mov ebx, dword [esp + 0x34]
neg ecx
mov esi, ecx
jmp 0x4c29d3
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
lea esi, [edx + eax - 1]
mov eax, dword [esp + 0x14]
mov edi, eax
nop word cs:[eax + eax]
nop
sub edi, 1
jb 0x4c2acd
lea edx, [ecx + eax]
cmp edx, dword [esp]
jae 0x4c2b87
mov edx, dword [esp + 0x20]
movzx edx, byte [edx + eax - 1]
cmp dl, byte [esi + eax]
mov edx, dword [esp + 0x28]
mov eax, edi
je 0x4c2a80
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x34]
add eax, dword [esp + 0x18]
jmp 0x4c29d1
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov al, 1
jmp 0x4c2c63
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov al, 1
jmp 0x4c2c63
mov al, 1
test bl, bl
jne 0x4c2c63
mov byte [esp + 0x46], 1
jmp 0x4c2c61
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
jmp 0x4c2c61
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc]
add ecx, esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp]
cmp eax, ecx
cmova ecx, eax
push 0x5f1220
push eax
jmp 0x4c2b6a
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
add eax, dword [esp + 0x14]
cmp ecx, eax
cmova eax, ecx
push 0x5f1220
push ecx
push eax
call fcn.00570800
add esp, 0xc
ud2
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
push 0x5f1230
push ebx
push ecx
call fcn.00570800
add esp, 0xc
ud2
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
jmp 0x4c2b97
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
lea eax, [edx + eax - 1]
mov dword [esp + 0x54], ecx
push 0x5f1240
push dword [esp + 4]
push eax
call fcn.00570800
add esp, 0xc
ud2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], esi
add dword [esp + 0x20], eax
add eax, edx
mov dword [esp + 0x30], eax
mov cl, byte [edx + ecx]
mov esi, 1
xor eax, eax
mov edx, 1
shld eax, edx, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
and eax, dword [esp + 8]
and esi, dword [esp + 0xc]
or esi, eax
je 0x4c2c39
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cmp eax, edx
je 0x4c2c6b
mov ecx, dword [esp + 0x10]
add eax, ecx
cmp eax, dword [esp]
jae 0x4c2ca3
mov esi, dword [esp + 0x18]
dec edx
movzx eax, byte [esi]
inc esi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x30]
cmp al, byte [esi + ecx]
mov eax, dword [esp + 0x14]
lea esi, [ecx + 1]
mov dword [esp + 0x10], esi
je 0x4c2c03
jmp 0x4c2c41
mov eax, dword [esp + 4]
add eax, ebx
mov esi, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], esi
mov dword [esp + 4], esi
lea ecx, [esi + eax]
cmp ecx, dword [esp]
jb 0x4c2bbd
mov dword [esp + 0x54], esi
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
mov eax, dword [esp + 0x24]
test ecx, ecx
mov dword [esp + 0x54], eax
mov al, 1
je 0x4c2c63
push 0x5f1230
push ebx
push edi
call fcn.00570800
add esp, 0xc
ud2
push 0x5f1250
mov ecx, dword [esp + 4]
push ecx
push edx
push ecx
push eax
call fcn.00570b30
add esp, 0x14
ud2
mov eax, dword [esp + 0x24]
jmp 0x4c2b2f