Function at 0x408ced
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
push ebx
push esi
push edi
lea eax, [ebp - 0x518]
push 0x104
mov dword [ebp - 4], ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x414]
push eax
call fcn.00407c93
lea eax, [ebp - 0x414]
push eax
call fcn.0042ab43
pop ecx
lea eax, [ebp - 0x108]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0040790a
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call fcn.00429f30
pop ecx
test eax, eax
pop ecx
je 0x408e6d
push 0x43e254
push dword [ebp + 8]
call fcn.004292ba
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x408e58
push 2
push 0
push edi
call fcn.0042a5ce
push edi
call fcn.004296cc
push edi
mov ebx, eax
call fcn.0042aadf
push ebx
call fcn.0042895d
push edi
mov esi, eax
push ebx
push 1
push esi
call fcn.0042a4b7
add esp, 0x28
cmp eax, ebx
je 0x408db0
push esi
call fcn.00428730
push edi
call fcn.004290d3
jmp 0x408e56
push edi
call fcn.004290d3
xor edi, edi
pop ecx
test ebx, ebx
jle 0x408e18
push 8
lea eax, [edi + esi]
push str.EMANGIRO360_SANA_ElSalihCamii_DisAvlu_1.exe
push eax
call fcn.0042a690
add esp, 0xc
test eax, eax
jne 0x408ddb
cmp byte [edi + esi + 9], 0x30
jne 0x408de2
inc edi
cmp edi, ebx
jl 0x408dbd
jmp 0x408e18
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x108]
push eax
call fcn.00407c93
lea eax, [edi + esi + 8]
push eax
lea eax, [ebp - 0x108]
push 0x43e790
push eax
call fcn.00429eb0
pop ecx
lea eax, [ebp + eax - 0x108]
push eax
call fcn.0042a24c
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x43e1f8
push eax
call fcn.004292ba
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x408e39
push esi
call fcn.00428730
jmp 0x408e57
push edi
push ebx
push 1
push esi
call fcn.00429150
add esp, 0x10
cmp eax, ebx
push edi
je 0x408e60
call fcn.004290d3
push esi
call fcn.00428730
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x408fa2
call fcn.004290d3
push esi
call fcn.00428730
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
call fcn.00405ebc
pop ecx
mov ebx, eax
mov esi, 0x43e6e8
lea eax, [ebp - 0x518]
push esi
push eax
lea eax, [ebp - 0x310]
push str._s_s.scr
push eax
mov edi, edx
call fcn.0042a24c
add esp, 0x10
lea eax, [ebp - 0x414]
push esi
push eax
lea eax, [ebp - 0x20c]
push str._s_s.exe
push eax
call fcn.0042a24c
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00429f30
add esp, 0x18
or esi, 0xffffffff
test eax, eax
je 0x408f1b
lea eax, [ebp - 0x20c]
push eax
call fcn.00405ebc
cmp edi, edx
pop ecx
jg 0x408efd
jl 0x408eec
cmp ebx, eax
ja 0x408efd
cmp ebx, eax
jne 0x408f1b
cmp edi, edx
jne 0x408f1b
cmp byte [0x43e4c4], 0
je 0x408f41
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00408fa9
cmp eax, esi
je 0x408f9c
cmp byte [0x43e4c4], 0
je 0x408f41
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407994
and byte [0x43e4c4], 0
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00429f30
pop ecx
test eax, eax
pop ecx
je 0x408fa0
lea eax, [ebp - 0x310]
push eax
call fcn.00405ebc
cmp edi, edx
pop ecx
jg 0x408f82
jl 0x408f71
cmp ebx, eax
ja 0x408f82
cmp ebx, eax
jne 0x408fa0
cmp edi, edx
jne 0x408fa0
cmp byte [0x43e4c4], 0
je 0x408fa0
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00408fa9
cmp eax, esi
jne 0x408fa0
mov eax, esi
jmp 0x408fa2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4