Function at 0x449790
Capabilities:
Create directory
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7156c1
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x813e5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x8183a5]
test eax, eax
je 0x44981a
mov byte [0x8183a5], 0
push 0
mov ecx, 0x826df4
call fcn.0040f530
push eax
call fcn.006d91f8
add esp, 8
test eax, eax
jne 0x44981a
mov ecx, 0x826e0c
call fcn.0040f530
mov dword [ebp - 0x238], eax
mov ecx, 0x826df4
call fcn.0040f530
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x32
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.006cfab0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], cx
mov byte [ebp - 0x12], cl
lea ecx, [ebp - 0x194]
call fcn.0040faa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.0040faa0
mov byte [ebp - 4], 1
push 0x7c9a3d
lea ecx, [ebp - 0x17c]
call fcn.00402cb0
mov byte [ebp - 4], 2
mov dword [ebp - 0x1f0], 0
push 0xff
push 0
lea edx, [ebp - 0x154]
push edx
call fcn.006cfab0
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x156]
push ecx
movzx edx, word [ebp - 0x158]
push edx
movzx eax, word [ebp - 0x15a]
push eax
movzx ecx, word [ebp - 0x15c]
push ecx
movzx edx, word [ebp - 0x15e]
push edx
movzx eax, word [ebp - 0x162]
push eax
movzx ecx, word [ebp - 0x164]
push ecx
push str._04d__02d__02d__02d:_02d:_02d._03d
lea edx, [ebp - 0x54]
push edx
call fcn.004063d0
add esp, 0x24
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x194]
call fcn.0040f970
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x194]
call fcn.0044a290
add eax, 1
push eax
lea ecx, [ebp - 0x1c4]
push ecx
lea ecx, [ebp - 0x194]
call fcn.00432850
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x1ac]
call fcn.0040fa00
lea ecx, [ebp - 0x1c4]
call fcn.00402bd0
mov dword [ebp - 0x1e0], 0x7c9a3e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dl, byte [ecx]
mov byte [ebp - 0x1c6], dl
mov eax, dword [ebp - 0x1e0]
cmp dl, byte [eax]
jne 0x4499b1
cmp byte [ebp - 0x1c6], 0
je 0x4499a5
mov ecx, dword [ebp - 0x1dc]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x1c7], dl
mov eax, dword [ebp - 0x1e0]
cmp dl, byte [eax + 1]
jne 0x4499b1
add dword [ebp - 0x1dc], 2
add dword [ebp - 0x1e0], 2
cmp byte [ebp - 0x1c7], 0
jne 0x449953
mov dword [ebp - 0x208], 0
jmp 0x4499bc
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x210], edx
cmp dword [ebp - 0x210], 0
jne 0x449a08
push 0xff
lea eax, [ebp - 0x154]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x449a06
push 0x5c
lea ecx, [ebp - 0x154]
push ecx
call fcn.00449410
add esp, 8
mov edx, 1
shl edx, 0
mov byte [eax + edx], 0
jmp 0x449a6c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x200], eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x1e4], ecx
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x200]
mov cl, byte [eax]
mov byte [ebp - 0x1c5], cl
mov edx, dword [ebp - 0x1e4]
mov al, byte [ebp - 0x1c5]
mov byte [edx], al
mov ecx, dword [ebp - 0x200]
add ecx, 1
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x1e4]
add edx, 1
mov dword [ebp - 0x1e4], edx
cmp byte [ebp - 0x1c5], 0
jne 0x449a29
lea eax, [ebp - 0x154]
push eax
call fcn.006d9265
add esp, 4
push 0x7d3144
mov ecx, 0x826df4
call fcn.0040f530
push eax
call fcn.006d91e1
add esp, 8
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 0
jne 0x449ae7
mov dword [ebp - 0x214], 0xfffffffe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.00402bd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.00402bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.00402bd0
mov eax, dword [ebp - 0x214]
jmp 0x449e0a
lea ecx, [ebp + 0x24]
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp + 0x20]
push edx
lea ecx, [ebp - 0x17c]
call reloc.KERNEL32.dll_GlobalGetAtomNameA
mov eax, 1
test eax, eax
je 0x449be5
mov ecx, dword [ebp - 0x1f8]
add ecx, 4
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx - 4]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
jne 0x449b38
jmp 0x449be5
mov dword [ebp - 0x1ec], 0x7d3140
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1e8], ecx
mov edx, dword [ebp - 0x1e8]
mov al, byte [edx]
mov byte [ebp - 0x1c8], al
mov ecx, dword [ebp - 0x1ec]
cmp al, byte [ecx]
jne 0x449bac
cmp byte [ebp - 0x1c8], 0
je 0x449ba0
mov edx, dword [ebp - 0x1e8]
mov al, byte [edx + 1]
mov byte [ebp - 0x1c9], al
mov ecx, dword [ebp - 0x1ec]
cmp al, byte [ecx + 1]
jne 0x449bac
add dword [ebp - 0x1e8], 2
add dword [ebp - 0x1ec], 2
cmp byte [ebp - 0x1c9], 0
jne 0x449b4e
mov dword [ebp - 0x204], 0
jmp 0x449bb7
sbb edx, edx
or edx, 1
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x449bce
jmp 0x449be5
mov ecx, dword [ebp - 0x1f0]
push ecx
lea ecx, [ebp - 0x17c]
call reloc.KERNEL32.dll_GlobalGetAtomNameA
jmp 0x449aff
mov dword [ebp - 0x1f8], 0
lea ecx, [ebp - 0x17c]
call fcn.00403350
add eax, 0xc8
push eax
call fcn.004648a5
add esp, 4
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x1d0], edx
lea ecx, [ebp - 0x17c]
call fcn.0040f530
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x1ac]
call fcn.0040f530
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0x54]
push ecx
push str._TIME:_s___FILE:_s__s___d___OUT:_s_n
mov edx, dword [ebp - 0x1d0]
push edx
call fcn.004063d0
add esp, 0x1c
push 2
push 0
mov eax, dword [ebp - 0x1f4]
push eax
call fcn.006d7abd
add esp, 0xc
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x1d4]
add edx, 1
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x1d4]
mov cl, byte [eax]
mov byte [ebp - 0x1cb], cl
add dword [ebp - 0x1d4], 1
cmp byte [ebp - 0x1cb], 0
jne 0x449c98
mov edx, dword [ebp - 0x1d4]
sub edx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x1f4]
push eax
push 1
mov ecx, dword [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
call fcn.006d70e2
add esp, 0x10
mov eax, dword [ebp - 0x1f4]
push eax
call fcn.006d67a6
add esp, 4
cmp dword [ebp + 8], 2
jne 0x449daf
movzx ecx, byte [0x826c60]
test ecx, ecx
je 0x449daf
push 0x7d3148
mov ecx, 0x826dc0
call fcn.0040f530
push eax
call fcn.006d91e1
add esp, 8
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x1fc], 0
je 0x449daf
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1d8]
add eax, 1
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x1d8]
mov dl, byte [ecx]
mov byte [ebp - 0x1ca], dl
add dword [ebp - 0x1d8], 1
cmp byte [ebp - 0x1ca], 0
jne 0x449d51
mov eax, dword [ebp - 0x1d8]
sub eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x1fc]
push ecx
push 1
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.006d70e2
add esp, 0x10
mov ecx, dword [ebp - 0x1fc]
push ecx
call fcn.006d67a6
add esp, 4
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
push eax
call fcn.004648a0
add esp, 4
mov dword [ebp - 0x23c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.00402bd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.00402bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.00402bd0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a92ff
mov esp, ebp
pop ebp
ret