Function at 0x44f1e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e867d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0x6098b8
xor ebx, ebx
lea ebx, [ebx]
push 0x206
lea eax, [esp + 0xca]
push ebx
push eax
mov word [esp + 0xd0], bx
call fcn.005be600
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
add esp, 0xc
cmp eax, 0xff
mov dword [esp + 0x10], eax
jge 0x44f2f4
push ebx
push eax
lea edx, [esp + 0xcc]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44f4c8
lea eax, [esp + 0xc4]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44f297
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc8]
push eax
lea esi, [esp + 0x24]
call fcn.00402770
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x2e4], ebx
call fcn.00456cd0
push 0xffffffffffffffff
mov ecx, eax
push ebx
mov eax, esi
call fcn.00402580
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x44f4c8
mov edx, dword [esp + 0x20]
jmp 0x44f4bf
sub eax, 0x101
je 0x44f41b
sub eax, 1
je 0x44f377
sub eax, 1
jne 0x44f5b0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x28
call fcn.00456cd0
push eax
lea esi, [esp + 0xac]
call fcn.00429f00
add esp, 4
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x2e4], 5
call fcn.00456cd0
push 0xffffffffffffffff
mov ecx, eax
push ebx
mov eax, esi
call fcn.00402580
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0xc0], 8
jb 0x44f4c8
mov edx, dword [esp + 0xac]
jmp 0x44f4bf
push 0xb
mov edi, 7
push str._HOMEDRIVE_
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00402770
mov ecx, esi
lea esi, [esp + 0x70]
mov dword [esp + 0x2e0], 3
call fcn.00430570
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x2e4], 4
call fcn.00456cd0
push 0xffffffffffffffff
mov ecx, eax
push ebx
mov eax, esi
call fcn.00402580
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x44f3ea
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x34], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x44f4c8
mov edx, dword [esp + 0x20]
jmp 0x44f4bf
push 0x11
mov edi, 7
push str._ALLUSERSPROFILE_
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00402770
mov ecx, esi
lea esi, [esp + 0x8c]
mov dword [esp + 0x2e0], 1
call fcn.00430570
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x2e4], 2
call fcn.00456cd0
push 0xffffffffffffffff
mov ecx, eax
push ebx
mov eax, esi
call fcn.00402580
mov esi, 8
cmp dword [esp + 0xa4], esi
jb 0x44f494
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x50], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
jb 0x44f4c8
mov edx, dword [esp + 0x3c]
push edx
call fcn.0059b877
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.00456cd0
mov edi, eax
cmp dword [edi + 0x14], 2
jb 0x44f576
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x44f4eb
mov eax, dword [esi]
jmp 0x44f4ed
mov eax, esi
cmp word [eax], 0x22
jne 0x44f576
mov eax, dword [edi + 0x14]
lea ecx, [eax - 1]
cmp ecx, eax
mov dword [esp + 0x18], ecx
jbe 0x44f50e
call fcn.005b8b18
mov ecx, dword [esp + 0x18]
cmp dword [edi + 0x18], 8
jb 0x44f516
mov esi, dword [esi]
cmp word [esi + ecx*2], 0x22
jne 0x44f576
mov eax, dword [edi + 0x14]
add eax, 0xfffffffe
mov ecx, 1
lea edx, [esp + 0x54]
call fcn.0042b860
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov dword [esp + 0x2e8], 6
call fcn.00402580
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x44f565
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
push 0x610f98
mov eax, edi
call fcn.0042b6a0
add esp, 4
push 0x5c
push 0x5c
call fcn.0042b5d0
push 0x5c
push 0x2f
call fcn.0042b5d0
mov eax, dword [esp + 0x24]
add eax, 4
add esp, 0x10
cmp eax, 0x609960
mov dword [esp + 0x14], eax
jl 0x44f230
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret