Function at 0x424e90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x424ef8
mov ecx, edi
lea eax, [ebp - 0x1c]
call fcn.00403650
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 8], edi
jge 0x424f07
push 0x80070057
call fcn.004036a0
push 1
push 0x1a
push esi
xor eax, eax
mov dword [esi - 0xc], edi
push ebx
mov word [esi + 0x208], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x424f24
sub eax, edx
sar eax, 1
js 0x424efd
cmp eax, dword [esi - 8]
jg 0x424efd
push 0x12
push 0x45499c
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov dword [esi - 0xc], eax
push edx
mov word [esi + eax*2], cx
call fcn.00403a70
mov esi, dword [ebp - 0x1c]
mov eax, 8
push esi
mov word [ebp - 0x40], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x424f7b
cmp esi, ebx
je 0x424f7b
push 0x8007000e
call fcn.00445340
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00425b00
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
jne 0x424fa1
push 0x80004003
call fcn.00445340
mov esi, dword [ebp - 0x40]
mov edx, dword [ecx]
lea eax, [ebp - 0x14]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x3c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x38]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x34]
push ecx
mov ecx, dword [edx + 0xe8]
mov dword [eax + 0xc], esi
call ecx
cmp word [ebp - 0x14], bx
jne 0x424fe3
push 0x456b30
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], ebx
call fcn.00434818
mov dword [ebp - 0x20], ebx
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x424ffc
push 0x80004003
call fcn.00445340
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
lea ecx, [ebp - 0x2c]
push ecx
mov edi, str.StaffcopAgents
call fcn.00423960
lea edx, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.00425d10
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x2c]
add esp, 0xc
test esi, esi
je 0x425074
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x425074
test esi, esi
je 0x425074
mov eax, dword [esi]
test eax, eax
je 0x42505b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x42506b
push eax
call fcn.004305dc
add esp, 4
push esi
call fcn.0042dffd
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x425085
push 0x80004003
call fcn.00445340
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x100]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
push 0
push 0
push 0x146
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4250bb
mov dword [ebp - 0x30], eax
push 0x456b30
lea eax, [ebp - 0x30]
push eax
call fcn.00434818
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4250ce
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4250e1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
push 0
push 0
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425127
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4