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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c110
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc28
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc2c], edi
test edi, edi
je 0x5330b5
xor eax, eax
mov word [ebp - 0xc28], ax
lea eax, [ebp - 0xc28]
push 0x608
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x533067
cmp eax, 0x608
ja 0x533067
add eax, 0xffffffff
js 0x533067
nop word [eax + eax]
lea esi, [ebp - 0xc28]
cmp word [esi + eax*2], 0x5c
lea esi, [esi + eax*2]
je 0x532eca
sub eax, 1
jns 0x532eb0
jmp 0x533067
movq xmm0, qword [str.logs]
mov eax, dword [0x669464]
movq qword [esi], xmm0
mov dword [esi + 8], eax
lea eax, [ebp - 0xc28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movups xmm0, xmmword [str.logsexceptions.txt]
mov ax, word [0x66942c]
push 0
movups xmmword [esi], xmm0
push 0x80
movups xmm0, xmmword [0x669414]
push 4
push 0
movups xmmword [esi + 0x10], xmm0
push 3
movq xmm0, qword [0x669424]
movq qword [esi + 0x20], xmm0
mov word [esi + 0x28], ax
lea eax, [ebp - 0xc28]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0xc0000000
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x532f49
test edi, edi
jne 0x532ff6
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0xc28]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x532f73
test edi, edi
jne 0x532ff6
movups xmm0, xmmword [str.c:maaexceptions.txt]
mov eax, dword [0x669458]
push 0
push 0x80
push 4
movups xmmword [ebp - 0xc28], xmm0
push 0
movups xmm0, xmmword [0x669440]
push 3
mov dword [ebp - 0xc00], eax
lea eax, [ebp - 0xc28]
movups xmmword [ebp - 0xc18], xmm0
push 0xc0000000
movq xmm0, qword [0x669450]
push eax
movq qword [ebp - 0xc08], xmm0
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x532fd0
test edi, edi
jne 0x532ff6
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0xc28]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x533061
test edi, edi
je 0x533061
push 2
push 0
xorps xmm0, xmm0
movlpd qword [ebp - 0xc38], xmm0
push dword [ebp - 0xc34]
push dword [ebp - 0xc38]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ecx, dword [ebp - 0xc2c]
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x533023
push 0
lea eax, [ebp - 0xc2c]
mov dword [ebp - 0xc2c], 0
push eax
sub esi, edx
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc2c], esi
sete al
jmp 0x5330b7
mov edi, dword [ebp - 0xc2c]
push ecx
mov esi, esp
call fcn.005a45d0
mov dword [ebp - 0xc34], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x53308a
push edi
mov ecx, eax
call fcn.005a5480
jmp 0x53308c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x5330ad
cmp dword [eax + 0xc], 0
jne 0x5330ad
push ecx
mov ecx, eax
call fcn.005a47b0
mov dword [esi], 0
call fcn.004b7430
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00606a47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret