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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461081
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x4745a8]
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 0x424ecd
cmp dword [0x475eb0], ebx
je 0x425431
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.00424480
add esp, 0xc
cmp eax, ebx
je 0x424f71
xor eax, eax
jmp 0x424f10
mov cl, byte [ebp + eax - 0x168]
mov byte [ebp + eax - 0x270], cl
inc eax
cmp cl, bl
jne 0x424f10
lea eax, [ebp - 0x270]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x424f30
lea eax, [ebp - 0x168]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424f41
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.00412810
jmp 0x424f83
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 0x424f9c
lea eax, [ebp - 0x2a8]
push eax
call fcn.004306f0
add esp, 4
test eax, eax
jne 0x424fc5
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], esi
jae 0x424fbd
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 0x424fd9
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 0x424ff4
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x28c]
call fcn.00407c70
push 1
push 0x466664
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 1
call fcn.00412810
push 4
push str.stp_
lea ecx, [ebp - 0x28c]
call fcn.00412810
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x425037
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x28c]
call fcn.00412810
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.0043ac3a
lea eax, [ebp - 0x20]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425091
sub eax, edx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00412810
push 4
push str..log
lea ecx, [ebp - 0x28c]
call fcn.00412810
mov eax, dword [ebp - 0x28c]
mov esi, 0x10
cmp dword [ebp - 0x278], esi
jae 0x4250d5
lea eax, [ebp - 0x28c]
push eax
call fcn.00430650
add esp, 4
test eax, eax
jne 0x42526b
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 0x425101
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 0x425132
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x2d4]
call fcn.00412810
movzx ecx, word [ebp - 0x2b4]
push ecx
lea edx, [ebp - 0x2e0]
push str._02u
push edx
call fcn.0043ac3a
lea eax, [ebp - 0x2e0]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425170
sub eax, edx
push eax
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00412810
push 4
push str..log
lea ecx, [ebp - 0x2d4]
call fcn.00412810
mov ecx, dword [ebp - 0x2d4]
cmp dword [ebp - 0x2c0], esi
jae 0x4251b2
lea ecx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], esi
jae 0x4251c6
lea eax, [ebp - 0x2a8]
push ecx
push eax
call fcn.004309c0
mov eax, dword [ebp - 0x28c]
add esp, 8
cmp dword [ebp - 0x278], esi
jae 0x4251e4
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 0x425237
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425237
cmp dword [ebp - 0x278], 0x10
mov eax, dword [ebp - 0x28c]
jae 0x425226
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 0x425253
mov ecx, dword [ebp - 0x2d4]
push ecx
call fcn.00439f71
add esp, 4
mov dword [ebp - 0x2c0], 0xf
mov dword [ebp - 0x2c4], ebx
mov byte [ebp - 0x2d4], bl
jmp 0x425299
mov eax, dword [ebp - 0x28c]
cmp dword [ebp - 0x278], esi
jae 0x42527f
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 0x4252e3
cmp dword [ebp - 0x278], edi
jb 0x4252b5
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00439f71
add esp, 4
mov dword [ebp - 0x278], 0xf
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
cmp dword [ebp - 0x294], edi
jb 0x425431
mov eax, dword [ebp - 0x2a8]
push eax
jmp 0x425429
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.0043ac3a
lea eax, [ebp - 0x60]
add esp, 0x20
lea edx, [eax + 1]
jmp 0x425340
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425340
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 0x425376
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.0043ac3a
lea eax, [ebp - 0x60]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425394
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 0x4253b6
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 0x46668c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x278], 0x10
jb 0x425403
mov ecx, dword [ebp - 0x28c]
push ecx
call fcn.00439f71
add esp, 4
cmp dword [ebp - 0x294], 0x10
mov dword [ebp - 0x278], 0xf
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
jb 0x425431
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.00439f71
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.00439bf4
mov esp, ebp
pop ebp
ret