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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aa87
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x62cf50]
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 ecx, ecx
mov byte [ebp - 0x8a], 1
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x88], ecx
cmp byte [0x631c48], cl
je 0x42d947
push ecx
lea eax, [ebp - 0x70]
mov byte [ebp - 0x7d], cl
push eax
call fcn.0042db20
add esp, 8
mov edx, dword [str.acrord32_sbx]
xor eax, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d4e5
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.00409db0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0xac]
push eax
push 0
mov byte [ebp - 4], 1
call fcn.004195a0
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov word [eax], cx
mov ecx, 8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 4
cmp eax, ecx
jb 0x42d585
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x98], 7
mov byte [ebp - 4], 3
movq qword [ebp - 0x7c], xmm0
call fcn.0042dbf0
add esp, 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
push edx
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x42d5f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d8c8
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 [0x631c50], eax
lea eax, [ebp - 0x58]
push str.TEMP
push eax
call fcn.0042de50
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push 0x5e4c9c
push eax
call fcn.0042de50
add esp, 0x10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x28]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x42d83e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x5e4c9c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x42d83e
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x42d735
mov esi, eax
cmp word [eax], di
je 0x42d6c5
nop
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d6a5
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp word [esi], di
jne 0x42d6a0
mov eax, dword [ebp - 0x84]
sub esi, eax
add esi, 2
sar esi, 1
cmp esi, 0x3ffffffe
jb 0x42d6df
mov dword [0x631c54], edi
jmp 0x42d83e
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
lfence
push 0x635558
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e564
mov edi, eax
add esp, 8
test edi, edi
je 0x42d722
add esi, esi
je 0x42d722
push esi
mov esi, dword [ebp - 0x84]
push esi
push edi
lfence
call fcn.0056a3d0
add esp, 0xc
jmp 0x42d728
mov esi, dword [ebp - 0x84]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov esi, dword [ebp - 0x94]
mov dword [0x631c54], edi
test edi, edi
je 0x42d83e
push 0x5e4ca4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0042e0c0
add esp, 0xc
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0042e190
lea ecx, [ebp - 0xc4]
mov byte [ebp - 0x89], al
mov byte [ebp - 4], 6
call fcn.0040a580
cmp byte [ebp - 0x89], 0
je 0x42d83e
push 0x5c0584
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0042e0c0
push eax
mov byte [ebp - 4], 8
call fcn.0042f940
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc4]
call fcn.0040a580
push 0x4265a0
push 0x635318
call fcn.00426240
add esp, 8
test al, al
je 0x42d83a
push str.JFEAT_temp
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0042e0c0
add esp, 0xc
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0042e190
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
call fcn.0040a580
push 0
lea eax, [ebp - 0xc4]
push str.TempJFEAT_temp
push eax
call fcn.004f2ab0
add esp, 0xc
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.0042e190
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
call fcn.0040a580
mov byte [ebp - 0x7d], 1
cmp dword [ebp - 0x48], 0
jbe 0x42d85b
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [ebp - 0x30], 0
jbe 0x42d878
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 0x5e4c9c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x42d891
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xc
cmp eax, 8
jb 0x42d8be
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a5e0
cmp byte [ebp - 0x7d], 0
mov byte [ebp - 4], 3
jne 0x42d8cf
mov byte [0x631c48], 0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x42d8dd
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x42d8f6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 0xe
cmp eax, 8
jb 0x42d926
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0040a5e0
cmp byte [0x631c48], 0
mov dword [ebp - 4], 0xffffffff
je 0x42d941
mov al, byte [ebp - 0x8a]
jmp 0x42db00
mov esi, dword [ebp - 0x94]
call fcn.0040b2f0
cmp eax, 3
jl 0x42d99d
push 1
push str.TempLow
lea eax, [ebp - 0xac]
push 0x1c
push eax
call fcn.00447330
add esp, 0x10
mov ecx, dword [ebp - 0x88]
or ecx, 1
mov dword [ebp - 4], 0xf
push 0
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x84], ecx
mov ecx, esi
push eax
call fcn.0042e190
test al, al
je 0x42da26
push 0
push str.TempAdobeAcrobatDC
lea eax, [ebp - 0x40]
push 0x1c
push eax
call fcn.00447330
add esp, 0x10
mov ecx, dword [ebp - 0x88]
or ecx, 2
mov dword [ebp - 4], 0x10
push 0
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x84], ecx
mov ecx, esi
push eax
call fcn.004470b0
test al, al
je 0x42da26
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.0042db20
add esp, 8
mov edx, dword [ebp - 0x88]
or edx, 4
mov dword [ebp - 4], 0x11
mov ecx, edx
mov dword [ebp - 0x88], edx
push 0
mov dword [ebp - 0x84], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x90], edx
call fcn.0042e190
mov byte [ebp - 0x7d], 1
test al, al
jne 0x42da2a
mov byte [ebp - 0x7d], 0
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
test cl, 4
je 0x42da82
and eax, 0xfffffffb
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], 0x12
cmp ecx, 8
jb 0x42da6e
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.0040a5e0
mov eax, dword [ebp - 0x84]
xor ecx, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], cx
test al, 2
je 0x42dacd
and eax, 0xfffffffd
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0x13
cmp ecx, 8
jb 0x42dab9
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0040a5e0
mov eax, dword [ebp - 0x84]
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x42dafd
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 4], 0x14
cmp ecx, 8
jb 0x42dafd
inc ecx
push ecx
push dword [ebp - 0xac]
lea ecx, [ebp - 0xac]
call fcn.0040a5e0
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.004016cd
mov esp, ebp
pop ebp
ret