Function at 0x442c35
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0x238
mov eax, 0x5ba429
call fcn.005718de
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ebx
push ebx
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x225], bl
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x442c83
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x442ca3
cmp dword [ebp - 0x22c], ebx
je 0x442cc3
push ebx
push 0x80
push 2
push ebx
push 3
push 0xc0000000
push edi
mov byte [ebp - 0x225], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0x6386aa
push 0x21
call fcn.005708e9
mov edi, eax
mov dword [ebp - 0x234], edi
pop ecx
pop ecx
test edi, edi
jne 0x442ce9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44306c
push 0x21
push ebx
push edi
call fcn.00589540
add esp, 0xc
mov dword [ebp - 0x230], edi
movzx eax, byte [ebx + section..QMGuid]
push eax
push str._02x
push 2
push 3
push edi
call fcn.0044258e
add esp, 0x14
add edi, 2
inc ebx
cmp ebx, 0x10
jb 0x442cfb
mov edi, dword [ebp - 0x234]
xor eax, eax
mov byte [edi + 0x20], al
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push str._Profile_
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004440dc
push 0x5f5820
push eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 1
push eax
call fcn.0040bd8d
push str.config1
push eax
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 2
push eax
call fcn.0040bd8d
mov ebx, 0x5fa7dc
mov byte [ebp - 4], 3
push ebx
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.0040bd8d
push edi
push eax
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 4
push eax
call fcn.0040bd8d
push 0x5f5820
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 5
push eax
call fcn.0040bd8d
add esp, 0x48
push str.config2
push eax
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 6
push eax
call fcn.0040bd8d
push ebx
push eax
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 7
push eax
call fcn.0040bd8d
push dword [ebp - 0x238]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.0040bd8d
push 0x5f5820
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 9
push eax
call fcn.0040bd8d
mov byte [ebp - 4], 0xa
push str.config3
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.0040bd8d
push ebx
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0xb
push eax
call fcn.0040bd8d
add esp, 0x48
push dword [ebp - 0x23c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0040bd8d
push 0x5f5820
push eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0xd
push eax
call fcn.0040bd8d
push str.config4
push eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xe
push eax
call fcn.0040bd8d
push ebx
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xf
push eax
call fcn.0040bd8d
push dword [ebp - 0x240]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040bd8d
mov ebx, 0x5f5820
mov byte [ebp - 4], 0x11
push ebx
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040bd8d
add esp, 0x48
push str.config5
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x12
push eax
call fcn.0040bd8d
push 0x5fa7d8
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x13
push eax
call fcn.0040bd8d
push ebx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x14
push eax
call fcn.0040bd8d
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.00410df8
xor ebx, ebx
lea ecx, [ebp - 0x44]
push ebx
push 1
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0xd4]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0xec]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x104]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x11c]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x164]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x17c]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x1ac]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x1c4]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x1dc]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x1f4]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x20c]
call fcn.00411ab5
push ebx
push 1
lea ecx, [ebp - 0x224]
call fcn.00411ab5
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x244]
push ebx
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x244], ebx
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [ebp - 0x225], bl
je 0x44305a
cmp esi, 0xffffffff
je 0x44305a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.005708e4
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411ab5
call fcn.00571888
ret 0x1c