Function at 0x4353dd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x184
call fcn.004552e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x435429
push ebx
call fcn.00454ce0
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x400
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x43545a
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x435481
mov eax, 0x473274
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x43547d
push ebx
call fcn.00454ce0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 4
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4354a0
mov eax, 0x473274
push eax
push 2
mov ebx, 0x134
call fcn.00456c90
add esp, 0x1c
mov dword [ebp - 0xc], eax
push str.___
push dword [ebp - 0xc]
call fcn.00401b74
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4354e4
push ebx
call fcn.00454ce0
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x43557a
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x435501
mov eax, 0x473274
push eax
push 1
mov ebx, 0x130
call fcn.00455330
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x473349]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00401b4d
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x43554c
mov eax, 0x473274
push eax
push 2
mov ebx, 0x138
call fcn.00456d70
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x435576
push ebx
call fcn.00454ce0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0xc
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x435599
mov eax, 0x473274
push eax
push 2
mov ebx, 0x134
call fcn.00456c90
add esp, 0x1c
mov dword [ebp - 0xc], eax
push str.SystemRoot_
push dword [ebp - 0xc]
call fcn.00401b74
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4355dd
push ebx
call fcn.00454ce0
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x4356fe
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004552e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43561c
push ebx
call fcn.00454ce0
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0xff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x435647
push 6
call fcn.00454cec
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x43565a
mov eax, 0x473274
push eax
push 1
mov ebx, 0x130
call fcn.00455330
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4743a1]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00401b4d
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4356a5
mov eax, 0x473274
push eax
push 2
mov ebx, 0x138
call fcn.00456d70
add esp, 0x1c
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x473b7f
push dword [ebp - 8]
mov ecx, 3
call fcn.00401af1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4356e6
push ebx
call fcn.00454ce0
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4356fa
push ebx
call fcn.00454ce0
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x43571a
push eax
mov ebx, eax
call fcn.00401750
inc eax
push eax
call fcn.00454ce6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x43571f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x435730
push ebx
call fcn.00454ce0
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x435740
push ebx
call fcn.00454ce0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8