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

Disassembly:
push 0x238
mov eax, 0x673c06
call fcn.00626979
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 0x464698
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 0x4646b8
cmp dword [ebp - 0x22c], ebx
je 0x4646d8
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 0x71c368
push 0x21
call fcn.00625802
mov edi, eax
mov dword [ebp - 0x234], edi
pop ecx
pop ecx
test edi, edi
jne 0x4646fe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x464a81
push 0x21
push ebx
push edi
call fcn.0063e4e0
add esp, 0xc
mov dword [ebp - 0x230], edi
movzx eax, byte [ebx + section..QMGuid]
push eax
push 0x6da4ac
push 2
push 3
push edi
call fcn.00463fa3
add esp, 0x14
add edi, 2
inc ebx
cmp ebx, 0x10
jb 0x464710
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.00465af1
push 0x6d4a80
push eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 1
push eax
call fcn.004238ec
push str.config1
push eax
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 2
push eax
call fcn.004238ec
mov ebx, 0x6da4b8
mov byte [ebp - 4], 3
push ebx
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.004238ec
push edi
push eax
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 4
push eax
call fcn.004238ec
push 0x6d4a80
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 5
push eax
call fcn.004238ec
add esp, 0x48
push str.config2
push eax
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 6
push eax
call fcn.004238ec
push ebx
push eax
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 7
push eax
call fcn.004238ec
push dword [ebp - 0x238]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.004238ec
push 0x6d4a80
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 9
push eax
call fcn.004238ec
mov byte [ebp - 4], 0xa
push str.config3
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004238ec
push ebx
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0xb
push eax
call fcn.004238ec
add esp, 0x48
push dword [ebp - 0x23c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004238ec
push 0x6d4a80
push eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0xd
push eax
call fcn.004238ec
push str.config4
push eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xe
push eax
call fcn.004238ec
push ebx
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xf
push eax
call fcn.004238ec
push dword [ebp - 0x240]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004238ec
mov ebx, 0x6d4a80
mov byte [ebp - 4], 0x11
push ebx
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004238ec
add esp, 0x48
push str.config5
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x12
push eax
call fcn.004238ec
push 0x6da4b4
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x13
push eax
call fcn.004238ec
push ebx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x14
push eax
call fcn.004238ec
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.00428b23
xor ebx, ebx
lea ecx, [ebp - 0x44]
push ebx
push 1
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0xd4]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0xec]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x104]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x11c]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x164]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x17c]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x1ac]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x1c4]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x1dc]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x1f4]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x20c]
call fcn.00429656
push ebx
push 1
lea ecx, [ebp - 0x224]
call fcn.00429656
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 0x464a6f
cmp esi, 0xffffffff
je 0x464a6f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.006257fd
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00429656
call fcn.00626923
ret 0x1c