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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cbf90
sub esp, 0x6c
mov eax, dword [esp + 0x80]
cmp eax, 0x102
jge 0x4cbf5c
mov ecx, dword [esp + 0x70]
test byte [ecx], al
mov edx, dword [ecx + 0xa0044]
mov ebx, dword [ecx + 0xa003c]
mov ebp, dword [esp + 0x74]
lea esi, [eax + ebp]
test esi, esi
jl 0x4cbf89
cmp esi, edx
ja 0x4cbf89
mov edi, dword [ecx + 0xc]
cmp edi, eax
jge 0x4cbf55
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
mov edi, dword [ecx + 0x10]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x7c]
cmp ecx, eax
jl 0x4cbd38
sar edi, 2
lea eax, [ecx + ebp]
cmp eax, esi
jae 0x4cbf82
movzx eax, byte [ebx + eax]
cmp ebp, esi
ja 0x4cbf7b
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x64], ebx
sub edx, ebp
mov dword [esp + 0x2c], edx
neg edx
sar edx, 0x1f
and edx, ebp
add edx, ebx
mov dword [esp + 0x68], edx
add ebp, 0xffff8000
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x5c], al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
xor ecx, ecx
mov byte [esp + 0x23], cl
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x54]
movzx eax, byte [esp + 0x5c]
jmp 0x4cbdb8
mov ebx, dword [esp + 0x30]
dec ebx
mov dword [esp + 0x40], edx
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
mov edx, dword [esp + 0x68]
mov edi, ebx
mov ebx, dword [esp + 0x64]
test edi, edi
jle 0x4cbf47
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x40]
lea edi, [edx + ecx]
cmp edi, esi
jae 0x4cbf74
movzx edi, byte [ebx + edi]
xchg edi, ebx
cmp al, bl
xchg edi, ebx
je 0x4cbe2c
movzx edi, byte [esp + 0x23]
cmp edx, ebp
je 0x4cbe26
and edx, 0x7fff
mov ebx, dword [esp + 0x70]
mov edx, dword [ebx + edx*4 + 0x80034]
sub edx, dword [ebx + 0xa0034]
cmp edx, ebp
jl 0x4cbe07
test edx, edx
jge 0x4cbd9f
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
xchg edi, eax
mov byte [esp + 0x8c], al
xchg edi, eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x48]
jmp 0x4cbe0b
cmp edx, esi
ja 0x4cbf6d
mov dword [esp + 0x44], ecx
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x28]
sub eax, edx
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, ebx
mov dword [esp], eax
sub esi, edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
call fcn.004cc110
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jle 0x4cbf28
cmp eax, 4
jle 0x4cbef9
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
mov ebx, ecx
sub ecx, edx
mov ebp, dword [esp + 0x34]
cmp eax, ebp
jge 0x4cbee9
lea esi, [eax + ebx]
mov edi, dword [esp + 0x24]
cmp esi, edi
jae 0x4cbf66
mov ebp, dword [esp + 0x64]
movzx esi, byte [ebp + esi]
mov dword [esp + 0x4c], eax
mov eax, 1
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ebx, ebp
mov ebp, dword [esp + 0x3c]
movzx edi, byte [esp + 0x23]
mov dword [esp + 0x48], ecx
mov ecx, eax
mov eax, esi
mov esi, dword [esp + 0x24]
jmp 0x4cbde4
mov edi, 1
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x4cbe0b
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x40]
mov ebp, edx
sub edx, ebx
cmp edx, 0x1000
jle 0x4cbe90
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x24]
movzx esi, byte [esp + 0x22]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
jmp 0x4cbecd
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x24]
movzx esi, byte [esp + 0x22]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
jmp 0x4cbecd
mov eax, dword [esp + 0x48]
movzx edi, byte [esp + 0x23]
jmp 0x4cbe0b
mov edi, eax
jmp 0x4cbd1f
mov eax, 0x102
jmp 0x4cbceb
call fcn.00426630
ud2
call fcn.00426730
ud2
call fcn.00426630
ud2
call fcn.00426730
ud2
call fcn.00426630
ud2
call fcn.00426730
ud2
call fcn.0044b4c0
jmp fcn.004cbcc0