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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbdfe
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4f86c0]
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 0x41e345
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 0x41e360
cmp dword [ebp - 0x30], eax
je 0x41e382
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 0x4fb024
push 0x21
call fcn.004ac4bf
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x41e3a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41ea65
xorps xmm0, xmm0
xor esi, esi
movdqu xmmword [eax], xmm0
mov edi, eax
movdqu xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
jmp 0x41e3c0
movzx eax, byte [esi + section..xxx]
push eax
push str._02x
push 2
push 3
push edi
call fcn.004a8285
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x41e3c0
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.004063a0
push 0x4e7fac
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.004024d0
push str.config1
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e4]
call fcn.004024d0
push 0x4e7fb4
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b4]
call fcn.004024d0
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.004024d0
push 0x4e7fac
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x154]
call fcn.004024d0
push str.config2
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x124]
call fcn.004024d0
push 0x4e7fb4
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.004024d0
push dword [ebp - 0x40]
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc4]
call fcn.004024d0
push 0x4e7fac
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
call fcn.004024d0
push str.config3
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
call fcn.004024d0
push 0x4e7fb4
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1cc]
call fcn.004024d0
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
mov edx, eax
lea ecx, [ebp - 0x13c]
call fcn.004024d0
push 0x4e7fac
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1fc]
call fcn.004024d0
push str.config4
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10c]
call fcn.004024d0
push 0x4e7fb4
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x64]
call fcn.004024d0
add esp, 0x40
push dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
call fcn.004024d0
push 0x4e7fac
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x22c]
call fcn.004024d0
push str.config5
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xac]
call fcn.004024d0
push 0x4e7fb0
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x16c]
call fcn.004024d0
push 0x4e7fac
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x19c]
call fcn.004024d0
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x41e634
cmp dword [ebp - 0x18], 0x10
jb 0x41e5de
push dword [ebp - 0x2c]
call fcn.004a7f26
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x41e60c
mov eax, dword [esi + 0x10]
inc eax
je 0x41e617
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004a7780
add esp, 0xc
jmp 0x41e617
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 0x41e64b
push dword [ebp - 0x19c]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x158], 0x10
mov dword [ebp - 0x188], 0xf
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x19c], 0
jb 0x41e67d
push dword [ebp - 0x16c]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x98], 0x10
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x16c], 0
jb 0x41e6af
push dword [ebp - 0xac]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x218], 0x10
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
jb 0x41e6e1
push dword [ebp - 0x22c]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0xc8], 0x10
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
jb 0x41e713
push dword [ebp - 0xdc]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
jb 0x41e73f
push dword [ebp - 0x64]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0xf8], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x41e768
push dword [ebp - 0x10c]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x1e8], 0x10
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
jb 0x41e79a
push dword [ebp - 0x1fc]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x128], 0x10
mov dword [ebp - 0x1e8], 0xf
mov dword [ebp - 0x1ec], 0
mov byte [ebp - 0x1fc], 0
jb 0x41e7cc
push dword [ebp - 0x13c]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x1b8], 0x10
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
jb 0x41e7fe
push dword [ebp - 0x1cc]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x1b8], 0xf
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 0x1cc], 0
jb 0x41e82a
push dword [ebp - 0x7c]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x80], 0x10
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
jb 0x41e850
push dword [ebp - 0x94]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0xb0], 0x10
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
jb 0x41e87f
push dword [ebp - 0xc4]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0xe0], 0x10
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
jb 0x41e8b1
push dword [ebp - 0xf4]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x110], 0x10
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
jb 0x41e8e3
push dword [ebp - 0x124]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x140], 0x10
mov dword [ebp - 0x110], 0xf
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x124], 0
jb 0x41e915
push dword [ebp - 0x154]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x170], 0x10
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
jb 0x41e947
push dword [ebp - 0x184]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x1a0], 0x10
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x184], 0
jb 0x41e979
push dword [ebp - 0x1b4]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x1d0], 0x10
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1b4], 0
jb 0x41e9ab
push dword [ebp - 0x1e4]
call fcn.004a7f26
add esp, 4
cmp dword [ebp - 0x200], 0x10
mov dword [ebp - 0x1d0], 0xf
mov dword [ebp - 0x1d4], 0
mov byte [ebp - 0x1e4], 0
jb 0x41e9dd
push dword [ebp - 0x214]
call fcn.004a7f26
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 0x41ea13
push dword [ebp - 0x244]
call fcn.004a7f26
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 0x41ea4b
cmp esi, 0xffffffff
je 0x41ea4b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004a876a
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x41ea65
push dword [ebp - 0x2c]
call fcn.004a7f26
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.004a768e
mov esp, ebp
pop ebp
ret 0x1c