Function at 0x458303
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489cb1
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
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.0040d5e7
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.004080fa
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.0045e123
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x48]
call fcn.00457f6e
mov ecx, edi
mov byte [esp + 0x110], 3
call fcn.0045bbb2
cmp dword [esp + 0xf4], ebx
jne 0x4583f2
mov esi, 0x4991e8
push esi
call fcn.004683e0
pop ecx
push eax
push esi
lea ecx, [esp + 0xec]
call fcn.0040f37f
mov ecx, edi
lea esi, [esp + 0x1c]
call fcn.0045bb2e
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 0x45842d
push dword [esp + 0x1c]
mov byte [esp + 0x24], bl
call fcn.0046460c
pop ecx
lea eax, [esp + 0x24]
cmp esi, ebx
jne 0x4584e5
push edi
call fcn.0045baee
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 0x458470
push dword [esp + 0x24]
mov byte [esp + 0x2c], bl
call fcn.00464619
pop ecx
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x458488
lea eax, [esp + 0xe4]
push 0x132
push dword [esp + 0xf8]
push dword [esp + 0xfc]
push eax
push esi
call fcn.0046bd28
add esp, 0xc
call fcn.00459a9a
pop ecx
pop ecx
cmp byte [esp + 0x18], bl
je 0x4584b9
push esi
call fcn.00464619
pop ecx
cmp byte [esp + 0x14], bl
je 0x4584c6
push ebx
call fcn.0046460c
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.0040e7d9
mov dword [esp + 0x110], 6
jmp 0x4585a4
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x2c]
call fcn.0045bb70
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 0x458522
push dword [esp + 0x24]
mov byte [esp + 0x2c], bl
call fcn.0046460c
pop ecx
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x45853a
lea eax, [esp + 0xe4]
push esi
push 1
push dword [esp + 0xfc]
push eax
call fcn.0046ac55
add esp, 0x10
cmp eax, 1
je 0x45856d
push 0x132
lea esi, [esp + 0x38]
call fcn.00421930
push 0x4ad694
mov eax, esi
push eax
call fcn.0046de80
cmp byte [esp + 0x14], bl
je 0x45857a
push esi
call fcn.0046460c
pop ecx
cmp byte [esp + 0x30], bl
je 0x45858a
push dword [esp + 0x2c]
call fcn.0046460c
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.0040e7d9
mov dword [esp + 0x110], 8
lea eax, [esp + 0x4c]
call fcn.00408292
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.00465f42
mov esp, ebp
pop ebp
ret