Function at 0x100236c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8470
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100f51d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1002392d
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0x48], esi
add edi, 0x28
je 0x10023748
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, edi
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x74], vtable.Json::StreamWriter::Factory.0
mov byte [ebp - 4], 2
mov byte [ebp - 0x64], 0
and dword [ebp - 0x64], 0xfffffeff
mov dword [ebp - 0x74], vtable.Json::StreamWriterBuilder.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.10037990
mov byte [ebp - 4], 7
cmp dword [ebp + 0x10], 0
jne 0x100237c7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x100e48d0
call fcn.10030c70
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
push 0x100e47f3
push str.indentation
call fcn.100325e0
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.10030e20
mov edi, dword [ebp - 0x4c]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x54], esp
mov ecx, dword [edi + 0x88]
mov byte [eax + 8], 2
and dword [eax + 8], 0xfffffeff
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax], ecx
mov dword [eax + 4], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
push 0x100e47fd
push str.precision
call fcn.100325e0
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.10030e20
lea eax, [edi + 0x40]
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x40]
call fcn.10037c40
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push eax
call fcn.10026870
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10023879
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002386f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023962
push edx
push ecx
call fcn.100716aa
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.10037290
mov byte [ebp - 4], 0
test esi, esi
je 0x100238a6
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x44], 0
jb 0x100238bc
mov eax, dword [ebp - 0x28]
push 0
lea ecx, [ebp - 0x44]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100238db
cmp esi, dword [ebp - 0x44]
jne 0x100238db
mov esi, 1
jmp 0x100238dd
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002391b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10023911
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023967
push edx
push ecx
call fcn.100716aa
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10023942
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
mov dword [eax], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071699
mov esp, ebp
pop ebp
ret 0x10
call fcn.1009a1bd
call fcn.1009a1bd
int3