Function at 0x484190
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x26c]
sub esp, 0x26c
push 0xffffffffffffffff
push 0x580a4f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp + 0x268], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x274]
mov ecx, 0x6355a1
mov esi, dword [ebp + 0x278]
mov dword [ebp - 0x14], eax
call fcn.00561ea5
xor eax, eax
mov dword [ebp + 0x230], 0x61004d
push 0x208
push eax
mov word [ebp + 0x264], ax
mov ebx, 0x6c
lea eax, [ebp + 0x28]
mov dword [ebp + 0x234], 0x720063
push eax
mov dword [ebp + 0x238], 0x6d006f
mov dword [ebp + 0x23c], 0x640065
mov dword [ebp + 0x240], 0x46005c
mov dword [ebp + 0x244], 0x61006c
mov dword [ebp + 0x248], 0x680073
mov dword [ebp + 0x24c], 0x56005c
mov dword [ebp + 0x250], 0x720065
mov dword [ebp + 0x254], 0x690073
mov dword [ebp + 0x258], 0x6e006f
mov dword [ebp + 0x25c], 0x64002e
mov dword [ebp + 0x260], 0x6c006c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x28]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp + 0x230]
push eax
lea ecx, [ebp - 0x44]
call fcn.00403ed0
mov dword [ebp - 4], 0
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403ed0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp]
call fcn.00490590
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00404570
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
mov dword [ebp + 0x20], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00404570
mov byte [ebp - 4], 8
lea eax, [ebp - 0x44]
mov dword [ebp + 0x20], eax
mov byte [ebp - 4], 8
lea ecx, [ebp]
call fcn.0048e520
mov byte [esi], al
test al, al
jne 0x484313
xor bl, bl
jmp 0x4844a7
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x11
push 4
call fcn.0052f564
add esp, 4
mov dword [ebp + 0x20], eax
mov byte [ebp - 4], 0x12
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x13
lea eax, [ebp]
push 0x80
push 3
push 1
push SysReAllocString
push eax
lea ecx, [ebp - 0x10]
call fcn.004bbac0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
jne 0x484371
xor bl, bl
jmp 0x484472
mov eax, dword [ebp - 0x10]
xor bl, bl
test eax, eax
je 0x484472
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x484457
lea eax, [ebp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4843a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x484454
mov eax, dword [ebp + 0x20]
xor ecx, ecx
add ecx, esi
adc eax, 0
jne 0x4843be
cmp ecx, 8
jb 0x484454
lea edx, [ebp + 0x1c]
xorps xmm0, xmm0
push edx
push ecx
sub ecx, 8
movlpd qword [ebp + 0x1c], xmm0
sbb eax, 0
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.004bbd00
test al, al
je 0x484454
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], 0
test eax, eax
je 0x484472
cmp dword [eax], 0xffffffff
je 0x484457
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp + 0x24]
push 0
push ecx
push 4
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x24], 0
push ecx
push dword [eax]
call esi
test eax, eax
je 0x484454
cmp dword [ebp + 0x18], 0xff2144
jne 0x484454
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x24], 0
test eax, eax
je 0x484472
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x484457
cmp dword [eax], 0xffffffff
je 0x484457
push 0
lea edx, [ebp + 0x24]
push edx
push 4
push ecx
push dword [eax]
call esi
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x484472
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x484472
push eax
call edi
test eax, eax
je 0x484472
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x4844a3
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x484491
test eax, eax
je 0x484491
push eax
call edi
mov dword [esi], 0
push 4
push esi
call fcn.0052f594
add esp, 8
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 8
mov dword [ebp - 4], 0x19
lea ecx, [ebp]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x268]
xor ecx, ebp
call fcn.0052f553
lea esp, [ebp + 0x26c]
pop ebp
ret 8