Function at 0x435050
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x43c]
sub esp, 0x43c
push 0xffffffffffffffff
push 0x487d50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4ace78]
xor eax, ebp
mov dword [ebp + 0x438], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp + 0x230]
push 0
push eax
mov byte [ebp - 0xd], 0
call fcn.0046be40
add esp, 0xc
lea ecx, [ebp + 0x230]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.0044ba42
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4350cf
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.ListURL
lea ecx, [ebp - 0x18]
push str.UPDATEINFO
push ecx
mov dword [ebp - 4], 0
call fcn.0040cbf0
push str.9999999999
push eax
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 1
call fcn.00403d00
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20]
mov bl, 2
push eax
mov byte [ebp - 4], bl
call fcn.0040a810
mov ecx, dword [eax]
push ecx
lea edx, [ebp + 0x230]
push edx
lea eax, [ebp - 0x14]
push str._s_s.bin
push eax
mov byte [ebp - 4], 3
call fcn.00403ae0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 0x30
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43515d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4351a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x48bf08
push 0x48bf00
lea ecx, [ebp - 0x14]
call fcn.00403690
mov ecx, dword [ebp - 0x14]
push str._AV__
push ecx
call fcn.0043f220
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x435280
lea edx, [ebp]
push edx
lea eax, [ebp - 0x18]
push eax
push 1
push 0x48e9d8
push ebx
call fcn.0043d110
mov eax, dword [ebp + 0x22c]
add esp, 0x14
test eax, eax
jle 0x435277
add eax, 0xa
push eax
call fcn.00444949
mov ecx, dword [ebp + 0x22c]
add ecx, 0xa
push ecx
mov esi, eax
push 0
push esi
call fcn.0046be40
mov edx, dword [ebp + 0x22c]
mov eax, dword [ebp - 0x18]
push edx
push esi
push eax
push ebx
call fcn.0043f2d0
add esp, 0x20
test esi, esi
jne 0x435230
xor eax, eax
jmp 0x43525a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x435246
xor eax, eax
jmp 0x43525a
lea eax, [edi + edi]
call fcn.0046ca00
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00407e50
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00401ba0
call fcn.004335f0
push esi
mov byte [ebp - 0xd], al
call fcn.00444954
add esp, 8
push ebx
call fcn.0043f2f0
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4352a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0xd]
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.0046b9a8
add ebp, 0x43c
mov esp, ebp
pop ebp
ret