Function at 0x4276dd
Capabilities:
Create directory

Disassembly:
mov eax, 0x49a5d0
call fcn.00497330
sub esp, 0xc0
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x24], ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.0041775b
test al, al
jne 0x427749
mov edx, str.Unable_to_get_system_temp_folder_n
mov ecx, 0x4ca318
call fcn.0040e8f9
mov dword [edi], ebx
xor eax, eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
lea ecx, [ebp - 0x24]
mov word [edi], ax
call fcn.004045a0
jmp 0x4279ea
push esi
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
push str.mSetup_logs
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 1
call fcn.00407b29
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x24]
call fcn.0040e743
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004045a0
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push ebx
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x427895
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
je 0x427893
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xa4]
call fcn.0041590f
push 0x1c
push str.Failed_to_create_log_folder
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040f4d8
push eax
lea ecx, [ebp - 0x54]
call fcn.00403b39
mov byte [ebp - 4], 6
lea edx, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
mov ecx, 0x4ca318
push dword [ebp - 0x44]
cmovae edx, dword [ebp - 0x54]
call fcn.0040f577
pop ecx
mov esi, eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x27]
call fcn.00410470
push ecx
lea ecx, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00410488
push 0xd
push str.__error_code
push ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.0040f4d8
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403b39
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.0040e8e4
mov dl, 0xa
mov ecx, eax
call fcn.0040ea77
lea ecx, [ebp - 0x6c]
call fcn.00403b90
lea ecx, [ebp - 0x8c]
call fcn.00403b90
lea ecx, [ebp - 0x54]
call fcn.00403b90
lea ecx, [ebp - 0xa4]
call fcn.00403b90
and dword [edi], 0
and dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
jmp 0x4279e1
xor ebx, ebx
mov dword [ebp - 0x54], ebx
push 0x4b3be8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], bl
mov byte [ebp - 4], 1
call fcn.00405c0c
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbc]
call fcn.00415958
mov esi, eax
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
push 0x4b4a04
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 0xc
call fcn.00407b29
push str.mSetup_
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.00406efa
push eax
lea ecx, [ebp - 0xa4]
call fcn.00406923
push esi
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x6c]
call fcn.004144fb
push 0x5f
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.00413cc8
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00406923
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x24]
call fcn.0040e743
lea ecx, [ebp - 0x8c]
call fcn.004045a0
lea ecx, [ebp - 0x6c]
call fcn.004045a0
lea ecx, [ebp - 0xa4]
call fcn.004045a0
lea ecx, [ebp - 0x3c]
call fcn.004045a0
lea ecx, [ebp - 0xbc]
call fcn.004045a0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00403b90
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0xbc]
call fcn.00416b19
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.0040e743
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.004045a0
push str..log
lea ecx, [ebp - 0x24]
call fcn.00406efa
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00406923
lea ecx, [ebp - 0x24]
call fcn.004045a0
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret