Function at 0x424ac0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460a51
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x4735a8]
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
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2dc], eax
cmp dword [ebp + 0x10], ebx
je 0x424b0d
cmp dword [0x474eb0], ebx
je 0x425071
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], ebx
mov byte [ebp - 0x2a8], bl
push 0x105
lea ecx, [ebp - 0x168]
push ecx
push str.setup
mov dword [ebp - 4], ebx
call fcn.00424130
add esp, 0xc
cmp eax, ebx
je 0x424bb1
xor eax, eax
jmp 0x424b50
mov cl, byte [ebp + eax - 0x168]
mov byte [ebp + eax - 0x270], cl
inc eax
cmp cl, bl
jne 0x424b50
lea eax, [ebp - 0x270]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x424b70
lea eax, [ebp - 0x168]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424b81
sub eax, edx
push eax
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.00407c70
push 0xa
push str.:iNodeLog
lea ecx, [ebp - 0x2a8]
call fcn.00412850
jmp 0x424bc3
push 0xb
push str.C:iNodeLog
lea ecx, [ebp - 0x2a8]
call fcn.00407c70
mov eax, dword [ebp - 0x2a8]
mov esi, 0x10
cmp dword [ebp - 0x294], esi
jae 0x424bdc
lea eax, [ebp - 0x2a8]
push eax
call fcn.004301d0
add esp, 4
test eax, eax
jne 0x424c05
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], esi
jae 0x424bfd
lea eax, [ebp - 0x2a8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], esi
jae 0x424c19
lea ecx, [ebp - 0x2a8]
mov eax, ecx
mov dword [ebp - 0x278], 0xf
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x424c34
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x28c]
call fcn.00407c70
push 1
push 0x4655d0
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 1
call fcn.00412850
push 4
push str.stp_
lea ecx, [ebp - 0x28c]
call fcn.00412850
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x424c77
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x28c]
call fcn.00412850
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x2b4]
movzx edx, word [ebp - 0x2b2]
movzx eax, word [ebp - 0x2b6]
push ecx
movzx ecx, word [ebp - 0x2b8]
push edx
push eax
push ecx
lea edx, [ebp - 0x20]
push str._04u_02u_02u_02u
push edx
call fcn.0043a71a
lea eax, [ebp - 0x20]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424cd1
sub eax, edx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00412850
push 4
push str..log
lea ecx, [ebp - 0x28c]
call fcn.00412850
mov eax, dword [ebp - 0x28c]
mov esi, 0x10
cmp dword [ebp - 0x278], esi
jae 0x424d15
lea eax, [ebp - 0x28c]
push eax
call fcn.00430130
add esp, 4
test eax, eax
jne 0x424eab
mov eax, edi
mov dword [ebp - 0x2c0], 0xf
mov dword [ebp - 0x2c4], ebx
mov byte [ebp - 0x2d4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424d41
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x2d4]
call fcn.00407c70
push 4
push str.stp_
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 2
call fcn.00407c70
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424d72
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x2d4]
call fcn.00412850
movzx ecx, word [ebp - 0x2b4]
push ecx
lea edx, [ebp - 0x2e0]
push str._02u
push edx
call fcn.0043a71a
lea eax, [ebp - 0x2e0]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424db0
sub eax, edx
push eax
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00412850
push 4
push str..log
lea ecx, [ebp - 0x2d4]
call fcn.00412850
mov ecx, dword [ebp - 0x2d4]
cmp dword [ebp - 0x2c0], esi
jae 0x424df2
lea ecx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], esi
jae 0x424e06
lea eax, [ebp - 0x2a8]
push ecx
push eax
call fcn.004304a0
mov eax, dword [ebp - 0x28c]
add esp, 8
cmp dword [ebp - 0x278], esi
jae 0x424e24
lea eax, [ebp - 0x28c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x80
push 1
push ebx
push 1
push 0x40000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x424e77
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x424e77
cmp dword [ebp - 0x278], 0x10
mov eax, dword [ebp - 0x28c]
jae 0x424e66
lea eax, [ebp - 0x28c]
push ebx
push ebx
push 3
push ebx
push 3
push 0x40000000
push eax
call edi
mov esi, eax
mov edi, 0x10
cmp dword [ebp - 0x2c0], edi
jb 0x424e93
mov ecx, dword [ebp - 0x2d4]
push ecx
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x2c0], 0xf
mov dword [ebp - 0x2c4], ebx
mov byte [ebp - 0x2d4], bl
jmp 0x424ed9
mov eax, dword [ebp - 0x28c]
cmp dword [ebp - 0x278], esi
jae 0x424ebf
lea eax, [ebp - 0x28c]
push ebx
push ebx
push 3
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov edi, 0x10
cmp esi, 0xffffffff
jne 0x424f23
cmp dword [ebp - 0x278], edi
jb 0x424ef5
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x278], 0xf
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
cmp dword [ebp - 0x294], edi
jb 0x425071
mov eax, dword [ebp - 0x2a8]
push eax
jmp 0x425069
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
movzx ecx, word [ebp - 0x2ac]
movzx edx, word [ebp - 0x2ae]
movzx eax, word [ebp - 0x2b0]
push ecx
movzx ecx, word [ebp - 0x2b2]
push edx
movzx edx, word [ebp - 0x2b6]
push eax
movzx eax, word [ebp - 0x2b8]
push ecx
push edx
push eax
lea ecx, [ebp - 0x60]
push str.__04u__02u__02u__02u:_02u:_02u_
push ecx
mov dword [ebp - 0x2d8], ebx
call fcn.0043a71a
lea eax, [ebp - 0x60]
add esp, 0x20
lea edx, [eax + 1]
jmp 0x424f80
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424f80
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, edx
push ebx
lea edx, [ebp - 0x2d8]
push edx
push eax
lea eax, [ebp - 0x60]
push eax
push esi
call edi
cmp dword [ebp + 0x10], ebx
je 0x424fb6
push ebx
lea ecx, [ebp - 0x2d8]
push ecx
push 6
push str._DTL_
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [ebp - 0x60]
push str._0x_x_
push edx
call fcn.0043a71a
lea eax, [ebp - 0x60]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424fd4
push ebx
lea ecx, [ebp - 0x2d8]
push ecx
sub eax, edx
push eax
lea edx, [ebp - 0x60]
push edx
push esi
call edi
mov eax, dword [ebp - 0x2dc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x424ff6
mov edx, dword [ebp - 0x2dc]
push ebx
sub eax, ecx
lea ecx, [ebp - 0x2d8]
push ecx
push eax
push edx
push esi
call edi
push ebx
lea eax, [ebp - 0x2d8]
push eax
push 2
push 0x4655f8
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x278], 0x10
jb 0x425043
mov ecx, dword [ebp - 0x28c]
push ecx
call fcn.00439a51
add esp, 4
cmp dword [ebp - 0x294], 0x10
mov dword [ebp - 0x278], 0xf
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
jb 0x425071
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.00439a51
add esp, 4
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.004396d4
mov esp, ebp
pop ebp
ret