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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ce6c5
sub esp, 0x70
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ecx, dword [eax + 0x2000c]
cmp ecx, 0x40000000
jg 0x4ce683
mov ecx, dword [esp + 0x88]
cmp ecx, 0x11
jl 0x4ce609
lea edx, [ecx - 0xf]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx]
imul esi, ebp, 0x1e35a7bd
shr esi, 0x12
xor edi, edi
xor edi, edi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x68], edi
xor edi, edi
jmp 0x4ce4af
imul ecx, esi, 0x1e35a7bd
shr ecx, 0x12
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov edx, ebp
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0x38]
mov ebp, esi
mov esi, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x28]
sar ebp, 5
lea ebx, [edi + ebp]
mov ecx, dword [esp + 0x28]
add ecx, ebp
cmp ebx, edx
jg 0x4ce5f1
mov dword [esp + 0x28], ecx
and esi, 0x3fff
lea edx, [eax + esi*8 + 4]
mov ecx, dword [edx]
mov dword [esp + 0x40], ecx
lea ecx, [eax + esi*8]
lea esi, [eax + esi*8]
mov esi, dword [esi]
lea ebp, [edi + ebp + 4]
test ebp, ebp
jl 0x4ce6be
cmp ebx, ebp
ja 0x4ce6be
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x88]
cmp ebp, esi
ja 0x4ce6be
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0x2000c]
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
mov ebx, dword [esp + 0x84]
mov esi, dword [ebx + esi]
mov ebx, dword [esp + 0x3c]
mov dword [ecx], ebx
lea ecx, [ebp + edi]
mov dword [edx], ecx
mov ecx, dword [eax + 0x2000c]
mov edx, dword [esp + 0x40]
sub edx, ecx
mov ecx, edi
sub edi, edx
cmp edi, 0x8000
jg 0x4ce091
mov edx, dword [esp + 0x5c]
cmp ebx, edx
jne 0x4ce091
test ecx, ecx
jl 0x4ce6b7
mov edx, dword [esp + 0x30]
cmp edx, ecx
ja 0x4ce6b7
mov ebx, dword [esp + 0x8c]
cmp ecx, ebx
ja 0x4ce6b7
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
sub ebx, edx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
mov esi, dword [esp + 0x84]
add ebx, esi
mov dword [esp + 0xc], ebx
sub ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
call fcn.004ce6d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x40]
jmp 0x4ce20c
mov ebp, ebx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x74]
sub ebp, dword [esi + 0x2000c]
mov dword [esp], esi
lea edi, [ebx + 4]
mov dword [esp + 0x40], edi
mov dword [esp + 4], edi
add ebp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x84]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x14], esi
call fcn.004ce780
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + 1]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
sub ebp, esi
shl ebx, 0x16
lea ebx, [ebp + ebx + 0x3fffffff]
mov ebp, dword [esp + 0x80]
cmp edx, ebp
jg 0x4ce5ab
mov esi, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
mov dword [esi + ecx*4], ebx
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + eax + 4]
lea edi, [eax + ecx]
mov edx, dword [esp + 0x44]
cmp ebx, edx
jge 0x4ce4c5
lea edx, [ecx + eax + 3]
lea eax, [ecx + eax + 0xb]
test eax, eax
jl 0x4ce6b0
cmp edx, eax
ja 0x4ce6b0
mov ecx, dword [esp + 0x88]
cmp eax, ecx
ja 0x4ce6b0
sub eax, edx
sub ecx, edx
neg ecx
sar ecx, 0x1f
and ecx, edx
test eax, eax
jbe 0x4ce6a9
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x84]
movzx ebp, byte [edx + ecx]
cmp eax, 1
jbe 0x4ce6a9
mov dword [esp + 0x6c], esi
movzx esi, byte [edx + ecx + 1]
mov dword [esp + 0x5c], esi
shl esi, 8
or ebp, esi
cmp eax, 2
jbe 0x4ce6a9
mov dword [esp + 0x50], ebx
mov esi, dword [esp + 0x5c]
shr esi, 0x18
movzx ebx, byte [edx + ecx + 2]
mov dword [esp + 0x5c], ebx
shl ebx, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x5c]
shr ebx, 0x10
or esi, ebx
cmp eax, 3
jbe 0x4ce6a9
movzx ebx, byte [edx + ecx + 3]
mov dword [esp + 0x5c], ebx
shl ebx, 0x18
or ebx, ebp
mov ebp, dword [esp + 0x5c]
shr ebp, 8
or esi, ebp
cmp eax, 4
jbe 0x4ce6a2
movzx ebp, byte [edx + ecx + 4]
or ebp, esi
cmp eax, 5
jbe 0x4ce6a2
movzx esi, byte [edx + ecx + 5]
shl esi, 8
or ebp, esi
cmp eax, 6
jbe 0x4ce6a2
movzx esi, byte [edx + ecx + 6]
shl esi, 0x10
or ebp, esi
cmp eax, 7
jbe 0x4ce6a2
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], ebp
imul eax, ebx, 0x1e35a7bd
shr eax, 0x12
and eax, 0x3fff
mov esi, dword [esp + 0x74]
lea ebp, [esi + eax*8]
mov edi, dword [esi + 0x2000c]
movzx ecx, byte [edx + ecx + 7]
mov dword [ebp], ebx
lea eax, [esi + eax*8 + 4]
mov ebp, dword [esp + 0x40]
lea edi, [edi + ebp + 3]
mov dword [eax], edi
shl ecx, 0x18
mov eax, dword [esp + 0x4c]
or eax, ecx
mov dword [esp + 0x4c], eax
shl eax, 0x18
shr ebx, 8
or eax, ebx
imul ebx, eax, 0x1e35a7bd
shr ebx, 0x12
and ebx, 0x3fff
lea edi, [esi + ebx*8]
mov ecx, dword [edi + 4]
mov edi, dword [edi]
mov dword [esp + 0x48], edi
lea edx, [esi + ebx*8]
mov edi, dword [esi + 0x2000c]
mov dword [edx], eax
lea edx, [esi + ebx*8 + 4]
lea ebx, [edi + ebp + 4]
mov dword [edx], ebx
mov edx, dword [esi + 0x2000c]
mov ebx, ecx
sub ecx, edx
mov edx, dword [esp + 0x50]
mov ebp, edx
sub edx, ecx
cmp edx, 0x8000
jg 0x4ce455
mov ecx, dword [esp + 0x48]
cmp ecx, eax
je 0x4ce1fa
mov eax, dword [esp + 0x4c]
shl eax, 0x10
mov ecx, dword [esp + 0x5c]
shr ecx, 0x10
or eax, ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
lea edi, [edx + ecx + 5]
imul ecx, eax, 0x1e35a7bd
shr ecx, 0x12
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x84]
mov esi, ecx
mov ebp, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x60], eax
mov eax, 0x20
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
jmp 0x4ce0c8
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x88]
cmp ebx, ecx
jge 0x4ce5a0
ja 0x4ce69b
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x8c]
sub eax, ebx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ebx
mov ebp, dword [esp + 0x84]
add eax, ebp
mov dword [esp + 0xc], eax
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004ce6d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x74]
add dword [ebp + 0x2000c], ebx
mov esi, dword [ebp + 0x20008]
cmp ebx, esi
ja 0x4ce694
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x68], eax
mov dword [ebp + 0x20004], ebx
mov ebp, dword [ebp + 0x20000]
mov esi, dword [esp + 0x84]
cmp ebp, esi
je 0x4ce578
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.0044d420
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov ecx, eax
mov edx, ebp
mov eax, esi
jmp 0x4ce523
mov dword [esp + 0x5c], ebx
lea eax, [0x795b00]
mov dword [esp], eax
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00438d80
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x5c]
jmp 0x4ce2a1
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x68]
jmp 0x4ce4c9
mov edx, dword [eax + 0x2000c]
add edx, 0xffff
mov dword [eax + 0x2000c], edx
mov dword [eax + 0x20004], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.004ce6d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
add esp, 0x70
ret
mov dword [esp], eax
call fcn.004cea30
mov eax, dword [esp + 0x74]
jmp 0x4ce051
call fcn.00426730
ud2
call fcn.00426730
ud2
call fcn.00426630
ud2
call fcn.00426630
ud2
call fcn.00426730
ud2
call fcn.00426730
ud2
call fcn.00426730
ud2
call fcn.0044b4c0
jmp fcn.004ce020