Function at 0x427791
Capabilities:
Create directory

Disassembly:
mov eax, 0x49c5a4
call fcn.00498a28
sub esp, 0xc4
push ebx
push edi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0x58], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x24]
call fcn.00416f07
test al, al
jne 0x427805
mov edx, str.Unable_to_get_system_temp_folder_n
mov ecx, 0x4ccc28
call fcn.0040e498
xor eax, eax
lea ecx, [ebp - 0x24]
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
call fcn.00402f3d
jmp 0x427a5b
push esi
push str.mSetup_logs
lea ecx, [ebp - 0x54]
call fcn.00402788
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040e2b3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00402f3d
cmp dword [ebp - 0x10], 7
lea eax, [ebp - 0x24]
push 0
cmova eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x427931
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x427931
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xa8]
call fcn.0041510b
push 0x1c
push str.Failed_to_create_log_folder
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040efea
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403476
mov byte [ebp - 4], 3
lea edx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0xf
mov ecx, 0x4ccc28
push dword [ebp - 0x2c]
cmova edx, dword [ebp - 0x3c]
call fcn.0040f080
pop ecx
mov esi, eax
call edi
mov edx, eax
lea ecx, [ebp - 0x7b]
call fcn.0040ffba
push ecx
lea ecx, [ebp - 0x7b]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00410071
push 0xd
push str.__error_code
push ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.0040efea
push eax
lea ecx, [ebp - 0x78]
call fcn.00403476
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.0040e483
mov dl, 0xa
mov ecx, eax
call fcn.0040e632
lea ecx, [ebp - 0x78]
call fcn.00402fc0
lea ecx, [ebp - 0x54]
call fcn.00402fc0
lea ecx, [ebp - 0x3c]
call fcn.00402fc0
lea ecx, [ebp - 0xa8]
call fcn.00402fc0
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
jmp 0x427a52
push 0x4b280c
lea ecx, [ebp - 0x90]
call fcn.00403061
lea edx, [ebp - 0x90]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc0]
call fcn.00415155
mov esi, eax
push 0x4b3dbc
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 7
call fcn.00402788
push str.mSetup_
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00406489
push eax
lea ecx, [ebp - 0x78]
call fcn.00405f50
push esi
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x3c]
call fcn.00413dc6
push 0x5f
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.00413586
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00405f50
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x24]
call fcn.0040e2b3
lea ecx, [ebp - 0x54]
call fcn.00402f3d
lea ecx, [ebp - 0x3c]
call fcn.00402f3d
lea ecx, [ebp - 0x78]
call fcn.00402f3d
lea ecx, [ebp - 0xa8]
call fcn.00402f3d
lea ecx, [ebp - 0xc0]
call fcn.00402f3d
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0
call fcn.00402fc0
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0xc0]
call fcn.00416344
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.0040e2b3
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.00402f3d
push str..log
lea ecx, [ebp - 0x24]
call fcn.00406489
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00405f50
lea ecx, [ebp - 0x24]
call fcn.00402f3d
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret