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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ce2b9
sub esp, 0x64
mov ebx, dword [esp + 0x78]
cmp ebx, 0x102
jl 0x4ce018
mov ebx, 0x102
mov ebp, dword [esp + 0x68]
test byte [ebp], al
mov edx, dword [ebp + 0xa0044]
mov eax, dword [esp + 0x6c]
lea ecx, [ebx + eax]
cmp edx, ecx
jb 0x4ce2b3
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x4ce03d
mov esi, ebx
mov dword [esp + 0x20], esi
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x74]
cmp dword [ebp + 4], esi
jg 0x4ce050
sar edi, 2
mov dword [esp + 0x24], ebx
lea ebx, [esi + eax]
cmp ebx, ecx
jae 0x4ce2ac
mov ebp, dword [ebp + 0xa003c]
movzx ebx, byte [ebp + ebx]
cmp eax, ecx
ja 0x4ce2a7
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x5c], ebp
sub edx, eax
mov dword [esp + 0x18], edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, ebp
mov dword [esp + 0x60], edx
add eax, 0xffff8000
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov byte [esp + 0xb], cl
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
jmp 0x4ce0d7
mov ebp, dword [esp + 0x1c]
dec ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x60]
mov edi, ebp
mov ebp, dword [esp + 0x5c]
test edi, edi
jle 0x4ce170
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
lea edx, [edi + esi]
cmp edx, ecx
jae 0x4ce2a0
add edx, ebp
cmp byte [edx], bl
jne 0x4ce143
cmp edi, ecx
ja 0x4ce299
mov edx, dword [esp + 0x14]
sub edx, edi
mov dword [esp + 0x30], edx
neg edx
sar edx, 0x1f
and edx, edi
add edx, ebp
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
cmp ebp, edi
ja 0x4ce290
mov edi, dword [esp + 0x18]
cmp ebp, edi
ja 0x4ce287
mov byte [esp + 0xa], bl
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
jmp 0x4ce1b9
mov edx, dword [esp + 0x38]
cmp edi, eax
je 0x4ce198
and edi, 0x7fff
mov ebp, dword [esp + 0x68]
mov edi, dword [ebp + edi*4 + 0x80034]
sub edi, dword [ebp + 0xa0034]
cmp edi, eax
jl 0x4ce18f
test edi, edi
jge 0x4ce0c0
jmp 0x4ce18f
mov eax, dword [esp + 0x38]
movzx ecx, byte [esp + 0xb]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
mov byte [esp + 0x84], cl
add esp, 0x64
ret
mov eax, edx
movzx ecx, byte [esp + 0xb]
jmp 0x4ce179
mov eax, edx
movzx ecx, byte [esp + 0xb]
jmp 0x4ce179
lea eax, [edi + 1]
mov ecx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
cmp edi, ebp
jge 0x4ce1e3
movzx eax, byte [edi + edx]
mov ebx, dword [esp + 0x60]
lea ecx, [edi + ebx]
cmp byte [ecx], al
je 0x4ce1a1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, ebp
movzx ebx, byte [esp + 0xa]
mov ebp, edi
jmp 0x4ce1e5
mov edx, ebp
cmp esi, ebp
jge 0x4ce25e
cmp ebp, 4
jg 0x4ce208
mov dword [esp + 0x34], ebp
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x2c]
sub edi, ebp
cmp edi, 0x1000
jg 0x4ce24d
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x2c]
mov edi, ebx
sub ebx, esi
mov esi, dword [esp + 0x20]
cmp esi, ebp
jle 0x4ce23f
lea esi, [ebp + edi]
cmp esi, ecx
jae 0x4ce280
mov edi, dword [esp + 0x5c]
movzx esi, byte [edi + esi]
mov dword [esp + 0x3c], eax
mov eax, 1
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x3c]
jmp 0x4ce26d
mov esi, ebp
mov eax, ebx
mov ecx, 1
jmp 0x4ce179
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov ebp, esi
movzx esi, byte [esp + 0xa]
jmp 0x4ce26d
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov ebp, esi
movzx esi, byte [esp + 0xa]
mov edi, dword [esp + 0x2c]
mov edx, ebx
mov ebx, esi
mov esi, ebp
mov ebp, dword [esp + 0x5c]
jmp 0x4ce147
mov eax, esi
call fcn.004684c0
mov ecx, ebp
mov edx, edi
call fcn.00468500
mov ecx, ebp
mov edx, edi
call fcn.00468500
mov eax, edi
call fcn.00468520
mov eax, edx
call fcn.004684c0
call fcn.00468520
mov eax, ebx
call fcn.004684c0
call fcn.00468500
nop
call fcn.00467050
jmp fcn.004cdff0