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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467b31
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x47c5a8]
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 + 8]
xor ebx, ebx
mov esi, 0xf
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x1a0], bl
push 0x105
lea ecx, [ebp - 0x168]
push ecx
push str.setup
mov dword [ebp - 4], ebx
call fcn.00429c50
add esp, 0xc
cmp eax, ebx
je 0x425920
lea eax, [ebp - 0x168]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4258f0
sub eax, edx
push eax
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0x1a0]
call fcn.00407d70
push 0xa
push str.:iNodeLog
lea ecx, [ebp - 0x1a0]
call fcn.00413820
jmp 0x425932
push 0xb
push str.C:iNodeLog
lea ecx, [ebp - 0x1a0]
call fcn.00407d70
mov eax, dword [ebp - 0x1a0]
mov edi, 0x10
cmp dword [ebp - 0x18c], edi
jae 0x42594b
lea eax, [ebp - 0x1a0]
push eax
call fcn.00436640
add esp, 4
test eax, eax
jne 0x425974
mov eax, dword [ebp - 0x1a0]
cmp dword [ebp - 0x18c], edi
jae 0x42596c
lea eax, [ebp - 0x1a0]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x1a0]
cmp dword [ebp - 0x18c], edi
jae 0x425988
lea edx, [ebp - 0x1a0]
mov eax, edx
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x174], ebx
mov byte [ebp - 0x184], bl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4259a0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x184]
call fcn.00407d70
push 6
push str._setup
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 1
call fcn.00413820
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x1ac]
movzx edx, word [ebp - 0x1aa]
movzx eax, word [ebp - 0x1ae]
push ecx
movzx ecx, word [ebp - 0x1b0]
push edx
push eax
push ecx
lea edx, [ebp - 0x20]
push str._04u_02u_02u_02u
push edx
call fcn.00440eaa
lea eax, [ebp - 0x20]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425a10
sub eax, edx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x184]
call fcn.00413820
push 4
push str..log
lea ecx, [ebp - 0x184]
call fcn.00413820
mov eax, dword [ebp - 0x184]
cmp dword [ebp - 0x170], edi
jae 0x425a4f
lea eax, [ebp - 0x184]
push eax
call fcn.004365a0
add esp, 4
test eax, eax
jne 0x425bad
push 5
push str.setup
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1b8], 0xf
mov dword [ebp - 0x1bc], ebx
mov byte [ebp - 0x1cc], bl
call fcn.00407d70
movzx ecx, word [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0x1d8]
push str._02u
push edx
mov byte [ebp - 4], 2
call fcn.00440eaa
lea eax, [ebp - 0x1d8]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425ab1
sub eax, edx
push eax
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.00413820
push 4
push str..log
lea ecx, [ebp - 0x1cc]
call fcn.00413820
mov ecx, dword [ebp - 0x1cc]
cmp dword [ebp - 0x1b8], edi
jae 0x425af3
lea ecx, [ebp - 0x1cc]
mov eax, dword [ebp - 0x1a0]
cmp dword [ebp - 0x18c], edi
jae 0x425b07
lea eax, [ebp - 0x1a0]
push ecx
push eax
call fcn.00436c20
mov eax, dword [ebp - 0x184]
add esp, 8
cmp dword [ebp - 0x170], edi
jae 0x425b25
lea eax, [ebp - 0x184]
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 0x425b78
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425b78
cmp dword [ebp - 0x170], 0x10
mov eax, dword [ebp - 0x184]
jae 0x425b67
lea eax, [ebp - 0x184]
push ebx
push ebx
push 3
push ebx
push 3
push 0x40000000
push eax
call edi
mov esi, eax
cmp dword [ebp - 0x1b8], 0x10
jb 0x425b90
mov ecx, dword [ebp - 0x1cc]
push ecx
call fcn.004401d7
add esp, 4
mov dword [ebp - 0x1b8], 0xf
mov dword [ebp - 0x1bc], ebx
mov byte [ebp - 0x1cc], bl
mov edi, 0x10
jmp 0x425bd6
mov eax, dword [ebp - 0x184]
cmp dword [ebp - 0x170], edi
jae 0x425bc1
lea eax, [ebp - 0x184]
push ebx
push ebx
push 3
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x425c20
cmp dword [ebp - 0x170], edi
jb 0x425bf2
mov edx, dword [ebp - 0x184]
push edx
call fcn.004401d7
add esp, 4
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], ebx
mov byte [ebp - 0x184], bl
cmp dword [ebp - 0x18c], edi
jb 0x425d55
mov eax, dword [ebp - 0x1a0]
push eax
jmp 0x425d4d
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
movzx ecx, word [ebp - 0x1a4]
movzx edx, word [ebp - 0x1a6]
movzx eax, word [ebp - 0x1a8]
push ecx
movzx ecx, word [ebp - 0x1aa]
push edx
movzx edx, word [ebp - 0x1ae]
push eax
movzx eax, word [ebp - 0x1b0]
push ecx
push edx
push eax
lea ecx, [ebp - 0x60]
push str.__04u__02u__02u__02u:_02u:_02u_
push ecx
mov dword [ebp - 0x1d0], ebx
call fcn.00440eaa
lea eax, [ebp - 0x60]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425c78
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, edx
push ebx
lea edx, [ebp - 0x1d0]
push edx
push eax
lea eax, [ebp - 0x60]
push eax
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [ebp - 0x60]
push str.__x_
push ecx
call fcn.00440eaa
lea eax, [ebp - 0x60]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x425cb5
push ebx
lea edx, [ebp - 0x1d0]
push edx
sub eax, ecx
push eax
lea eax, [ebp - 0x60]
push eax
push esi
call edi
mov eax, dword [ebp - 0x1d4]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x425cd7
mov edx, dword [ebp - 0x1d4]
push ebx
sub eax, ecx
lea ecx, [ebp - 0x1d0]
push ecx
push eax
push edx
push esi
call edi
push ebx
lea eax, [ebp - 0x1d0]
push eax
push 2
push 0x46cbbc
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x10
cmp dword [ebp - 0x170], esi
jb 0x425d28
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.004401d7
add esp, 4
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], ebx
mov byte [ebp - 0x184], bl
cmp dword [ebp - 0x18c], esi
jb 0x425d55
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.004401d7
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.0043fe5a
mov esp, ebp
pop ebp
ret