Function at 0x43c010
Capabilities:
Create directory
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558087
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x94], esi
xor edi, edi
mov byte [ebp - 0x86], 1
mov dword [ebp - 0x8c], edi
cmp byte [0x5cb50b], 0
je 0x43c488
lea eax, [ebp - 0x40]
mov byte [ebp - 0x7d], 0
push edi
push eax
call fcn.0043c5b0
add esp, 8
mov edx, dword [str.acrord32_sbx]
xor eax, eax
mov ecx, edx
mov dword [ebp - 4], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c0a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xc4]
call fcn.00408740
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0xc4]
push eax
push 0
mov byte [ebp - 4], 1
call fcn.0043c680
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov edi, 8
mov dword [ebp - 0x8c], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 3
call fcn.00408e50
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x7c], xmm0
call fcn.0043c780
add esp, 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], edi
push edx
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x43c178
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43c2bc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x2000000
push 3
push 0
push 3
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x5cbd24], eax
lea eax, [ebp - 0x70]
push str.TEMP
push eax
call fcn.0043c9b0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push 0x58ea9c
push eax
call fcn.0043c9b0
add esp, 0x10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x28]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x43c268
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x58ea9c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x43c268
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x90], eax
test eax, eax
je 0x43c37a
cmp word [eax], 0
mov esi, eax
je 0x43c245
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c225
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2]
add esi, 2
cmp word [esi], cx
jne 0x43c220
mov eax, dword [ebp - 0x90]
sub esi, eax
add esi, 2
sar esi, 1
cmp esi, 0x3ffffffe
jb 0x43c300
mov dword [0x5cbd28], 0
mov esi, dword [ebp - 0x94]
cmp dword [ebp - 0x60], 0
jbe 0x43c285
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [ebp - 0x48], 0
jbe 0x43c2a2
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push 0x58ea9c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea ecx, [ebp - 0x58]
call fcn.00408e50
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00408e50
cmp byte [ebp - 0x7d], 0
jne 0x43c2c3
mov byte [0x5cb50b], 0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x43c2d1
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x28]
call fcn.00408e50
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00408e50
cmp byte [0x5cb50b], 0
je 0x43c488
mov al, byte [ebp - 0x86]
jmp 0x43c589
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
push 0x5cd774
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e02e
add esp, 8
mov dword [ebp - 0x84], eax
test eax, eax
je 0x43c368
lea eax, [esi + esi]
mov esi, dword [ebp - 0x84]
test eax, eax
je 0x43c36e
test esi, esi
jne 0x43c356
call fcn.00411120
mov dword [eax], 0x16
call fcn.0052cad1
push esi
call fcn.0041e6ef
add esp, 4
jmp 0x43c36e
push eax
push dword [ebp - 0x90]
push esi
call fcn.005285f0
add esp, 0xc
jmp 0x43c36e
mov esi, dword [ebp - 0x84]
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov dword [0x5cbd28], esi
test esi, esi
je 0x43c262
push 0x58eaa4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0043cca0
add esp, 0xc
mov esi, dword [ebp - 0x94]
mov ecx, esi
push eax
mov byte [ebp - 4], 6
call fcn.0043cd70
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x85], al
mov byte [ebp - 4], 5
call fcn.00408e50
cmp byte [ebp - 0x85], 0
je 0x43c268
push 0x56999c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0043cca0
push eax
mov byte [ebp - 4], 7
call fcn.0043cdb0
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xac]
call fcn.00408e50
push 0x430b20
push 0x5cd580
call fcn.00430ae0
add esp, 8
test al, al
je 0x43c47f
push str.JFEAT_temp
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0043cca0
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0043cd70
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
call fcn.00408e50
push 0
lea eax, [ebp - 0xac]
push str.TempJFEAT_temp
push eax
call fcn.0043ce60
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0043cd70
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
call fcn.00408e50
mov byte [ebp - 0x7d], 1
jmp 0x43c268
call fcn.0040a420
cmp eax, 3
jl 0x43c4c9
push 1
push str.TempLow
lea eax, [ebp - 0x58]
push 0x1c
push eax
call fcn.0043d270
add esp, 0x10
or edi, 1
mov dword [ebp - 4], 0xa
push eax
mov ecx, esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], edi
call fcn.0043cd70
test al, al
je 0x43c537
push 0
push str.TempAdobeAcrobatDC
lea eax, [ebp - 0x70]
push 0x1c
push eax
call fcn.0043d270
add esp, 0x10
or edi, 2
mov dword [ebp - 4], 0xb
push eax
mov ecx, esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], edi
call fcn.0043d000
test al, al
je 0x43c537
lea eax, [ebp - 0xac]
push 1
push eax
call fcn.0043c5b0
add esp, 8
or edi, 4
mov dword [ebp - 4], 0xc
push eax
mov ecx, esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], edi
call fcn.0043cd70
mov byte [ebp - 0x7d], 1
test al, al
jne 0x43c53b
mov byte [ebp - 0x7d], 0
mov eax, dword [ebp - 0x84]
test al, 4
je 0x43c55f
and eax, 0xfffffffb
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x84], eax
call fcn.00408e50
mov eax, dword [ebp - 0x84]
test al, 2
je 0x43c57a
and eax, 0xfffffffd
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x84], eax
call fcn.00408e50
mov eax, dword [ebp - 0x84]
test al, 1
je 0x43c586
lea ecx, [ebp - 0x58]
call fcn.00408e50
mov al, byte [ebp - 0x7d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret