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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cf86b
sub esp, 0x74
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cf2f8
mov ecx, dword [eax + 4]
cmp ecx, 2
jge 0x4cf2dc
mov ecx, dword [0x630b30]
mov edx, dword [0x630b34]
jmp 0x4cf304
cmp ecx, 0x7fffffff
jle 0x4cf2f2
mov ecx, dword [0x630b28]
mov edx, dword [0x630b2c]
jmp 0x4cf304
xor ecx, ecx
xor edx, edx
jmp 0x4cf304
mov ecx, dword [0x630b38]
mov edx, dword [0x630b3c]
test ecx, ecx
jne 0x4cf803
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
nop
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
lea ebx, [edx - 1]
test ebx, ebx
jl 0x4cf37a
mov edx, dword [ecx + edx*4 - 4]
nop
cmp edx, 0x10000
jb 0x4cf34a
shr edx, 0x10
mov ecx, 0x10
jmp 0x4cf34c
xor ecx, ecx
cmp edx, 0x100
jb 0x4cf35a
shr edx, 8
add ecx, 8
cmp edx, 0x100
jae 0x4cf85e
shl ebx, 5
lea ebp, [0x553ddf]
movzx edx, byte [ebp + edx]
add ecx, edx
add ecx, ebx
jmp 0x4cf37c
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
shl eax, 1
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 7]
sar edx, 0x1f
shr edx, 0x1d
lea ecx, [edx + ecx + 7]
sar ecx, 3
mov edx, ecx
sub ecx, eax
lea eax, [ecx - 2]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
jg 0x4cf7c4
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
call ecx
lea eax, [0x535200]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447510
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jb 0x4cf859
cmp ecx, 1
jb 0x4cf84f
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 1]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x50]
add eax, ebx
mov ebp, dword [esp + 4]
lea esi, [ebp + 1]
cmp ecx, esi
jb 0x4cf848
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, eax
sub eax, ecx
lea ecx, [eax - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
mov ebp, dword [esp + 0x30]
and ebp, ecx
mov ecx, dword [esp + 0x50]
add ebp, ecx
mov esi, dword [esp + 4]
cmp esi, ebx
ja 0x4cf83f
mov edi, dword [esp + 0x2c]
cmp edi, esi
jl 0x4cf51d
mov edi, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0x44]
cmp esi, ebp
je 0x4cf555
mov dword [esp + 0x30], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.0045fce0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x90]
mov edi, eax
sub eax, esi
lea edx, [eax - 2]
cmp edx, ebx
jae 0x4cf836
mov byte [eax + ebp - 2], 1
lea edx, [eax - 1]
sub edi, eax
mov eax, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
lea edx, [ebp + edi]
cmp esi, eax
jl 0x4cf58c
mov esi, eax
mov eax, dword [esp + 0x8c]
cmp eax, edx
je 0x4cf5a7
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0045fce0
nop
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.00467080
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4cf621
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x74
ret
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c], edi
call fcn.004cf040
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.004cf040
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.004cb0b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov byte [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call fcn.004cf210
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
lea ecx, [0x535200]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.004c2d00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov eax, dword [0x630b18]
mov ecx, dword [0x630b1c]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x74
ret
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x74
ret
mov eax, edx
mov ecx, ebx
call fcn.0045f450
mov ecx, esi
mov edx, ebx
call fcn.0045f490
mov eax, esi
call fcn.0045f4b0
mov eax, 1
call fcn.0045f4b0
call fcn.0045f490
mov eax, edx
mov ecx, 0x100
call fcn.0045f460
nop
call fcn.0045e000
jmp fcn.004cf2a0