Function at 0x41b380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9ebe
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], 2
call fcn.00454a62
test al, al
je 0x41b3d7
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
call fcn.0041af90
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x60]
call eax
test al, al
je 0x41b5f7
call fcn.004546e1
test al, al
je 0x41b408
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
call fcn.004546e1
test al, al
je 0x41b431
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0045483a
test al, al
je 0x41b44d
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0047be90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41b5f7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403740
push 1
push 0x5e283c
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.00405290
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405180
push 4
push 0x5e49e4
lea ecx, [ebp - 0x248]
call fcn.00405290
call fcn.004543ea
test al, al
je 0x41b4e4
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.00454726
test al, al
je 0x41b4fd
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
call fcn.00406870
mov ecx, eax
call fcn.0045d928
push eax
lea ecx, [ebp - 0x230]
call fcn.00403740
push 0x14
push str.WindowsRestMater.exe
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.00405290
call fcn.004544b9
test al, al
je 0x41b545
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
cmp dword [ebp + 0x34], 8
lea esi, [ebp + 0x20]
lea edx, [ebp + 0x38]
cmovae esi, dword [ebp + 0x20]
lea ecx, [ebp - 0x230]
cmp dword [ebp + 0x4c], 8
lea eax, [ebp - 0x248]
push esi
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp - 0x21c], 8
push 0
cmovae ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 8
push 0
cmovae eax, dword [ebp - 0x248]
push 1
push edx
push 0
push ecx
mov ecx, dword [ebp - 0x24c]
push eax
call fcn.0041b680
mov esi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x41b5ba
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x41b5f9
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403100
jmp 0x41b5f9
xor esi, esi
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x41b60e
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00403100
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x41b637
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.00403100
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
cmp ecx, 8
jb 0x41b660
inc ecx
push ecx
push dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
call fcn.00403100
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045132d
mov esp, ebp
pop ebp
ret 0x48