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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6eb7
mov eax, dword fs:[0]
push eax
mov eax, 0x15f4
call fcn.0044ea10
mov eax, dword [0x69f564]
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 edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x114]
mov esi, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0x104
push eax
lea eax, [ebp - 0x15dc]
mov dword [ebp - 0x15e4], ebx
push eax
push ebx
call fcn.005384b0
test eax, eax
jne 0x533fbb
push ebx
call fcn.005388c0
test eax, eax
jne 0x533fbb
push ebx
lea eax, [ebp - 0x15f8]
push fcn.00538410
push eax
call fcn.00532d20
add esp, 0xc
push esi
lea ecx, [ebp - 0x153c]
mov dword [ebp - 4], 0
call fcn.00404479
xor eax, eax
mov dword [ebp - 0x1540], 7
mov dword [ebp - 0x1544], 0
mov word [ebp - 0x1554], ax
test dword [ebp - 0x15d4], 0x800
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x156c]
push eax
je 0x533c49
call fcn.004021d9
mov byte [ebp - 4], 3
push 0xfde9
jmp 0x533c54
call fcn.004021d9
mov byte [ebp - 4], 4
push 0
lea eax, [ebp - 0x156c]
mov ecx, edi
push eax
lea eax, [ebp - 0x1584]
push eax
call fcn.00532eb0
push eax
lea ecx, [ebp - 0x1554]
call fcn.004044cb
lea ecx, [ebp - 0x1584]
call fcn.00420239
lea ecx, [ebp - 0x156c]
mov byte [ebp - 4], 2
call fcn.00402313
mov esi, dword [ebp - 0x1544]
lea eax, [ebp - 0x524]
push 0x410
push 0
push eax
mov dword [ebp - 0x15e0], esi
call fcn.005426c0
cmp dword [ebp - 0x1540], 8
lea eax, [esi + esi]
push eax
lea ecx, [ebp - 0x1554]
cmovae ecx, dword [ebp - 0x1554]
lea eax, [ebp - 0x524]
push ecx
push 0x410
push eax
call fcn.00534150
xor esi, esi
lea edi, [ebp - 0x524]
add esp, 0x1c
cmp dword [ebp - 0x15e0], esi
jl 0x533dc1
nop
movzx eax, word [ebp + esi*2 - 0x524]
test ax, ax
je 0x533d96
cmp eax, 0x5c
je 0x533d0b
cmp eax, 0x2f
jne 0x533d82
cmp esi, 0x208
jae 0x533d91
xor eax, eax
mov word [ebp + esi*2 - 0x524], ax
cmp word [edi], ax
jne 0x533d26
xor ecx, ecx
jmp 0x533d3f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x533d30
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x153c]
call fcn.004049a5
push 1
push 0x5fb264
lea ecx, [ebp - 0x153c]
call fcn.004049a5
cmp dword [ebp - 0x1528], 8
lea eax, [ebp - 0x153c]
push 0
cmovae eax, dword [ebp - 0x153c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebp + esi*2 - 0x522]
inc esi
cmp esi, dword [ebp - 0x15e0]
jle 0x533cf0
jmp 0x533dc1
call fcn.0044eb60
cmp word [edi], 0
jne 0x533da0
xor ecx, ecx
jmp 0x533db4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x533da5
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x153c]
call fcn.004049a5
cmp word [edi], 0
jne 0x533e5a
mov eax, dword [ebp - 0x1540]
cmp eax, 8
jb 0x533de9
inc eax
lea ecx, [ebp - 0x1554]
push eax
push dword [ebp - 0x1554]
call fcn.004506b6
xor eax, eax
mov dword [ebp - 0x1540], 7
mov word [ebp - 0x1554], ax
mov eax, dword [ebp - 0x1528]
mov dword [ebp - 0x1544], 0
cmp eax, 8
jb 0x533e24
inc eax
lea ecx, [ebp - 0x153c]
push eax
push dword [ebp - 0x153c]
call fcn.004506b6
xor eax, eax
mov dword [ebp - 0x1528], 7
mov word [ebp - 0x153c], ax
lea eax, [ebp - 0x15f8]
push eax
mov dword [ebp - 0x152c], 0
call fcn.00532d80
add esp, 4
mov eax, 1
jmp 0x533fbd
cmp dword [ebp - 0x1528], 8
lea eax, [ebp - 0x153c]
push 0
cmovae eax, dword [ebp - 0x153c]
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x533f06
mov eax, dword [ebp - 0x1540]
cmp eax, 8
jb 0x533ea9
inc eax
lea ecx, [ebp - 0x1554]
push eax
push dword [ebp - 0x1554]
call fcn.004506b6
xor eax, eax
mov dword [ebp - 0x1540], 7
mov word [ebp - 0x1554], ax
mov eax, dword [ebp - 0x1528]
mov dword [ebp - 0x1544], 0
cmp eax, 8
jb 0x533ee4
inc eax
lea ecx, [ebp - 0x153c]
push eax
push dword [ebp - 0x153c]
call fcn.004506b6
xor eax, eax
mov dword [ebp - 0x1528], 7
mov dword [ebp - 0x152c], 0
mov word [ebp - 0x153c], ax
jmp 0x533fac
push edi
push dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1560]
push eax
call fcn.00532d20
add esp, 0xc
lea eax, [ebp - 0x1524]
push 0x1000
push eax
push ebx
call fcn.00538de0
mov esi, eax
test esi, esi
js 0x533f87
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
je 0x534069
push 0
lea eax, [ebp - 0x15e0]
mov dword [ebp - 0x15e0], 0
push eax
push esi
lea eax, [ebp - 0x1524]
push eax
push edi
call ebx
test eax, eax
je 0x533fdb
cmp dword [ebp - 0x15e0], esi
jne 0x533fdb
push 0x1000
lea eax, [ebp - 0x1524]
push eax
push dword [ebp - 0x15e4]
call fcn.00538de0
mov esi, eax
test esi, esi
jns 0x533f3a
lea eax, [ebp - 0x1560]
push eax
call fcn.00532d80
add esp, 4
lea ecx, [ebp - 0x1554]
call fcn.00420239
lea ecx, [ebp - 0x153c]
call fcn.00420239
lea eax, [ebp - 0x15f8]
push eax
call fcn.00532d80
add esp, 4
xor eax, eax
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.0044e8de
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x1560]
push eax
call fcn.00532d80
mov eax, dword [ebp - 0x1540]
add esp, 4
cmp eax, 8
jb 0x534008
inc eax
lea ecx, [ebp - 0x1554]
push eax
push dword [ebp - 0x1554]
call fcn.004506b6
xor eax, eax
mov dword [ebp - 0x1540], 7
mov word [ebp - 0x1554], ax
mov eax, dword [ebp - 0x1528]
mov dword [ebp - 0x1544], 0
cmp eax, 8
jb 0x533ee4
inc eax
lea ecx, [ebp - 0x153c]
push eax
push dword [ebp - 0x153c]
call fcn.004506b6
xor eax, eax
mov dword [ebp - 0x1528], 7
mov dword [ebp - 0x152c], 0
mov word [ebp - 0x153c], ax
jmp 0x533fac
lea eax, [ebp - 0x1600]
push eax
mov eax, dword [ebp - 0x15cc]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x15ec]
push eax
lea eax, [ebp - 0x1600]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 0x15ec]
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp - 0x1560]
push eax
call fcn.00532d80
mov eax, dword [ebp - 0x1540]
add esp, 4
cmp eax, 8
jb 0x5340d2
inc eax
lea ecx, [ebp - 0x1554]
push eax
push dword [ebp - 0x1554]
call fcn.004506b6
xor eax, eax
mov dword [ebp - 0x1540], 7
mov word [ebp - 0x1554], ax
mov eax, dword [ebp - 0x1528]
mov dword [ebp - 0x1544], 0
cmp eax, 8
jb 0x53410d
inc eax
lea ecx, [ebp - 0x153c]
push eax
push dword [ebp - 0x153c]
call fcn.004506b6
xor eax, eax
mov dword [ebp - 0x1528], 7
mov word [ebp - 0x153c], ax
lea eax, [ebp - 0x15f8]
push eax
mov dword [ebp - 0x152c], 0
call fcn.00532d80
add esp, 4
mov eax, 1
jmp 0x533fbd