Function at 0x411e15
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
push 0x64
push 0x422c10
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4a8ff8
push 0x422c10
call fcn.0041a84c
add esp, 8
cmp dword [ebp + 0x14], 0x2000000
jne 0x411e66
push 0x4a9004
lea eax, [ebp - 0x90]
push eax
call fcn.0041a850
add esp, 8
jmp 0x411e7a
push 0x4a900c
lea eax, [ebp - 0x90]
push eax
call fcn.0041a850
add esp, 8
push 1
push 0x3000
call fcn.0041addb
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x411eaa
push 5
call fcn.004054a2
add esp, 4
mov eax, 0xffffffff
jmp 0x412330
push 1
push 0x3000
call fcn.0041addb
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x411ee6
push 5
call fcn.004054a2
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041a905
add esp, 4
mov eax, 0xffffffff
jmp 0x412330
push 0x422ce8
mov eax, dword [ebp - 8]
push eax
push 0x422c10
call fcn.004134c2
add esp, 0xc
cmp eax, 0xffffffff
jne 0x411f27
mov eax, dword [ebp - 8]
push eax
call fcn.0041a905
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041a905
add esp, 4
mov eax, 0xffffffff
jmp 0x412330
push 0x422c74
mov ax, word [0x422ce8]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00410fe5
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x411f82
push 0x80002
call fcn.004054a2
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.0041a905
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041a905
add esp, 4
mov eax, 0xffffffff
jmp 0x412330
push 0x422db0
xor eax, eax
mov ax, word [0x422ce8]
xor ecx, ecx
mov cx, word [0x422c74]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0x4a9018
call fcn.00410fe5
add esp, 0x10
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x411fcf
mov ax, word [0x422db0]
mov word [ebp - 4], ax
jmp 0x411fe6
xor eax, eax
mov ax, word [0x422ce8]
xor ecx, ecx
mov cx, word [0x422c74]
sub eax, ecx
mov word [ebp - 4], ax
push 0x422c76
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00410fe5
add esp, 0x10
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x41218c
cmp dword [ebp + 0x10], 0
jne 0x412187
push 0x422c0e
push 0x50
mov eax, dword [ebp + 8]
push eax
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422c76]
add eax, ecx
add eax, dword [ebp - 0x10]
inc eax
push eax
push 0x4a8d70
call fcn.00410fe5
add esp, 0x10
xor ebx, ebx
mov bx, word [0x422ce8]
mov eax, dword [ebp + 8]
push eax
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422c76]
xor edx, edx
mov dx, word [0x422c74]
add ecx, edx
add eax, ecx
xor ecx, ecx
mov cx, word [0x422c0e]
add eax, ecx
inc eax
sub ebx, eax
push ebx
mov eax, dword [ebp + 8]
push eax
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422c0e]
add eax, ecx
xor ecx, ecx
mov cx, word [0x422c76]
add eax, ecx
add eax, dword [ebp - 0x10]
inc eax
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041b288
add esp, 0xc
xor ebx, ebx
mov bx, word [0x422ce8]
mov eax, dword [ebp + 8]
push eax
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422c76]
xor edx, edx
mov dx, word [0x422c74]
add ecx, edx
add eax, ecx
xor ecx, ecx
mov cx, word [0x422c0e]
add eax, ecx
inc eax
sub ebx, eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041a7d8
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041a7d8
add esp, 4
add ebx, eax
xor eax, eax
mov ax, word [0x422c76]
add ebx, eax
add ebx, dword [ebp - 0x10]
inc ebx
push ebx
call fcn.0041b288
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041a7d8
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422c76]
add eax, ecx
add eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.0041b288
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422c0e]
sub eax, ecx
xor ecx, ecx
mov cx, word [0x422ce8]
add eax, ecx
mov word [0x422ce8], ax
jmp 0x4122d0
xor ebx, ebx
mov bx, word [0x422ce8]
lea eax, [ebp - 0x90]
push eax
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422c74]
add eax, ecx
sub ebx, eax
push ebx
lea eax, [ebp - 0x90]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, eax
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041b288
add esp, 0xc
xor ebx, ebx
mov bx, word [0x422ce8]
lea eax, [ebp - 0x90]
push eax
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422c74]
add eax, ecx
sub ebx, eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041a7d8
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041a7d8
add esp, 4
add ebx, eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041a7d8
add esp, 4
add ebx, eax
add ebx, dword [ebp - 0x10]
add ebx, 3
push ebx
call fcn.0041b288
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x422d60
call fcn.0041a850
add esp, 8
push 0x4a901c
push 0x422d60
call fcn.0041a84c
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push 0x422d60
call fcn.0041a84c
add esp, 8
push 0x4a8d70
push 0x422d60
call fcn.0041a84c
add esp, 8
push 0x422d60
call fcn.0041a7d8
add esp, 4
push eax
push 0x422d60
lea eax, [ebp - 0x90]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, eax
add ecx, 2
push ecx
call fcn.0041b288
add esp, 0xc
push 0x422d60
call fcn.0041a7d8
add esp, 4
xor ecx, ecx
mov cx, word [0x422ce8]
add eax, ecx
mov word [0x422ce8], ax
push 0x422ce8
mov eax, dword [ebp - 8]
push eax
push 0x422c10
call fcn.00413610
add esp, 0xc
cmp eax, 0xffffffff
jne 0x412311
mov eax, dword [ebp - 8]
push eax
call fcn.0041a905
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041a905
add esp, 4
mov eax, 0xffffffff
jmp 0x412330
mov eax, dword [ebp - 8]
push eax
call fcn.0041a905
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041a905
add esp, 4
xor eax, eax
jmp 0x412330
pop edi
pop esi
pop ebx
leave
ret