Function at 0x417eb9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441104
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x459624]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x459624]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [esp + 0x24], edi
lea eax, [esp + 0x4c]
xor ebx, ebx
mov dword [esp + 0x110], ebx
push eax
mov dword [esp + 0x48], vtable.settings_impl::PlainTextEntrySerializer.0
call fcn.0040212a
mov byte [esp + 0x110], 1
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x4c]
mov eax, dword [ecx + 0xc]
push ebx
push eax
mov dword [ecx + 0x10], 6
call fcn.0040141f
mov dword [esp + 0x110], 2
mov ecx, dword [esi + 4]
lea eax, [esp + 0x44]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x20], 1
call fcn.0041de5c
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x48]
call fcn.00417ae4
mov ecx, edi
mov byte [esp + 0x110], 3
call fcn.0041b81e
cmp dword [esp + 0xf4], ebx
jne 0x417fa8
mov esi, 0x447db8
push esi
call fcn.004272b0
pop ecx
push eax
push esi
lea ecx, [esp + 0xec]
call fcn.00402f2f
mov ecx, edi
lea esi, [esp + 0x1c]
call fcn.0041b79a
mov cl, byte [eax + 4]
mov esi, dword [eax]
mov byte [esp + 0x14], cl
mov byte [eax + 4], bl
mov dword [esp + 0x2c], esi
mov byte [esp + 0x30], cl
mov byte [esp + 0x110], 4
cmp byte [esp + 0x20], bl
je 0x417fe3
push dword [esp + 0x1c]
mov byte [esp + 0x24], bl
call fcn.004243d7
pop ecx
lea eax, [esp + 0x24]
cmp esi, ebx
jne 0x41809b
push edi
call fcn.0041b75a
mov esi, dword [eax]
pop ecx
mov cl, byte [eax + 4]
mov byte [esp + 0x18], cl
mov byte [eax + 4], bl
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], cl
mov byte [esp + 0x110], 5
cmp byte [esp + 0x28], bl
je 0x418026
push dword [esp + 0x24]
mov byte [esp + 0x2c], bl
call fcn.004243e4
pop ecx
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x41803e
lea eax, [esp + 0xe4]
push 0x132
push dword [esp + 0xf8]
push dword [esp + 0xfc]
push eax
push esi
call fcn.004295bc
add esp, 0xc
call fcn.00419649
pop ecx
pop ecx
cmp byte [esp + 0x18], bl
je 0x41806f
push esi
call fcn.004243e4
pop ecx
cmp byte [esp + 0x14], bl
je 0x41807c
push ebx
call fcn.004243d7
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.00402a4b
mov dword [esp + 0x110], 6
jmp 0x41815a
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x2c]
call fcn.0041b7dc
mov cl, byte [eax + 4]
mov esi, dword [eax]
mov byte [esp + 0x14], cl
mov byte [eax + 4], bl
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], cl
mov byte [esp + 0x110], 7
cmp byte [esp + 0x28], bl
je 0x4180d8
push dword [esp + 0x24]
mov byte [esp + 0x2c], bl
call fcn.004243d7
pop ecx
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x4180f0
lea eax, [esp + 0xe4]
push esi
push 1
push dword [esp + 0xfc]
push eax
call fcn.00428380
add esp, 0x10
cmp eax, 1
je 0x418123
push 0x132
lea esi, [esp + 0x38]
call fcn.004161e0
push 0x4509a4
mov eax, esi
push eax
call fcn.0042ba04
cmp byte [esp + 0x14], bl
je 0x418130
push esi
call fcn.004243d7
pop ecx
cmp byte [esp + 0x30], bl
je 0x418140
push dword [esp + 0x2c]
call fcn.004243d7
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.00402a4b
mov dword [esp + 0x110], 8
lea eax, [esp + 0x4c]
call fcn.00401590
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00425460
mov esp, ebp
pop ebp
ret