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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4cf6fe
sub esp, 0x94
mov ecx, dword [esp + 0xa8]
cmp ecx, 2
jne 0x4cf422
mov edx, dword [esp + 0xa4]
cmp word [edx], 0x7069
jne 0x4cf3d6
mov ebx, dword [esp + 0xb0]
test ebx, ebx
je 0x4cf3cd
mov eax, dword [esp + 0xac]
xor ebp, ebp
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea esi, [0x4d8490]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebp
test ebx, ebx
jne 0x4cf135
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0045af8b
mov ecx, dword [esp + 0xa8]
cmp ecx, 2
jne 0x4cef4e
cmp word [edx], 0x7069
jne 0x4cf6ad
lea eax, [0x645680]
mov dword [esp], eax
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4cef44
mov dword [edi], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4cef31
mov dword [edi + 0xc], eax
lea eax, [0x6c9db0]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edi
lea ecx, [0x62e580]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4cef1f
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 1
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x94
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045ace0
mov eax, ecx
jmp 0x4ceee5
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045ace0
mov edi, edx
jmp 0x4ceeae
call fcn.0045ace0
jmp 0x4cee92
mov dword [esp + 0x34], ebp
cmp ecx, 3
je 0x4cf0a8
cmp ecx, 4
jne 0x4cf6a9
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x66ed2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.00402850
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4cf01b
mov eax, dword [esp + 0xa4]
cmp dword [eax], 0x34706374
jne 0x4cf00e
lea eax, [0x64cf20]
mov dword [esp], eax
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4cf007
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4ceff7
mov dword [edi + 0x10], eax
lea eax, [0x6c9dd0]
jmp 0x4ceeb4
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045ace0
mov edi, edx
jmp 0x4cefec
call fcn.0045ace0
jmp 0x4cefcd
cmp dword [eax], 0x36706374
je 0x4cef9d
jmp 0x4cf69e
mov eax, dword [esp + 0xa4]
cmp dword [eax], 0x34706475
jne 0x4cf09b
lea eax, [0x64cfa0]
mov dword [esp], eax
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4cf094
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4cf084
mov dword [edi + 0x10], eax
lea eax, [0x6c9df0]
jmp 0x4ceeb4
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045ace0
mov edi, edx
jmp 0x4cf079
call fcn.0045ace0
jmp 0x4cf05a
cmp dword [eax], 0x36706475
je 0x4cf02a
jmp 0x4cf69e
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x66eafd]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.00402850
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4cf103
mov eax, dword [esp + 0xa4]
movzx ecx, word [eax]
cmp cx, 0x7069
jne 0x4cf0ee
cmp byte [eax + 2], 0x34
je 0x4cee5e
cmp cx, 0x7069
jne 0x4cf69e
cmp byte [eax + 2], 0x36
je 0x4cee5e
jmp 0x4cf69e
mov eax, dword [esp + 0xa4]
cmp word [eax], 0x6374
jne 0x4cf11b
cmp byte [eax + 2], 0x70
je 0x4cef9d
cmp word [eax], 0x6475
jne 0x4cf69e
cmp byte [eax + 2], 0x70
je 0x4cf02a
jmp 0x4cf69e
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], eax
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
mov ebp, dword [esp + 0x9c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.004d06a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
test ebx, ebx
jne 0x4cf397
mov dword [esp + 0x38], ecx
cmp ecx, 1
je 0x4cf343
xor ebx, ebx
test bl, bl
je 0x4cf33c
lea edi, [esp + 0x80]
mov ebx, eax
xor eax, eax
call fcn.0045af8b
mov ecx, dword [0x81c068]
mov ebp, dword [0x81c06c]
mov eax, ebx
mov ebx, dword [0x81c070]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp edx, ebx
jb 0x4cf306
mov ebp, dword [0x8326a0]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*4]
test ebp, ebp
jne 0x4cf2cc
lea esi, [esp + 0x80]
call fcn.0045b46e
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x4cf2c3
mov ebp, dword [esp + 0xa4]
lea esi, [ebp + ecx - 1]
cmp byte [esi], 0x34
jne 0x4cf2b7
test ecx, ecx
lea esi, [0x689598]
je 0x4cf2b3
lea ecx, [ebp + ecx - 1]
cmp byte [ecx], 0x36
jne 0x4cf2b3
lea ecx, [0x68959c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.004ce3b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebp
add esp, 0x94
ret
mov ecx, esi
jmp 0x4cf249
test ecx, ecx
mov esi, 0
jmp 0x4cf238
mov ebp, dword [esp + 0xa4]
jmp 0x4cf2b9
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], edx
lea eax, [0x645680]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
call fcn.00410a20
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
jmp 0x4cf20d
lea ebp, [0x645680]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x38]
jmp 0x4cf1ed
mov ebx, ecx
jmp 0x4cf20d
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [0x816170]
mov edx, dword [0x816174]
mov ebx, dword [0x816178]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004cc2f0
movzx ebx, byte [esp + 0x18]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
jmp 0x4cf19d
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebp
add esp, 0x94
ret
xor ebx, ebx
xor eax, eax
jmp 0x4cedf8
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00408c10
mov eax, dword [esp + 8]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea ecx, [0x6c8b10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0x94
ret
cmp ecx, 3
je 0x4cf5f0
cmp ecx, 4
je 0x4cf439
mov edx, dword [esp + 0xa4]
jmp 0x4cf3d6
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x66ed2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402850
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4cf5cf
mov ecx, dword [esp + 0xa4]
cmp dword [ecx], 0x34706374
jne 0x4cf5b7
mov edx, dword [esp + 0xb0]
test edx, edx
jne 0x4cf4a7
xor eax, eax
xor edx, edx
xor ebx, ebx
mov ecx, dword [esp + 0xa8]
mov ebp, eax
mov eax, ebx
mov ebx, edx
mov edx, dword [esp + 0xa4]
jmp 0x4cedfa
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ce700
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x4cf581
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 8], edx
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.004d1110
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x4cf54b
mov eax, ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0xa4]
jmp 0x4cf48e
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
add esp, 0x94
ret
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], esi
add esp, 0x94
ret
cmp dword [ecx], 0x36706374
je 0x4cf47d
mov ecx, dword [esp + 0xa8]
jmp 0x4cf430
mov ecx, dword [esp + 0xa4]
cmp dword [ecx], 0x34706475
je 0x4cf47d
cmp dword [ecx], 0x36706475
je 0x4cf47d
jmp 0x4cf5c3
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x66eafd]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00402850
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4cf673
mov ecx, dword [esp + 0xa4]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x4cf64c
cmp byte [ecx + 2], 0x34
jne 0x4cf647
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x4cede2
cmp dx, 0x7069
jne 0x4cf667
cmp byte [ecx + 2], 0x36
jne 0x4cf667
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x4cede2
mov ecx, dword [esp + 0xa8]
jmp 0x4cf430
mov ecx, dword [esp + 0xa4]
cmp word [ecx], 0x6374
jne 0x4cf68b
cmp byte [ecx + 2], 0x70
je 0x4cf47d
cmp word [ecx], 0x6475
jne 0x4cf667
cmp byte [ecx + 2], 0x70
je 0x4cf47d
jmp 0x4cf667
mov ecx, dword [esp + 0xa8]
mov edx, eax
jmp 0x4cf6ad
mov eax, edx
jmp 0x4cf69e
mov dword [esp], 0
lea eax, [0x675365]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00445d20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408c10
mov eax, dword [esp + 8]
lea ecx, [0x633ac0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430630
nop
call fcn.00459790
jmp fcn.004ceda0