Function at 0x434fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51f3f5
push eax
mov dword fs:[0], esp
sub esp, 0x4c
test byte [ebp + 0x1c], 1
push esi
mov esi, ecx
jne 0x4351f6
cmp dword [esi + 0x20], 1
je 0x4351f6
mov eax, dword [esi]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
push edi
push ebx
push dword [ebp + 8]
call eax
test al, al
je 0x43501f
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
push edi
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x58]
push str._02x._016llx.json
push eax
call fcn.0042e720
add esp, 0x14
lea ecx, [ebp - 0x58]
xor eax, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435050
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.004011f0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0043b310
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x4350b9
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4350af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435209
push ecx
push edx
call fcn.004fa253
add esp, 8
cmp dword [ebp - 0x28], 0xf
lea eax, [ebp - 0x3c]
push 0x52db98
cmova eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00505806
mov edi, eax
add esp, 8
test edi, edi
jne 0x43515b
call fcn.0041ca10
cmp eax, 2
jg 0x4351af
cmp dword [ebp - 0x28], 0xf
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
push eax
push str.Failed_to_write_serialized_state_to_disk___s_._n
push 2
call fcn.0041d050
add esp, 0xc
test al, al
jne 0x4351af
cmp dword [ebp - 0x28], 0xf
lea esi, [ebp - 0x3c]
push 2
cmova esi, dword [ebp - 0x3c]
call fcn.00503303
push esi
push str.Fossilize_ERROR:_Failed_to_write_serialized_state_to_disk___s_._n
push eax
call fcn.00401d30
add esp, 0x10
lea ecx, [ebp - 0x3c]
xor bl, bl
call fcn.00401760
pop edi
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp + 0x18]
push edi
push esi
push 1
push dword [ebp + 0x14]
call fcn.005066ac
add esp, 0x10
cmp eax, esi
je 0x4351ce
call fcn.0041ca10
cmp eax, 2
jg 0x4351a6
push str.Failed_to_write_serialized_state_to_disk._n
push 2
call fcn.0041d050
add esp, 8
test al, al
jne 0x4351a6
push str.Fossilize_ERROR:_Failed_to_write_serialized_state_to_disk._n
push 2
call fcn.00503303
add esp, 4
push eax
call fcn.00401d30
add esp, 8
push edi
call fcn.005056cb
add esp, 4
lea ecx, [ebp - 0x3c]
xor bl, bl
call fcn.00401760
pop edi
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
push edi
call fcn.005056cb
add esp, 4
lea ecx, [ebp - 0x3c]
mov bl, 1
call fcn.00401760
pop edi
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0xc]
xor al, al
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004ff45f
int3