Function at 0x4bf5d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4bf5d8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4bf894
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027c4
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x4181d0]
call fcn.00403984
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x43c6f8]
call fcn.0043c7f8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4bf85d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.004049e0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
mov ecx, 0x4bf8ac
call fcn.00404af4
xor eax, eax
push ebp
push 0x4bf82d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x14]
call fcn.00408d68
lea ecx, [ebp - 0x38]
mov edx, 0x4bf8c8
mov eax, dword [ebp - 0x14]
call fcn.004bb514
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x10]
call fcn.00408d68
mov eax, dword [ebp - 0x10]
call fcn.0040c438
fstp qword [ebp - 0x20]
wait
mov edx, 0x80000001
mov eax, dword [ebp - 0x24]
call fcn.0043c898
lea eax, [ebp - 0x28]
mov edx, 0x4bf8fc
call fcn.00404880
mov cl, 1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.0043c900
test al, al
je 0x4bf81b
lea ecx, [ebp - 0x2c]
mov edx, 0x4bf91c
mov eax, dword [ebp - 0x24]
call fcn.0043ce7c
mov edx, dword [ebp - 0x2c]
mov eax, 0x4bf930
call fcn.00404dec
test eax, eax
jle 0x4bf750
call fcn.0040aefc
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004a0438
cmp eax, 0x16d
jl 0x4bf81b
push 0x30
mov ecx, 0x4bf934
mov edx, 0x4bf944
mov eax, dword [0x4fcbc4]
mov eax, dword [eax]
call fcn.00489e20
mov eax, dword [0x4fcbc4]
mov eax, dword [eax]
call fcn.00489d7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.0040422c
jmp 0x4bf864
mov edx, dword [ebp - 0x2c]
mov eax, 0x4bf95c
call fcn.00404dec
test eax, eax
jle 0x4bf7b9
call fcn.0040aefc
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004a0438
cmp eax, 0x2da
jl 0x4bf81b
push 0x30
mov ecx, 0x4bf934
mov edx, 0x4bf944
mov eax, dword [0x4fcbc4]
mov eax, dword [eax]
call fcn.00489e20
mov eax, dword [0x4fcbc4]
mov eax, dword [eax]
call fcn.00489d7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.0040422c
jmp 0x4bf864
mov edx, dword [ebp - 0x2c]
mov eax, 0x4bf968
call fcn.00404dec
test eax, eax
jle 0x4bf81b
call fcn.0040aefc
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004a0438
cmp eax, 0x447
jl 0x4bf81b
push 0x30
mov ecx, 0x4bf934
mov edx, 0x4bf944
mov eax, dword [0x4fcbc4]
mov eax, dword [eax]
call fcn.00489e20
mov eax, dword [0x4fcbc4]
mov eax, dword [eax]
call fcn.00489d7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.0040422c
jmp 0x4bf864
mov eax, dword [ebp - 0x24]
call fcn.0043c868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf837
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf864
mov eax, dword [ebp - 0x24]
call fcn.004039b4
mov eax, dword [ebp - 4]
call fcn.004027e4
mov eax, dword [ebp - 0xc]
call fcn.004039b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf89b
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.0040480c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040480c
lea eax, [ebp - 8]
call fcn.004047e8
ret