Function at 0x434452
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push 0x230
mov eax, 0x4b240f
call fcn.0048f423
mov edi, ecx
mov dword [ebp - 0x21c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov eax, dword [0x507340]
imul eax, eax
push 9
cdq
pop ecx
idiv ecx
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 4], ebx
cmp edx, 6
jne 0x4344a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x50
xor edx, edx
pop ecx
div ecx
inc edx
mov dword [0x507340], edx
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004913e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x434547
call fcn.00437e48
xor ebx, ebx
inc ebx
test al, al
jne 0x434518
mov esi, dword [0x507340]
xor edx, edx
push 8
mov ecx, edx
pop edi
mov eax, ecx
and eax, ebx
dec eax
not eax
and eax, esi
sar ecx, 1
xor ecx, eax
dec edi
jne 0x4344f1
add esi, ecx
inc edx
cmp edx, 0x100
jl 0x4344ec
mov edi, dword [ebp - 0x21c]
mov dword [0x507340], esi
push str.get_temp_path
lea ecx, [ebp - 0x21c]
call fcn.00401b1e
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00420bb2
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
jmp 0x434860
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401b1e
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x220]
mov eax, dword [eax - 0xc]
dec eax
push eax
mov byte [ebp - 4], 2
call fcn.00409650
cmp ax, 0x5c
je 0x434589
push 0x4c0b70
lea ecx, [ebp - 0x220]
call fcn.0040930b
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x220]
push dword [eax - 0xc]
push eax
call fcn.00409334
push str._updater.exe
lea ecx, [ebp - 0x220]
call fcn.0040930b
push 0x505ab0
lea ecx, [ebp - 0x224]
call fcn.00408fd9
mov byte [ebp - 4], 3
call fcn.00437d59
test al, al
jne 0x4345e9
mov ecx, dword [0x507340]
xor ebx, ebx
inc ebx
cmp ecx, ebx
jle 0x4345e1
mov eax, ecx
cdq
idiv ebx
inc ebx
add ebx, edx
cmp ebx, ecx
jl 0x4345d5
mov dword [0x507340], ebx
xor ebx, ebx
lea eax, [ebp - 0x22c]
push eax
call fcn.00421ad6
mov esi, eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 4
mov dword [esp], str.geo
call fcn.00416f4a
push esi
push eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 5
call fcn.004091d4
push str.userscope
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 6
call fcn.00409229
cmp byte [edi + 0x9c], 0
mov edx, 0x4c49f4
mov ecx, 0x4c3bbc
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 7
call fcn.00409229
add esp, 0x24
mov eax, dword [eax]
lea ecx, [ebp - 0x224]
push dword [eax - 0xc]
mov byte [ebp - 4], 8
push eax
call fcn.00409334
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x238]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x22c]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00407864
push str.downloading_update
lea ecx, [ebp - 0x21c]
call fcn.00401b1e
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00420b67
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00407864
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
call fcn.004281e9
pop ecx
pop ecx
lea ecx, [ebp - 0x21c]
test al, al
jne 0x43474b
push str.download_updater_exe
call fcn.00416f4a
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00420bb2
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov dword [ebp - 0x228], ebx
jmp 0x434849
push str.executing_update
call fcn.00401b1e
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00420b67
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00407864
push 0x4c1ab0
lea ecx, [ebp + 0xc]
call fcn.004093fe
test eax, eax
je 0x4347a2
push 0x4c42ac
lea ecx, [ebp + 0xc]
call fcn.004093fe
test eax, eax
jne 0x4347af
push 0x4c03a0
lea ecx, [ebp + 0xc]
call fcn.00407c3d
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x230], esp
mov esi, esp
push eax
call fcn.00403b5b
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 0xc
call fcn.00403b5b
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 3
call fcn.00438d03
pop ecx
pop ecx
push str.update_done
lea ecx, [ebp - 0x21c]
mov bl, al
call fcn.00401b1e
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.00420b67
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00407864
call fcn.00437d7b
mov ecx, dword [0x508cc8]
mov edx, 0x286d7df1
test al, al
cmove ecx, edx
mov dword [0x508cc8], ecx
mov byte [ebp - 0x228], bl
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00407864
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00407864
mov al, byte [ebp - 0x228]
call fcn.0048f3d2
ret 8