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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e43e
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x49c4b0]
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 0x418ee5
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 0x418f00
cmp dword [ebp - 0x30], eax
je 0x418f22
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 0x49f018
push 0x21
call fcn.00462bab
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x418f44
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419605
xorps xmm0, xmm0
xor esi, esi
movdqu xmmword [eax], xmm0
mov edi, eax
movdqu xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
jmp 0x418f60
movzx eax, byte [esi + section..xxx]
push eax
push str._02x
push 2
push 3
push edi
call fcn.0045f38a
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x418f60
mov edi, dword [ebp - 0x44]
mov byte [edi + 0x20], 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.00403c80
push 0x48e234
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.00404130
push str.config1
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e4]
call fcn.00404130
push 0x48e23c
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b4]
call fcn.00404130
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00404130
push 0x48e234
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x154]
call fcn.00404130
push str.config2
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x124]
call fcn.00404130
push 0x48e23c
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.00404130
push dword [ebp - 0x40]
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc4]
call fcn.00404130
push 0x48e234
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
call fcn.00404130
push str.config3
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
call fcn.00404130
push 0x48e23c
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1cc]
call fcn.00404130
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
mov edx, eax
lea ecx, [ebp - 0x13c]
call fcn.00404130
push 0x48e234
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1fc]
call fcn.00404130
push str.config4
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10c]
call fcn.00404130
push 0x48e23c
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x64]
call fcn.00404130
add esp, 0x40
push dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
call fcn.00404130
push 0x48e234
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x22c]
call fcn.00404130
push str.config5
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xac]
call fcn.00404130
push 0x48e238
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x16c]
call fcn.00404130
push 0x48e234
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x19c]
call fcn.00404130
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4191d4
cmp dword [ebp - 0x18], 0x10
jb 0x41917e
push dword [ebp - 0x2c]
call fcn.0045eb11
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x4191ac
mov eax, dword [esi + 0x10]
inc eax
je 0x4191b7
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0045f5b0
add esp, 0xc
jmp 0x4191b7
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x188], 0x10
jb 0x4191eb
push dword [ebp - 0x19c]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x158], 0x10
mov dword [ebp - 0x188], 0xf
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x19c], 0
jb 0x41921d
push dword [ebp - 0x16c]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x98], 0x10
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x16c], 0
jb 0x41924f
push dword [ebp - 0xac]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x218], 0x10
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
jb 0x419281
push dword [ebp - 0x22c]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0xc8], 0x10
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
jb 0x4192b3
push dword [ebp - 0xdc]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
jb 0x4192df
push dword [ebp - 0x64]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0xf8], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x419308
push dword [ebp - 0x10c]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x1e8], 0x10
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
jb 0x41933a
push dword [ebp - 0x1fc]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x128], 0x10
mov dword [ebp - 0x1e8], 0xf
mov dword [ebp - 0x1ec], 0
mov byte [ebp - 0x1fc], 0
jb 0x41936c
push dword [ebp - 0x13c]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x1b8], 0x10
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
jb 0x41939e
push dword [ebp - 0x1cc]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x1b8], 0xf
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 0x1cc], 0
jb 0x4193ca
push dword [ebp - 0x7c]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x80], 0x10
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
jb 0x4193f0
push dword [ebp - 0x94]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0xb0], 0x10
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
jb 0x41941f
push dword [ebp - 0xc4]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0xe0], 0x10
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
jb 0x419451
push dword [ebp - 0xf4]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x110], 0x10
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
jb 0x419483
push dword [ebp - 0x124]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x140], 0x10
mov dword [ebp - 0x110], 0xf
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x124], 0
jb 0x4194b5
push dword [ebp - 0x154]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x170], 0x10
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
jb 0x4194e7
push dword [ebp - 0x184]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x1a0], 0x10
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x184], 0
jb 0x419519
push dword [ebp - 0x1b4]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x1d0], 0x10
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1b4], 0
jb 0x41954b
push dword [ebp - 0x1e4]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x200], 0x10
mov dword [ebp - 0x1d0], 0xf
mov dword [ebp - 0x1d4], 0
mov byte [ebp - 0x1e4], 0
jb 0x41957d
push dword [ebp - 0x214]
call fcn.0045eb11
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x230], 0x10
mov dword [ebp - 0x200], 0xf
mov dword [ebp - 0x204], 0
mov byte [ebp - 0x214], 0
jb 0x4195b3
push dword [ebp - 0x244]
call fcn.0045eb11
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 - 0x34], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [ebp - 0x35], 0
je 0x4195eb
cmp esi, 0xffffffff
je 0x4195eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0045efb0
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x419605
push dword [ebp - 0x2c]
call fcn.0045eb11
add esp, 4
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.0045eb02
mov esp, ebp
pop ebp
ret 0x1c