Function at 0x46d0d0
Capabilities:
Create directory
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x108]
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x434], edi
push 0
push eax
mov dword [ebp - 0x450], ebx
call fcn.00619cc0
push ecx
push 0x100
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
push 0
lea edx, [ebp - 0x4b0]
call fcn.004b8110
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x46d565
push 0x2000
call fcn.006238cb
add esp, 4
mov dword [ebp - 0x454], eax
test eax, eax
jne 0x46d15d
lea eax, [esi - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006021fd
mov esp, ebp
pop ebp
ret
mov dl, byte [ebp - 0x108]
lea ebx, [ebp - 0x108]
mov al, dl
mov dword [ebp - 0x42c], ebx
mov ecx, ebx
test al, al
je 0x46d192
cmp al, 0x2f
je 0x46d17f
cmp al, 0x5c
jne 0x46d182
lea ebx, [ecx + 1]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x46d177
mov al, byte [ebx]
mov dword [ebp - 0x42c], ebx
mov ecx, dword [edi]
test al, al
jne 0x46d1b0
test ecx, ecx
jne 0x46d555
lea ecx, [ebp - 0x108]
call fcn.0046d040
jmp 0x46d555
test ecx, ecx
jne 0x46d1bc
lea ebx, [ebp - 0x108]
jmp 0x46d1be
mov dl, al
test dl, dl
je 0x46d1e6
cmp byte [ebx + 1], 0
lea eax, [ebx + 1]
mov ecx, ebx
je 0x46d1e6
nop dword [eax]
cmp byte [ecx], 0x2e
jne 0x46d1db
cmp byte [eax], 0x2e
cmove ebx, ecx
mov ecx, eax
cmp byte [ecx + 1], 0
lea eax, [ecx + 1]
jne 0x46d1d0
mov al, byte [ebx]
cmp al, 0x2f
je 0x46d1f0
cmp al, 0x2e
jne 0x46d1f3
inc ebx
jmp 0x46d1e6
push 0x105
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], ebx
push 0
push eax
call fcn.00619cc0
add esp, 0xc
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x6ef740]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x211], al
test al, al
jne 0x46d220
mov edx, ebx
mov esi, ebx
mov al, byte [edx]
inc edx
test al, al
jne 0x46d238
lea edi, [ebp - 0x210]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46d248
mov ecx, edx
lea eax, [ebp - 0x318]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x105
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00619cc0
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx - 0x210]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x319], al
test al, al
jne 0x46d276
push 0x105
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00619cc0
add esp, 0xc
lea eax, [ebp - 0x318]
push 0
push 0
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0062378f
lea edx, [ebp - 0x318]
add esp, 0x14
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x46d2d0
lea edi, [ebp - 0x420]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46d2e0
mov ecx, edx
lea eax, [ebp - 0x420]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0062387e
mov ecx, dword [ebp - 0x450]
add esp, 4
call fcn.004b8c40
mov esi, eax
test esi, esi
jne 0x46d54a
lea eax, [ebp - 0x210]
push 0x6b7968
push eax
call fcn.0061dd0e
add esp, 8
test eax, eax
je 0x46d344
push eax
call fcn.0061dd9b
add esp, 4
cmp dword [ebp + 8], esi
je 0x46d53b
lea eax, [ebp - 0x210]
push 0x6b7964
push eax
call fcn.0061dd0e
mov edi, eax
add esp, 8
test edi, edi
jne 0x46d470
mov eax, dword [ebp - 0x434]
cmp dword [eax], edi
jne 0x46d53b
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x108]
cmp eax, ecx
je 0x46d53b
mov cl, byte [eax - 1]
mov esi, ebx
mov byte [ebp - 0x449], cl
mov byte [eax - 1], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x46d396
sub esi, ecx
je 0x46d445
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.006238cb
mov edi, eax
add esp, 4
test edi, edi
je 0x46d445
mov edx, edi
mov ecx, ebx
sub edx, ebx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x46d3d0
cmp byte [edi + esi - 1], 0x2f
jne 0x46d3e8
mov byte [edi + esi - 1], al
mov ecx, edi
call fcn.0046d040
test eax, eax
je 0x46d43c
lea esi, [edi + 1]
mov bl, byte [esi]
test bl, bl
je 0x46d414
mov al, bl
nop
mov bl, al
cmp al, 0x5c
je 0x46d414
cmp al, 0x2f
je 0x46d414
mov bl, byte [esi + 1]
inc esi
mov al, bl
test bl, bl
jne 0x46d400
mov ecx, edi
mov byte [esi], 0
call fcn.0046d040
cmp eax, 0xffffffff
jne 0x46d42d
call fcn.0062386b
cmp dword [eax], 2
je 0x46d436
test bl, bl
je 0x46d436
mov byte [esi], bl
inc esi
jmp 0x46d3f6
mov ebx, dword [ebp - 0x424]
push edi
call fcn.0062208a
add esp, 4
mov eax, dword [ebp - 0x42c]
mov cl, byte [ebp - 0x449]
push 0x6b7964
push ebx
mov byte [eax - 1], cl
call fcn.0061dd0e
mov edi, eax
add esp, 8
test edi, edi
je 0x46d53b
nop dword [eax]
mov edx, dword [ebp - 0x454]
push ecx
mov ecx, dword [ebp - 0x450]
call fcn.004b8e60
mov esi, eax
add esp, 4
test esi, esi
js 0x46d4a7
jle 0x46d4a7
push edi
push 1
push esi
push dword [ebp - 0x454]
call fcn.0061e053
add esp, 0x10
cmp eax, 1
je 0x46d470
or esi, 0xffffffff
test edi, edi
je 0x46d4b4
push edi
call fcn.0061dd9b
add esp, 4
test esi, esi
jne 0x46d54a
push esi
push esi
push 3
push esi
push esi
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebp - 0x4a0]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x438]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x450]
call fcn.004b9120
mov esi, eax
jmp 0x46d555
mov ecx, dword [ebp - 0x450]
call fcn.004b9120
push dword [ebp - 0x454]
call fcn.0062208a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006021fd
mov esp, ebp
pop ebp
ret