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

Disassembly:
mov eax, 0x61f144
call fcn.0060ebd0
sub esp, 0x460
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x34]
push eax
call fcn.00418161
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp + 8], edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
test al, al
je 0x606dfc
push dword [ebp + 0x10]
lea ecx, [ebp - 0x6c]
call fcn.004018f5
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
call fcn.004018f5
mov byte [ebp - 4], 2
push dword [ebp + 0x14]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.006065ea
mov esi, eax
mov byte [ebp - 4], 1
push edi
push 1
lea ecx, [ebp - 0x50]
call fcn.00401c85
mov byte [ebp - 4], 0
push edi
push 1
lea ecx, [ebp - 0x6c]
call fcn.00401c85
cmp esi, edi
jne 0x606df3
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jl 0x606d81
cmp esi, 1
jge 0x606e1e
xor bl, bl
jmp 0x606dfe
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
push eax
call fcn.0042a99b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
push edi
push edi
lea eax, [ebp - 0x46c]
push 0x200
push eax
mov eax, dword [ebp + 0x10]
call fcn.00413200
add esp, 0x10
push edi
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, dword [ebp + 0xc]
call fcn.00413690
mov ecx, dword [ebp + 0x10]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call fcn.00413690
neg eax
sbb al, al
inc al
mov dword [ebp - 0x14], edi
test bl, bl
je 0x606f11
test al, al
jne 0x606f11
push dword [ebp - 0x28]
mov dword [ebp + 0xc], edi
lea edi, [ebp - 0x34]
lea esi, [ebp - 0x18]
call fcn.0040edee
push 4
call fcn.004a72fd
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.005a8a40
add esp, 0xc
push dword [ebp - 0x28]
lea esi, [ebp - 0x18]
call fcn.0040edee
call fcn.004a72fd
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x28]
push dword [ebp + 0xc]
mov edi, eax
add edi, 4
sub esi, 4
call fcn.005a51fc
pop ecx
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
call fcn.005d3af0
add esp, 0x14
test eax, eax
je 0x606f0a
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x606df8
push str.ERROR_LZO_DECOMPRESS
push ecx
call fcn.0040171c
pop ecx
mov esi, eax
call fcn.0060d9f6
push 2
pop esi
mov ecx, eax
call fcn.00415070
jmp 0x606df8
mov esi, dword [ebp + 0xc]
xor edi, edi
jmp 0x606f23
push edi
lea esi, [ebp - 0x34]
call fcn.00409ab7
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x28]
mov dword [ebp + 8], eax
push edi
push 0x80
push 2
push edi
push 2
push 0x40000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x606f64
cmp dword [ebp + 0x14], edi
je 0x606df8
push str.FAILED_CREATE_FILE
push ecx
call fcn.0040171c
pop ecx
mov esi, eax
call fcn.0060d9f6
mov edi, dword [ebp + 0x14]
jmp 0x606efb
push edi
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x1c], edi
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x606fb2
cmp dword [ebp + 0x14], edi
je 0x606fa6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.FAILED_WRITE_FILE
call fcn.0040171c
mov esi, eax
call fcn.0060d9f6
mov ecx, dword [ebp + 0x14]
push eax
push 2
pop esi
call fcn.004150a0
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x606df8
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x14]
call fcn.005a60f9
pop ecx
cmp dword [ebp - 0x1c], esi
je 0x606dfc
cmp dword [ebp + 0x14], edi
je 0x606df8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.FAILED_WRITE_FILE
call fcn.0040171c
mov esi, eax
call fcn.0060d9f6
mov ecx, dword [ebp + 0x14]
push eax
push 2
pop esi
call fcn.004150a0
pop ecx
pop ecx
jmp 0x606df8