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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cf64b
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4cefb6
movzx eax, byte [eax]
test al, al
jne 0x4cf5ed
call fcn.004d0bc0
lea eax, [0x692740]
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x90]
cmp eax, 4
je 0x4cf570
xor ecx, ecx
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0045cbb8
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 4], edx
call fcn.00468b30
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], ecx
call fcn.0046ce30
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test ecx, ecx
jne 0x4cf332
lea eax, [0x692a9c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4cf229
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4cf1db
cmp eax, 0x17
je 0x4cf18d
mov dword [esp], 0x20000027
call fcn.00468ba0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x663d00]
mov dword [esp], edx
call fcn.0040c800
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x4cf17f
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x67991f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00447600
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4cf175
mov dword [edx + 8], eax
mov dword [esp + 0x9c], 0
lea eax, [0x6cae90]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046cf20
mov byte [esp + 0x27], 0
call fcn.004d0c10
add esp, 0x7c
ret
lea edi, [edx + 8]
call fcn.0045c920
jmp 0x4cf137
mov eax, dword [esp + 0x4c]
call fcn.0045c920
jmp 0x4cf0d1
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.0046cbf0
movzx eax, word [esp + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046cf20
mov byte [esp + 0x27], 0
call fcn.004d0c10
add esp, 0x7c
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.0046cbf0
movzx eax, word [esp + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046cf20
mov byte [esp + 0x27], 0
call fcn.004d0c10
add esp, 0x7c
ret
mov dword [esp], 0x20000027
call fcn.00468ba0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x663d00]
mov dword [esp], edx
call fcn.0040c800
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x4cf324
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x67991f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00447600
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4cf31a
mov dword [edx + 8], eax
mov dword [esp + 0x9c], 0
lea eax, [0x6cae90]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046cf20
mov byte [esp + 0x27], 0
call fcn.004d0c10
add esp, 0x7c
ret
lea edi, [edx + 8]
call fcn.0045c920
jmp 0x4cf2dc
mov eax, dword [esp + 0x4c]
call fcn.0045c920
jmp 0x4cf276
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0xc], ebx
call fcn.004cd760
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4cf545
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4cf4ec
lea ecx, [0x65e740]
cmp dword [eax + 4], ecx
jne 0x4cf4ec
mov ecx, dword [esp + 0x40]
cmp dword [ecx], 0x2af9
jne 0x4cf4ec
mov eax, dword [0x7cce30]
mov ecx, dword [0x7cce34]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], eax
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x663d00]
mov dword [esp], edx
call fcn.0040c800
mov edi, dword [esp + 4]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x4cf4de
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x67991f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00447600
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4cf4d4
mov dword [edx + 8], eax
mov eax, dword [esp + 0x30]
cmp dword [0x7cce30], eax
je 0x4cf4a1
mov dword [esp + 0x9c], 0
lea eax, [0x6cae90]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 0
call fcn.004d0c10
add esp, 0x7c
ret
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [0x7cce34]
mov dword [esp + 8], eax
call fcn.00404120
movzx eax, byte [esp + 0xc]
test al, al
je 0x4cf4ce
mov edx, dword [esp + 0x44]
mov byte [edx + 0x1a], 1
jmp 0x4cf474
mov edx, dword [esp + 0x44]
jmp 0x4cf474
lea edi, [edx + 8]
call fcn.0045c920
jmp 0x4cf468
mov eax, dword [esp + 0x4c]
call fcn.0045c920
jmp 0x4cf402
nop
lea eax, [0x653ac0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x67bce9]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4cf533
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, eax
lea eax, [0x6cb130]
jmp 0x4cf3b1
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045c920
mov eax, ecx
jmp 0x4cf526
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 0
call fcn.004d0c10
add esp, 0x7c
ret
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x679d94]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004030b0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4cf5ca
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], 0x34706374
jne 0x4cf5b6
mov ecx, 1
jmp 0x4cefdc
cmp dword [ecx], 0x36706374
je 0x4cf5ac
mov eax, dword [esp + 0x90]
jmp 0x4cefda
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], 0x34706475
jne 0x4cf5e3
mov ecx, 2
jmp 0x4cefdc
cmp dword [ecx], 0x36706475
je 0x4cf5d9
jmp 0x4cf5be
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
call fcn.004cd760
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x7c
ret
call fcn.0045b380
jmp fcn.004cef50