Function at 0x4407d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e9b8c
push eax
mov eax, 0x3bcec
mov dword fs:[0], esp
call fcn.004b7240
mov eax, dword [0x532c18]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x3bd04], ebx
mov dword [esp + 0x14], eax
mov byte [esp + 0x3bd04], 1
call fcn.0048be90
cmp eax, 2
jl 0x440a8c
lea ebp, [esi + 0xe4]
push 0x536054
mov ecx, ebp
call fcn.004ce403
mov ecx, 0xee92
xor eax, eax
lea edi, [esp + 0x2b4]
mov word [esp + 0x28], bx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esi + 0x5c]
push eax
call fcn.0047ec40
mov ecx, dword [esp + 0x10]
push 0x536054
push ecx
call fcn.004b7678
add esp, 8
cmp eax, ebx
je 0x440a37
lea edx, [esp + 0x10]
push edx
call fcn.004898d0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x440a37
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xa8]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xac]
push 0x58df4c
push eax
call fcn.004b7b5f
lea ecx, [esp + 0xb4]
push ecx
call fcn.00488270
add esp, 0x10
cmp eax, ebx
je 0x4408cf
mov word [eax + 2], bx
jmp 0x4408e9
push ebx
lea edx, [esp + 0xac]
push 5
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x440a37
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push 0x40
push eax
push edi
mov word [esp + 0x34], bx
call fcn.00489db0
mov dx, word [edi]
lea ecx, [esp + 0x2c0]
push ecx
push edx
call fcn.0049f830
add esp, 0x14
test eax, eax
je 0x440a37
cmp dword [esp + 0x3b81c], ebx
je 0x440995
push ebx
push 0x407
mov ecx, esi
mov dword [esi + 0xec], 1
call fcn.004d23b9
mov ecx, eax
call fcn.004d266d
push 1
push 0x408
mov ecx, esi
call fcn.004d23b9
mov ecx, eax
call fcn.004d266d
push ebx
push 0x409
mov ecx, esi
call fcn.004d23b9
mov ecx, eax
call fcn.004d266d
push 0x408
push 0x409
push 0x407
mov ecx, esi
call fcn.004d2387
push ebx
push 0x47a
mov ecx, esi
call fcn.004d23b9
mov ecx, eax
call fcn.004d266d
cmp word [esp + 0x28], bx
je 0x440a2b
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
call fcn.004ce403
mov ecx, dword [esi + 0xec]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00489720
add esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004cdfd9
push ecx
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3bd10], 2
call fcn.004ce2e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x3bd0c], 1
push ecx
call fcn.004897a0
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x3bd08], 3
call fcn.004ce3b3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3bd04], 1
call fcn.004ce26c
jmp 0x440a37
push 0x536054
mov ecx, ebp
call fcn.004ce403
cmp dword [esp + 0x3b81c], ebx
jne 0x440a7f
push 1
push 0x407
mov ecx, esi
call fcn.004d23b9
mov ecx, eax
call fcn.004d266d
push 1
push 0x408
mov ecx, esi
call fcn.004d23b9
mov ecx, eax
call fcn.004d266d
push 1
push 0x409
mov ecx, esi
call fcn.004d23b9
mov ecx, eax
call fcn.004d266d
mov edx, dword [esp + 0x18]
push edx
call fcn.00487ea0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x3bd04], bl
call fcn.004ce26c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3bd04], 0xffffffff
call fcn.004ce26c
mov ecx, dword [esp + 0x3bcfc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3bcf8
ret