Function at 0x43dfd0
Capabilities:
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452957
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x4696e0]
xor eax, ebp
mov dword [ebp - 0xc8], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xff
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0x2e8]
call fcn.00408153
push 0
call fcn.00408ffe
add esp, 4
push 0x45b3bc
mov ecx, dword [ebp - 0x2e8]
call fcn.00409573
cmp dword [0x52ac0c], 2
jl 0x43e06a
mov byte [0x46aa8c], 0
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [ecx + 0x48]
push edx
mov ecx, 0x52b914
call fcn.00402bd0
jmp 0x43e212
call fcn.00402b00
mov dword [ebp - 0x2d8], eax
mov word [ebp - 0x2d4], 0
push 0x206
push 0
lea eax, [ebp - 0x2d2]
push eax
call fcn.00423bf0
add esp, 0xc
mov dword [ebp - 0x2dc], 0
push 0x208
lea ecx, [ebp - 0x2d4]
push ecx
push 0x45b3dc
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x45b3e4
lea edx, [ebp - 0x2d4]
push edx
call fcn.0042509d
add esp, 8
push 0x45b3e8
lea eax, [ebp - 0x2d4]
push eax
call fcn.0042509d
add esp, 8
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xc4], 0
jne 0x43e0fe
mov dword [ebp - 0x2ec], 0
jmp 0x43e174
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x3fffffff
jle 0x43e12c
mov dword [ebp - 0x2f0], 0
jmp 0x43e168
mov eax, dword [ebp - 0xc0]
shl eax, 1
call fcn.004282c0
mov dword [ebp - 0x2f4], esp
mov eax, dword [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0xc0]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0x2f4]
push eax
call fcn.00402a60
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2ec], ecx
push 0x45b408
mov edx, dword [ebp - 0x2ec]
push edx
call fcn.0042360c
add esp, 8
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
je 0x43e212
mov eax, dword [ebp - 0x2dc]
push eax
push 0x45b40c
call fcn.00421940
add esp, 4
push eax
push 1
push str._echo_off_r_n
call fcn.00423739
add esp, 0x10
mov ecx, dword [ebp - 0x2dc]
push ecx
push 0x45b424
call fcn.00421940
add esp, 4
push eax
push 1
push str.sleep_10_r_n
call fcn.00423739
add esp, 0x10
mov edx, dword [ebp - 0x2dc]
push edx
push 0x45b43c
call fcn.00421940
add esp, 4
push eax
push 1
push str.del__1__F__Q_r_n
call fcn.00423739
add esp, 0x10
mov eax, dword [ebp - 0x2dc]
push eax
call fcn.00423839
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
lea ecx, [ebp - 0xbc]
call fcn.0043b590
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2e8]
lea edx, [ebp - 0xbc]
mov dword [ecx + 0x20], edx
lea ecx, [ebp - 0xbc]
call fcn.00409e74
mov dword [ebp - 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.004050d0
mov eax, dword [ebp - 0x2e4]
lea esp, [ebp - 0x2f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xc8]
xor ecx, ebp
call fcn.004218a9
mov esp, ebp
pop ebp
ret