Function at 0x41b654
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x41b8f5
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x41b821
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x41b7fe
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x41b73a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jg 0x41b7fc
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x41b75c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jg 0x41b7aa
push 0x4285
push 0x45b1
push 1
push 0x6223
push 1
push 1
push 1
push 0x107b
push 0x2b7a
push 0x1b3d
push 0x7cbf
push 0x3a3f
push 0x35f3
push 0
push 0x2e57
call fcn.0041acc6
add esp, 0x3c
jmp 0x41b751
mov eax, dword [ebp - 0x18]
mov dword [eax], 2
jmp 0x41b7c0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jl 0x41b7f7
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41b7e1
push 0x5a2
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 1
mov ecx, dword [ebp - 0x98]
call fcn.0043188e
cmp dword [eax], 0
je 0x41b7f5
jmp 0x41b7f7
jmp 0x41b7b5
jmp 0x41b72f
jmp 0x41b81c
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x41b81c
push 0x51a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
jmp 0x41b8f3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x41b896
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x41b877
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 2
jge 0x41b894
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.0043188e
mov dword [eax], 4
jmp 0x41b86c
jmp 0x41b8f3
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x41b8d3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x41b8f3
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x94]
call fcn.0043188e
mov dword [eax], 0x378f1e0c
jmp 0x41b8c8
jmp 0x41b948
lea eax, [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x41b921
push 0x1710
push 0x5455
push 1
call fcn.0040de45
add esp, 0xc
jmp 0x41b948
push 0x4256
push 1
push 0x7fa0
push 0x34da
push 0x6a6e
push 0x7f6e
push 0
push 0
call fcn.0040de6e
add esp, 0x20
mov esp, ebp
pop ebp
ret