Function at 0x440820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526050
mov eax, dword fs:[0]
push eax
mov eax, 0x3064
call fcn.004a76b0
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x870]
push 0
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x870]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.004ca680
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x870]
add esp, 0xc
push 0x53a25c
push eax
lea eax, [ebp - 0x1870]
push eax
call esi
lea eax, [ebp - 0x1870]
push eax
call fcn.0044ff90
push 0x800
lea eax, [ebp - 0x2070]
push 0
push eax
call fcn.004ca680
lea eax, [ebp - 0x70]
push eax
call fcn.00418a20
push 0x53a224
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0043fae0
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x4408f3
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0x2070]
push eax
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44093e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440934
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440b15
push edx
push ecx
call fcn.004a7285
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x440993
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440989
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440b1a
push edx
push ecx
call fcn.004a7285
add esp, 8
lea eax, [ebp - 0x2070]
push eax
call fcn.0044ff90
push 0x800
lea eax, [ebp - 0x1070]
push 0
push eax
call fcn.004ca680
add esp, 0x10
lea eax, [ebp - 0x1070]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x2870]
push 0
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x1070]
push 0x53a25c
push eax
lea eax, [ebp - 0x2870]
push eax
call esi
lea eax, [ebp - 0x2870]
push eax
call fcn.0044ff90
push 0x800
lea eax, [ebp - 0x3070]
push 0
push eax
call fcn.004ca680
lea eax, [ebp - 0x58]
push eax
call fcn.00418a20
push 0x53a224
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call fcn.0043fae0
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x440a3c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1070]
push eax
lea eax, [ebp - 0x3070]
push eax
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x440a87
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440a7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440b1f
push edx
push ecx
call fcn.004a7285
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x440ad8
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440ace
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440b24
push edx
push ecx
call fcn.004a7285
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x3070]
push eax
mov dword [ebp - 0x44], 7
call fcn.0044ff90
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
call fcn.004d5d48
call fcn.004d5d48
call fcn.004d5d48
call fcn.004d5d48
int3