Function at 0x4286e0
Capabilities:
Create directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
mov edi, ecx
cmp byte [0x550358], bl
je 0x428a41
lea eax, [ebp - 0x9c]
push ebx
push eax
mov byte [ebp - 0xa1], bl
call fcn.00428b90
add esp, 8
mov edx, dword [0x54c810]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
lea esi, [eax + 2]
jmp 0x428760
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x428760
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00406300
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 1
call fcn.00428c60
add esp, 0xc
mov ebx, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], ebx
jb 0x4287ae
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406ec9
add esp, 4
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], ebx
jae 0x4287cd
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], ebx
jae 0x4287e1
lea eax, [ebp - 0x9c]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x428800
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4289d0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42880b
lea eax, [ebp - 0x2c]
push 0
push 0x2000000
push 3
push 0
push 3
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x80]
push str.TEMP
push ecx
mov dword [0x55035c], eax
call fcn.00428e30
lea edx, [ebp - 0x64]
push 0x52a9dc
push edx
mov byte [ebp - 4], 4
call fcn.00428e30
add esp, 0x10
mov byte [ebp - 4], 5
call fcn.004076a0
cmp eax, 3
jl 0x428870
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x428865
lea eax, [ebp - 0x2c]
push eax
mov cl, 1
call fcn.004290d0
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42887b
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push eax
push str.TEMP
call esi
test eax, eax
je 0x42895f
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42889c
lea eax, [ebp - 0x2c]
push eax
push 0x52a9dc
call esi
test eax, eax
je 0x42895f
call fcn.00429390
mov dword [0x550360], eax
test eax, eax
je 0x42895f
push 0x52a9d4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00429440
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004294f0
lea ecx, [ebp - 0x48]
mov bl, al
mov byte [ebp - 4], 5
call fcn.0040a2c0
test bl, bl
je 0x42895a
push 0x5104d4
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00429440
push eax
mov byte [ebp - 4], 7
call fcn.00429530
add esp, 0x10
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0040a2c0
mov ecx, edi
call fcn.00428650
test al, al
je 0x428953
push str.JFEAT_temp
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00429440
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004294f0
lea ecx, [ebp - 0x48]
call fcn.0040a2c0
mov byte [ebp - 0xa1], 1
mov ebx, 8
cmp dword [ebp - 0x70], 0
jbe 0x428978
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], ebx
jae 0x428970
lea eax, [ebp - 0x80]
push eax
push str.TEMP
call esi
cmp dword [ebp - 0x54], 0
jbe 0x428991
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x428989
lea eax, [ebp - 0x64]
push eax
push 0x52a9dc
call esi
cmp dword [ebp - 0x50], ebx
jb 0x4289a2
mov eax, dword [ebp - 0x64]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], ebx
jb 0x4289c7
mov edx, dword [ebp - 0x80]
push edx
call fcn.00406ec9
add esp, 4
cmp byte [ebp - 0xa1], 0
jne 0x4289d7
mov byte [0x550358], 0
cmp dword [ebp - 0x18], ebx
jb 0x4289e8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x88], ebx
jb 0x428a1a
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00406ec9
add esp, 4
cmp byte [0x550358], 0
je 0x428a46
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ebx, 8
call fcn.004076a0
cmp eax, 3
jl 0x428a9a
push 1
push str.TempLow
lea eax, [ebp - 0x48]
push 0x1c
push eax
call fcn.00429c80
add esp, 0x10
cmp dword [eax + 0x10], 0
mov dword [ebp - 4], 9
mov dword [ebp - 0xa0], 1
je 0x428a9a
cmp dword [eax + 0x14], ebx
jb 0x428a83
mov eax, dword [eax]
mov ecx, dword [edi]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push 0
push 0
call eax
test eax, eax
sete al
test al, al
je 0x428af5
push 0
push str.TempAdobeAcrobat11.0
lea ecx, [ebp - 0x64]
push 0x1c
push ecx
call fcn.00429c80
add esp, 0x10
or dword [ebp - 0xa0], 2
push eax
mov ecx, edi
mov dword [ebp - 4], 0xa
call fcn.00429a70
test al, al
je 0x428af5
lea edx, [ebp - 0x80]
push 1
push edx
call fcn.00428b90
add esp, 8
or dword [ebp - 0xa0], 4
push eax
mov ecx, edi
mov dword [ebp - 4], 0xb
call fcn.004294f0
test al, al
je 0x428af5
mov bl, 1
jmp 0x428af7
xor bl, bl
test byte [ebp - 0xa0], 4
mov esi, 8
je 0x428b31
and dword [ebp - 0xa0], 0xfffffffb
cmp dword [ebp - 0x6c], esi
jb 0x428b1d
mov eax, dword [ebp - 0x80]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], cx
test byte [ebp - 0xa0], 2
je 0x428b66
and dword [ebp - 0xa0], 0xfffffffd
cmp dword [ebp - 0x50], esi
jb 0x428b52
mov edx, dword [ebp - 0x64]
push edx
call fcn.00406ec9
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
test byte [ebp - 0xa0], 1
je 0x428b80
cmp dword [ebp - 0x34], esi
jb 0x428b80
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00406ec9
add esp, 4
mov al, bl
jmp 0x428a25