Function at 0x100265dc
Capabilities:
Create directory
Query environment variable

Disassembly:
push 0x298
push 0x1002ae30
call fcn.100285d0
xor ebx, ebx
mov dword [ebp - 0x298], ebx
push 0x50
push ebx
lea eax, [ebp - 0x74]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x20a
push ebx
lea eax, [ebp - 0x284]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x2a4], ebx
xor eax, eax
lea edi, [ebp - 0x294]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2a8], 0xa
xor edi, edi
inc edi
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 4], edi
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x2a0]
call fcn.100263e0
mov esi, eax
mov dword [ebp - 0x298], esi
test esi, esi
jne 0x100267f0
cmp dword [ebp - 0x29c], eax
jne 0x10026686
mov esi, edi
jmp 0x100267ea
mov edx, dword [ebp - 0x2a0]
test edx, edx
je 0x100266a7
mov esi, 0x10007160
mov ecx, ebx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x100266a7
inc ecx
cmp ecx, 4
jne 0x10026697
jmp 0x1002667f
push 0x28
lea eax, [ebp - 0x74]
push eax
push edx
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
mov esi, 0x104
push esi
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x2a4]
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x100266fe
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100266e6
movzx esi, si
or esi, 0x80070000
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1002d0e4
call sub.msvcrt.dll__local_unwind4
add esp, 0xc
jmp 0x10026816
cmp eax, esi
jbe 0x1002671f
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1002d0e4
call sub.msvcrt.dll__local_unwind4
add esp, 0xc
mov eax, 0x8007006f
jmp 0x10026818
push dword [ebp - 0x2a8]
lea edx, [ebp - 0x284]
lea ecx, [ebp - 0x74]
call fcn.10026104
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
xor eax, eax
mov word [0x1002f878], ax
movzx eax, word [ebp - 0x288]
push eax
movzx eax, word [ebp - 0x28a]
push eax
movzx eax, word [ebp - 0x28c]
push eax
movzx eax, word [ebp - 0x28e]
push eax
movzx eax, word [ebp - 0x292]
push eax
movzx eax, word [ebp - 0x294]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x284]
push eax
push 0x10006e98
push esi
mov edi, 0x1002f670
push edi
call fcn.1001d0c2
add esp, 0x2c
mov esi, eax
mov dword [ebp - 0x298], esi
test esi, esi
js 0x100267f0
push ebx
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
push eax
push 0x10006ee8
push 0x10006f24
call fcn.100262d9
add esp, 0x10
mov esi, eax
mov dword [ebp - 0x298], esi
test esi, esi
js 0x100267f0
push ebx
push edi
call dword [sym.imp.msvcrt.dll__waccess]
pop ecx
pop ecx
test eax, eax
je 0x100267f0
mov esi, 0x80004005
mov dword [ebp - 0x298], esi
mov dword [ebp - 4], ebx
call fcn.10026800
jmp 0x1002680f
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret