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

Disassembly:
push 0x238
mov eax, 0x66fc12
call fcn.006233d9
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 0x45d781
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 0x45d7a1
cmp dword [ebp - 0x22c], ebx
je 0x45d7c1
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 0x717198
push 0x21
call fcn.00622268
mov edi, eax
mov dword [ebp - 0x234], edi
pop ecx
pop ecx
test edi, edi
jne 0x45d7e7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45db6a
push 0x21
push ebx
push edi
call fcn.0063af90
add esp, 0xc
mov dword [ebp - 0x230], edi
movzx eax, byte [ebx + section..QMGuid]
push eax
push 0x6d5f24
push 2
push 3
push edi
call fcn.0045d08c
add esp, 0x14
add edi, 2
inc ebx
cmp ebx, 0x10
jb 0x45d7f9
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.0045ebda
push 0x6d0b10
push eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 1
push eax
call fcn.004238ab
push str.config1
push eax
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 2
push eax
call fcn.004238ab
mov ebx, 0x6d5f30
mov byte [ebp - 4], 3
push ebx
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.004238ab
push edi
push eax
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 4
push eax
call fcn.004238ab
push 0x6d0b10
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 5
push eax
call fcn.004238ab
add esp, 0x48
push str.config2
push eax
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 6
push eax
call fcn.004238ab
push ebx
push eax
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 7
push eax
call fcn.004238ab
push dword [ebp - 0x238]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.004238ab
push 0x6d0b10
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 9
push eax
call fcn.004238ab
mov byte [ebp - 4], 0xa
push str.config3
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004238ab
push ebx
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0xb
push eax
call fcn.004238ab
add esp, 0x48
push dword [ebp - 0x23c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004238ab
push 0x6d0b10
push eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0xd
push eax
call fcn.004238ab
push str.config4
push eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xe
push eax
call fcn.004238ab
push ebx
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xf
push eax
call fcn.004238ab
push dword [ebp - 0x240]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004238ab
mov ebx, 0x6d0b10
mov byte [ebp - 4], 0x11
push ebx
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004238ab
add esp, 0x48
push str.config5
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x12
push eax
call fcn.004238ab
push 0x6d5f2c
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x13
push eax
call fcn.004238ab
push ebx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x14
push eax
call fcn.004238ab
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.00428ae3
xor ebx, ebx
lea ecx, [ebp - 0x44]
push ebx
push 1
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0xd4]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0xec]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x104]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x11c]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x164]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x17c]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x1ac]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x1c4]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x1dc]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x1f4]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x20c]
call fcn.00429616
push ebx
push 1
lea ecx, [ebp - 0x224]
call fcn.00429616
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 0x45db58
cmp esi, 0xffffffff
je 0x45db58
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00622263
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00429616
call fcn.00623383
ret 0x1c