Function at 0x42fb30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push 0x430e80
push ebx
push 0x81
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp dword [0x6cef30], ebx
jne 0x42fc23
lea eax, [ebp - 0x34]
push eax
call fcn.0041d460
add esp, 4
push 0x4b97a8
lea ecx, [ebp - 0x44]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.0041f940
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x42fbc5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42fbbc
cmp al, 0xff
je 0x42fbbc
dec al
mov byte [ecx], al
jmp 0x42fbc5
push ecx
call fcn.004a5c41
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], ebx
cmp eax, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
jne 0x42fbda
mov eax, 0x4b9360
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [ebp - 0x44]
push 0x100000
push edx
mov ecx, 0x6ceec8
call fcn.00427230
cmp eax, ebx
jne 0x42fc44
push 0x10
push str.error
push str.Initializing_LogFile_fail
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x42fc23
mov al, byte [ecx - 1]
test al, al
je 0x42fc38
cmp al, 0xff
je 0x42fc38
dec al
mov byte [ecx - 1], al
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
jmp 0x42fc23
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [ebp - 0x16]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1a]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp - 0x1c]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [ebp - 0x1e]
and ecx, 0xffff
push eax
mov eax, dword [ebp - 0x22]
push ecx
mov ecx, dword [ebp - 0x24]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [ebp - 0x160]
push str._r_n_r_n_S3Relay_Start_____04d__02d__02d__02d:_02d:_02d._03d________r_n_r_n_r_n
push edx
call fcn.004a6c24
add esp, 0x24
mov ecx, 0x6ceec8
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.004274c0
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x6cee5c
push 0x67
push esi
call edi
push 0x64
push 0x6cedf8
push 0x6d
push esi
call edi
push esi
call fcn.0042fff0
mov ecx, dword [ebp + 0x14]
add esp, 4
push ecx
push esi
call fcn.00430320
add esp, 8
test eax, eax
je 0x42fd3f
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov esi, eax
push 0
push 0
lea edx, [ebp - 0x60]
push 0
push edx
call edi
test eax, eax
je 0x42fd3c
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x60]
push eax
push esi
push ecx
call ebx
test eax, eax
jne 0x42fd07
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x42fd07
mov ebx, dword [ebp - 0x58]
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0x16]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1a]
and edx, 0xffff
push edx
mov edx, dword [ebp - 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [ebp - 0x1e]
and edx, 0xffff
push ecx
mov ecx, dword [ebp - 0x22]
push edx
mov edx, dword [ebp - 0x24]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [ebp - 0x160]
push str._r_n_r_n_S3Relay_Stop_____04d__02d__02d__02d:_02d:_02d._03d________r_n_r_n_r_n
push eax
call fcn.004a6c24
add esp, 0x24
lea ecx, [ebp - 0x160]
push eax
push ecx
mov ecx, 0x6ceec8
call fcn.004274c0
mov ecx, 0x6ceec8
call fcn.004273f0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x42fdf3
mov al, byte [ecx - 1]
test al, al
je 0x42fde9
cmp al, 0xff
je 0x42fde9
dec al
mov byte [ecx - 1], al
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10