Function at 0x43d161
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46dc90
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x4976a0]
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.00402794
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.00442f16
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x48]
call fcn.0043cdcc
mov ecx, edi
mov byte [esp + 0x110], 3
call fcn.0044084d
cmp dword [esp + 0xf4], ebx
jne 0x43d250
mov esi, 0x47b168
push esi
call fcn.0044c4a0
pop ecx
push eax
push esi
lea ecx, [esp + 0xec]
call fcn.004036d6
mov ecx, edi
lea esi, [esp + 0x1c]
call fcn.004407c9
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 0x43d28b
push dword [esp + 0x1c]
mov byte [esp + 0x24], bl
call fcn.00449397
pop ecx
lea eax, [esp + 0x24]
cmp esi, ebx
jne 0x43d343
push edi
call fcn.00440789
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 0x43d2ce
push dword [esp + 0x24]
mov byte [esp + 0x2c], bl
call fcn.004493a4
pop ecx
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x43d2e6
lea eax, [esp + 0xe4]
push 0x132
push dword [esp + 0xf8]
push dword [esp + 0xfc]
push eax
push esi
call fcn.0044f9f7
add esp, 0xc
call fcn.0043e941
pop ecx
pop ecx
cmp byte [esp + 0x18], bl
je 0x43d317
push esi
call fcn.004493a4
pop ecx
cmp byte [esp + 0x14], bl
je 0x43d324
push ebx
call fcn.00449397
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.0040321f
mov dword [esp + 0x110], 6
jmp 0x43d402
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x2c]
call fcn.0044080b
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 0x43d380
push dword [esp + 0x24]
mov byte [esp + 0x2c], bl
call fcn.00449397
pop ecx
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x43d398
lea eax, [esp + 0xe4]
push esi
push 1
push dword [esp + 0xfc]
push eax
call fcn.0044dcf0
add esp, 0x10
cmp eax, 1
je 0x43d3cb
push 0x132
lea esi, [esp + 0x38]
call fcn.00411486
push 0x487864
mov eax, esi
push eax
call fcn.00452134
cmp byte [esp + 0x14], bl
je 0x43d3d8
push esi
call fcn.00449397
pop ecx
cmp byte [esp + 0x30], bl
je 0x43d3e8
push dword [esp + 0x2c]
call fcn.00449397
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.0040321f
mov dword [esp + 0x110], 8
lea eax, [esp + 0x4c]
call fcn.004015e8
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.0044a628
mov esp, ebp
pop ebp
ret