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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a8c9
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0
push 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x35], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x45c5b5
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x45c5d0
cmp dword [ebp - 0x30], eax
je 0x45c5f2
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edi
mov byte [ebp - 0x35], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x3c], eax
push 0x547b6e
push 0x21
call fcn.004e31cc
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x45c614
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45cd36
xorps xmm0, xmm0
xor esi, esi
movdqu xmmword [eax], xmm0
mov edi, eax
movdqu xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
jmp 0x45c630
movzx eax, byte [esi + 0x548f70]
push eax
push str._02x
push 2
push 3
push edi
call fcn.004e0c7f
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x45c630
mov edi, dword [ebp - 0x44]
mov byte [edi + 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push str._Profile_
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.0045dcb0
push 0x529e10
push eax
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 1
push eax
call fcn.00446f10
push str.config1
push eax
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 2
push eax
call fcn.00446f10
push 0x52e548
push eax
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 3
push eax
call fcn.00446f10
push edi
push eax
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 4
push eax
call fcn.00446f10
push 0x529e10
push eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 5
push eax
call fcn.00446f10
add esp, 0x40
push str.config2
push eax
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 6
push eax
call fcn.00446f10
push 0x52e548
push eax
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 7
push eax
call fcn.00446f10
push dword [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00446f10
push 0x529e10
push eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
push eax
call fcn.00446f10
push str.config3
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00446f10
push 0x52e548
push eax
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 0xb
push eax
call fcn.00446f10
add esp, 0x48
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00446f10
push 0x529e10
push eax
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 0xd
push eax
call fcn.00446f10
push str.config4
push eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xe
push eax
call fcn.00446f10
push 0x52e548
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xf
push eax
call fcn.00446f10
push dword [ebp - 0x48]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00446f10
push 0x529e10
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x11
push eax
call fcn.00446f10
add esp, 0x48
push str.config5
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x12
push eax
call fcn.00446f10
push 0x52e54c
push eax
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x13
push eax
call fcn.00446f10
push 0x529e10
push eax
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 0x14
push eax
call fcn.00446f10
add esp, 0x24
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
cmp eax, esi
je 0x45c881
cmp dword [ebp - 0x18], 0x10
jb 0x45c866
push dword [ebp - 0x2c]
call fcn.004e03e4
add esp, 4
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.004032b0
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x188], 0x10
jb 0x45c89c
push dword [ebp - 0x19c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x188], 0xf
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x19c], 0
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x158], 0x10
jb 0x45c8d2
push dword [ebp - 0x16c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x16c], 0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x98], 0x10
jb 0x45c908
push dword [ebp - 0xac]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x218], 0x10
jb 0x45c93e
push dword [ebp - 0x22c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xc8], 0x10
jb 0x45c974
push dword [ebp - 0xdc]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 0x10
jb 0x45c9a4
push dword [ebp - 0x64]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xf8], 0x10
jb 0x45c9d1
push dword [ebp - 0x10c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1e8], 0x10
jb 0x45ca07
push dword [ebp - 0x1fc]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x1e8], 0xf
mov dword [ebp - 0x1ec], 0
mov byte [ebp - 0x1fc], 0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x128], 0x10
jb 0x45ca3d
push dword [ebp - 0x13c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1b8], 0x10
jb 0x45ca73
push dword [ebp - 0x1cc]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x1b8], 0xf
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 0x1cc], 0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x68], 0x10
jb 0x45caa3
push dword [ebp - 0x7c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x80], 0x10
jb 0x45cacd
push dword [ebp - 0x94]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
mov byte [ebp - 4], 8
cmp dword [ebp - 0xb0], 0x10
jb 0x45cb00
push dword [ebp - 0xc4]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
mov byte [ebp - 4], 7
cmp dword [ebp - 0xe0], 0x10
jb 0x45cb36
push dword [ebp - 0xf4]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x110], 0x10
jb 0x45cb6c
push dword [ebp - 0x124]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x110], 0xf
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x124], 0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x140], 0x10
jb 0x45cba2
push dword [ebp - 0x154]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x170], 0x10
jb 0x45cbd8
push dword [ebp - 0x184]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x184], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1a0], 0x10
jb 0x45cc0e
push dword [ebp - 0x1b4]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1b4], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1d0], 0x10
jb 0x45cc44
push dword [ebp - 0x1e4]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x1d0], 0xf
mov dword [ebp - 0x1d4], 0
mov byte [ebp - 0x1e4], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x200], 0x10
jb 0x45cc7a
push dword [ebp - 0x214]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x200], 0xf
mov dword [ebp - 0x204], 0
mov byte [ebp - 0x214], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x230], 0x10
jb 0x45ccb0
push dword [ebp - 0x244]
call fcn.004e03e4
add esp, 4
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0x230], 0xf
push eax
push esi
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x244], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [ebp - 0x35], 0
je 0x45cd03
cmp esi, 0xffffffff
je 0x45cd03
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004e0c7a
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x45cd24
push dword [ebp - 0x2c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
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.004e03e9
mov esp, ebp
pop ebp
ret 0x1c