Function at 0x442d70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48c6e7
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], ebx
lea esi, [esp + 0x20]
mov dword [esp + 0x16c], ebx
call fcn.00440670
mov byte [esp + 0x16c], 1
call fcn.00437fd0
test al, al
je 0x442e20
mov esi, edi
call fcn.00443330
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442e06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x16c], 0xffffffff
mov eax, dword [esp + 0x174]
add eax, 0xfffffff0
jmp 0x4432e9
mov eax, dword [esp + 0x174]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x28], eax
call fcn.0040ae10
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x16c], 2
call fcn.00457afe
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x442e60
push 0x80004005
call fcn.00405140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x16c], 3
jmp 0x442e84
mov edi, dword [esp + 0x14]
push 0x4a1ba0
lea ecx, [esp + 0x58]
call fcn.0040aea0
mov eax, dword [eax]
test eax, eax
je 0x442eb9
test ebx, ebx
mov ecx, dword [edi - 0xc]
jl 0x442eb9
cmp ebx, ecx
jg 0x442eb9
push eax
add ebx, edi
push ebx
call fcn.004704bf
add esp, 8
test eax, eax
je 0x442eb9
sub eax, edi
mov ebx, eax
jmp 0x442ebc
or ebx, 0xffffffff
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442edc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xffffffff
je 0x443254
push 0x4a1ba0
lea ecx, [esp + 0x54]
call fcn.0040aea0
mov eax, dword [eax]
test eax, eax
lea ebp, [ebx + 1]
je 0x442f1e
test ebp, ebp
mov ecx, dword [edi - 0xc]
jl 0x442f1e
cmp ebp, ecx
jg 0x442f1e
push eax
lea ecx, [edi + ebp]
push ecx
call fcn.004704bf
add esp, 8
test eax, eax
je 0x442f1e
sub eax, edi
mov esi, eax
jmp 0x442f21
or esi, 0xffffffff
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x442f41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x443254
mov ecx, esi
sub ecx, ebx
lea edi, [ecx - 1]
push edi
push ebp
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
call fcn.00411440
mov byte [esp + 0x16c], 4
mov eax, dword [esp + 0x1c]
push str.APPDATA
push eax
call fcn.0046ee13
add esp, 8
test eax, eax
sete al
test al, al
je 0x4430c8
mov ecx, 0x105
lea eax, [esp + 0x58]
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x442f91
lea ecx, [esp + 0x58]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [esp + 0x58]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x442fb6
sub eax, ecx
push eax
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x20]
call fcn.0040b1d0
add esi, 1
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041b6c0
mov esi, eax
push ebx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 5
call fcn.0040e150
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x178], 6
call fcn.00408e80
add esp, 0xc
push esi
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x178], 7
call fcn.00408e80
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 8
call fcn.0040b2c0
mov byte [esp + 0x16c], 7
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x443067
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 6
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44308f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4430b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 4
mov eax, dword [esp + 0x3c]
jmp 0x443207
push edi
push ebp
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
call fcn.00411440
mov byte [esp + 0x16c], 9
mov eax, dword [eax]
push eax
lea edi, [esp + 0x1c]
call fcn.004381f0
mov byte [esp + 0x16c], 4
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x443114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 1
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041b6c0
mov esi, eax
push ebx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 0xa
call fcn.0040e150
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x178], 0xb
call fcn.00408e80
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x178], 0xc
call fcn.00408e80
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 0xd
call fcn.0040b2c0
mov byte [esp + 0x16c], 0xc
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4431ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 0xb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4431d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 0xa
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4431fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442e80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x442e80
lea esi, [edi - 0x10]
push esi
call fcn.0040ae10
mov edi, dword [esp + 0x4c]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x170], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443291
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4432b2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x16c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4432da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x16c], 0xffffffff
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0046da06
add esp, 0x15c
ret 4