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

Disassembly:
push 0xffffffffffffffff
push 0x742c1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, 9
lea edi, [ebp + 0x17c]
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x68]
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], al
call fcn.00404760
mov edi, 0x7a5650
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x4c]
push ebx
call fcn.00401450
test al, al
je 0x4cf4b5
mov edi, dword [esp + 0x4c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7a5650
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
call fcn.00404970
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x60], 0
mov esi, dword [eax]
cmp eax, esi
je 0x4cf50e
mov ebx, dword [fcn.0076528c]
mov edi, dword [esi + 8]
cmp dword [edi + 0x78], 1
jne 0x4cf4f6
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x4cf4e1
mov eax, 0x765608
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x4cf4ee
mov ecx, 0x765608
push eax
push ecx
call ebx
test eax, eax
je 0x4cf501
mov esi, dword [esi]
mov eax, dword [ebp + 0x70]
cmp eax, esi
jne 0x4cf4cc
jmp 0x4cf50e
test edi, edi
je 0x4cf50e
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0x3c]
lea esi, [ebp + 0xc4]
mov ebx, 0x18
mov eax, dword [esi]
test eax, eax
je 0x4cf59a
mov eax, dword [eax]
test eax, eax
je 0x4cf54d
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x20]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cf545
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi]
mov dword [eax], 0
mov edi, dword [esi]
test edi, edi
mov dword [esp + 0x10], edi
je 0x4cf57e
push 1
lea ecx, [edi + 0x20]
mov byte [esp + 0x64], 1
call fcn.00404760
push 1
lea ecx, [edi + 4]
mov byte [esp + 0x64], 0
call fcn.00404760
push edi
call fcn.00726ea6
add esp, 4
mov ecx, dword [0x93af0c]
mov eax, dword [esi]
cmp ecx, eax
jne 0x4cf594
mov dword [0x93af0c], 0
mov dword [esi], 0
add esi, 4
dec ebx
jne 0x4cf519
lea esi, [ebp + 0xe8]
mov ebx, 0x18
mov eax, dword [esi]
test eax, eax
je 0x4cf630
mov eax, dword [eax]
test eax, eax
je 0x4cf5e3
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x20]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cf5db
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi]
mov dword [eax], 0
mov edi, dword [esi]
test edi, edi
mov dword [esp + 0x10], edi
je 0x4cf614
push 1
lea ecx, [edi + 0x20]
mov byte [esp + 0x64], 3
call fcn.00404760
push 1
lea ecx, [edi + 4]
mov byte [esp + 0x64], 0
call fcn.00404760
push edi
call fcn.00726ea6
add esp, 4
mov ecx, dword [0x93af0c]
mov eax, dword [esi]
cmp ecx, eax
jne 0x4cf62a
mov dword [0x93af0c], 0
mov dword [esi], 0
add esi, 4
dec ebx
jne 0x4cf5af
lea esi, [ebp + 0x10c]
mov ebx, 0x1c
mov eax, dword [esi]
test eax, eax
je 0x4cf6c6
mov eax, dword [eax]
test eax, eax
je 0x4cf679
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x20]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cf671
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi]
mov dword [eax], 0
mov edi, dword [esi]
test edi, edi
mov dword [esp + 0x10], edi
je 0x4cf6aa
push 1
lea ecx, [edi + 0x20]
mov byte [esp + 0x64], 5
call fcn.00404760
push 1
lea ecx, [edi + 4]
mov byte [esp + 0x64], 0
call fcn.00404760
push edi
call fcn.00726ea6
add esp, 4
mov ecx, dword [0x93af0c]
mov eax, dword [esi]
cmp ecx, eax
jne 0x4cf6c0
mov dword [0x93af0c], 0
mov dword [esi], 0
add esi, 4
dec ebx
jne 0x4cf645
mov ecx, ebp
call fcn.004cfba0
mov dl, byte [esp + 0x68]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], dl
call fcn.00404760
mov eax, dword [0x93c97c]
lea edx, [esp + 0x18]
mov byte [esp + 0x60], 7
mov ecx, dword [eax + 0x814]
push ecx
push edx
mov ecx, ebp
call fcn.004d0e60
mov ecx, dword [0x76560c]
mov byte [esp + 0x60], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x44]
call fcn.00404560
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 7
call fcn.00404760
mov ecx, dword [ebp + 0x1a8]
test ecx, ecx
je 0x4cf746
mov edx, dword [ecx]
lea eax, [esp + 0x38]
push eax
call dword [edx + 0x9c]
mov eax, dword [ebp + 0x1ac]
test eax, eax
je 0x4cf7e0
mov ecx, dword [0x93c97c]
mov esi, dword [ecx + 0x47c]
test esi, esi
jne 0x4cf769
mov esi, 0x765608
mov dl, byte [esp + 0x68]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call fcn.00404760
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00401450
test al, al
je 0x4cf7b8
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00404970
mov ecx, dword [ebp + 0x1ac]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x64], 9
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 7
call fcn.00404760
mov ecx, dword [esp + 0x68]
mov esi, dword [0x93c978]
lea edx, [esp + 0x68]
lea eax, [esp + 0x10]
mov dword [esp + 0x68], ecx
push edx
push eax
lea ecx, [esi + 0x38]
call fcn.0047a320
mov esi, dword [esi + 0x3c]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4cf812
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4cf83a
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 0
call fcn.00404760
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00404760
jmp 0x4cfa84
mov cl, byte [eax + 0x478]
lea edi, [eax + 0x478]
mov byte [esp + 0x28], cl
push 0
lea ecx, [esp + 0x2c]
call fcn.00404760
mov edx, dword [0x76560c]
lea ecx, [esp + 0x28]
push edx
push 0
push edi
call fcn.00404560
mov eax, dword [ebp + 0x1b0]
mov byte [esp + 0x60], 0xa
test eax, eax
je 0x4cf9ea
mov eax, dword [0x93fa62]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4cf8ec
mov cl, byte [esp + 0x28]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.00404760
mov edx, dword [0x76560c]
lea eax, [esp + 0x38]
push edx
push 0
push eax
mov ecx, esi
call fcn.00404560
mov ecx, dword [0x93fa62]
mov byte [esp + 0x70], 0xa
mov ecx, dword [ecx + 0x40]
call fcn.0058df40
cmp al, 1
jne 0x4cf8ec
mov eax, dword [ebp + 0x1b0]
mov dword [eax + 0xd8], 0xff80ff80
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x4cf949
push 0xff80ff80
jmp 0x4cf942
mov edx, dword [0x93c97c]
mov eax, dword [edx + 0x490]
cmp eax, 1
jne 0x4cf91e
mov eax, dword [ebp + 0x1b0]
mov dword [eax + 0xd8], 0xffffff00
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x4cf949
push 0xffffff00
jmp 0x4cf942
cmp eax, 2
jne 0x4cf949
mov eax, dword [ebp + 0x1b0]
mov dword [eax + 0xd8], 0xffc0c0c0
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x4cf949
push 0xffc0c0c0
mov ecx, eax
call fcn.004380d0
mov esi, dword [edi + 4]
test esi, esi
jne 0x4cf955
mov esi, 0x765608
mov al, byte [esp + 0x68]
mov edi, esi
mov byte [esp + 0x18], al
xor eax, eax
or ecx, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00401450
test al, al
je 0x4cf9a5
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00404970
mov ebp, dword [ebp + 0x1b0]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov eax, dword [ebp]
mov byte [esp + 0x64], 0xc
call dword [eax + 0x9c]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x60], 0xa
test eax, eax
je 0x4cf9ea
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4cf9e1
cmp al, 0xff
je 0x4cf9e1
dec al
mov byte [ecx], al
jmp 0x4cf9ea
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x60], 7
je 0x4cfa16
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4cfa0d
cmp al, 0xff
je 0x4cfa0d
dec al
mov byte [ecx], al
jmp 0x4cfa16
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
cmp eax, esi
mov byte [esp + 0x60], 0
je 0x4cfa4c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4cfa43
cmp al, 0xff
je 0x4cfa43
dec al
mov byte [ecx], al
jmp 0x4cfa4c
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp ecx, esi
mov dword [esp + 0x60], 0xffffffff
je 0x4cfa84
mov al, byte [ecx - 1]
test al, al
je 0x4cfa7a
cmp al, 0xff
je 0x4cfa7a
dec al
mov byte [ecx - 1], al
jmp 0x4cfa84
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 4