Function at 0x41730b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442eab
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x45a630]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x45a630]
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.004020c9
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.0040143c
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.0041d489
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x48]
call fcn.00416f48
mov ecx, edi
mov byte [esp + 0x110], 3
call fcn.0041ac68
cmp dword [esp + 0xf4], ebx
jne 0x4173fa
mov esi, 0x448da4
push esi
call fcn.004283b0
pop ecx
push eax
push esi
lea ecx, [esp + 0xec]
call fcn.00402e52
mov ecx, edi
lea esi, [esp + 0x1c]
call fcn.0041abe4
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 0x417435
push dword [esp + 0x1c]
mov byte [esp + 0x24], bl
call fcn.004250e3
pop ecx
cmp esi, ebx
jne 0x4174ed
mov ecx, edi
lea esi, [esp + 0x24]
call fcn.0041abbb
mov cl, byte [eax + 4]
mov esi, dword [eax]
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 0x417478
push dword [esp + 0x24]
mov byte [esp + 0x2c], bl
call fcn.004250f0
pop ecx
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x417490
lea eax, [esp + 0xe4]
push 0x132
push dword [esp + 0xf8]
push dword [esp + 0xfc]
push eax
push esi
call fcn.004299fa
add esp, 0xc
call fcn.00418cc7
pop ecx
pop ecx
cmp byte [esp + 0x18], bl
je 0x4174c1
push esi
call fcn.004250f0
pop ecx
cmp byte [esp + 0x14], bl
je 0x4174ce
push ebx
call fcn.004250e3
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.00402978
mov dword [esp + 0x110], 6
jmp 0x4175b0
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x2c]
lea eax, [esp + 0x24]
call fcn.0041ac26
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 0x41752e
push dword [esp + 0x24]
mov byte [esp + 0x2c], bl
call fcn.004250e3
pop ecx
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x417546
lea eax, [esp + 0xe4]
push esi
push 1
push dword [esp + 0xfc]
push eax
call fcn.0042aef0
add esp, 0x10
cmp eax, 1
je 0x417579
push 0x132
lea esi, [esp + 0x38]
call fcn.00415630
push 0x451ad4
mov eax, esi
push eax
call fcn.0042cae9
cmp byte [esp + 0x14], bl
je 0x417586
push esi
call fcn.004250e3
pop ecx
cmp byte [esp + 0x30], bl
je 0x417596
push dword [esp + 0x2c]
call fcn.004250e3
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.00402978
mov dword [esp + 0x110], 8
lea eax, [esp + 0x4c]
call fcn.004015ad
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.00426556
mov esp, ebp
pop ebp
ret