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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f3ae
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x49d4b0]
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 0x419c95
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 0x419cb0
cmp dword [ebp - 0x30], eax
je 0x419cd2
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 0x4a0018
push 0x21
call fcn.00463bff
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x419cf4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a3b5
xorps xmm0, xmm0
xor esi, esi
movdqu xmmword [eax], xmm0
mov edi, eax
movdqu xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
jmp 0x419d10
movzx eax, byte [esi + section..xxx]
push eax
push str._02x
push 2
push 3
push edi
call fcn.004601a6
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x419d10
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.00404320
push 0x48f300
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.004047d0
push str.config1
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e4]
call fcn.004047d0
push 0x48f308
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b4]
call fcn.004047d0
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.004047d0
push 0x48f300
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x154]
call fcn.004047d0
push str.config2
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x124]
call fcn.004047d0
push 0x48f308
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.004047d0
push dword [ebp - 0x40]
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc4]
call fcn.004047d0
push 0x48f300
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
call fcn.004047d0
push str.config3
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
call fcn.004047d0
push 0x48f308
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1cc]
call fcn.004047d0
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
mov edx, eax
lea ecx, [ebp - 0x13c]
call fcn.004047d0
push 0x48f300
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1fc]
call fcn.004047d0
push str.config4
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10c]
call fcn.004047d0
push 0x48f308
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x64]
call fcn.004047d0
add esp, 0x40
push dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
call fcn.004047d0
push 0x48f300
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x22c]
call fcn.004047d0
push str.config5
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xac]
call fcn.004047d0
push 0x48f304
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x16c]
call fcn.004047d0
push 0x48f300
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x19c]
call fcn.004047d0
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x419f84
cmp dword [ebp - 0x18], 0x10
jb 0x419f2e
push dword [ebp - 0x2c]
call fcn.0045f8c1
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x419f5c
mov eax, dword [esi + 0x10]
inc eax
je 0x419f67
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004603c0
add esp, 0xc
jmp 0x419f67
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 0x419f9b
push dword [ebp - 0x19c]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x158], 0x10
mov dword [ebp - 0x188], 0xf
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x19c], 0
jb 0x419fcd
push dword [ebp - 0x16c]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x98], 0x10
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x16c], 0
jb 0x419fff
push dword [ebp - 0xac]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x218], 0x10
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
jb 0x41a031
push dword [ebp - 0x22c]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0xc8], 0x10
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
jb 0x41a063
push dword [ebp - 0xdc]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
jb 0x41a08f
push dword [ebp - 0x64]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0xf8], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x41a0b8
push dword [ebp - 0x10c]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x1e8], 0x10
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
jb 0x41a0ea
push dword [ebp - 0x1fc]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x128], 0x10
mov dword [ebp - 0x1e8], 0xf
mov dword [ebp - 0x1ec], 0
mov byte [ebp - 0x1fc], 0
jb 0x41a11c
push dword [ebp - 0x13c]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x1b8], 0x10
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
jb 0x41a14e
push dword [ebp - 0x1cc]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x1b8], 0xf
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 0x1cc], 0
jb 0x41a17a
push dword [ebp - 0x7c]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x80], 0x10
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
jb 0x41a1a0
push dword [ebp - 0x94]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0xb0], 0x10
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
jb 0x41a1cf
push dword [ebp - 0xc4]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0xe0], 0x10
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
jb 0x41a201
push dword [ebp - 0xf4]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x110], 0x10
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
jb 0x41a233
push dword [ebp - 0x124]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x140], 0x10
mov dword [ebp - 0x110], 0xf
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x124], 0
jb 0x41a265
push dword [ebp - 0x154]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x170], 0x10
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
jb 0x41a297
push dword [ebp - 0x184]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x1a0], 0x10
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x184], 0
jb 0x41a2c9
push dword [ebp - 0x1b4]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x1d0], 0x10
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1b4], 0
jb 0x41a2fb
push dword [ebp - 0x1e4]
call fcn.0045f8c1
add esp, 4
cmp dword [ebp - 0x200], 0x10
mov dword [ebp - 0x1d0], 0xf
mov dword [ebp - 0x1d4], 0
mov byte [ebp - 0x1e4], 0
jb 0x41a32d
push dword [ebp - 0x214]
call fcn.0045f8c1
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 0x41a363
push dword [ebp - 0x244]
call fcn.0045f8c1
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 0x41a39b
cmp esi, 0xffffffff
je 0x41a39b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0045fdcc
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x41a3b5
push dword [ebp - 0x2c]
call fcn.0045f8c1
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.0045f8b2
mov esp, ebp
pop ebp
ret 0x1c