Function at 0x1003a5c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c1d4
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1008a5e4]
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 ebx, ecx
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
cmp word [ebx + 6], di
jne 0x1003a621
push 1
call fcn.10039a00
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.10048062
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0xc], edi
mov esi, ebx
mov eax, ebx
mov ebx, dword [ebx + 0xc]
mov edx, 0xffff
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
cmp word [esi + 4], 0
je 0x1003a8d8
lea eax, [ebp - 0xe4]
mov byte [ebp - 0xec], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xe4], 0x10075ef4
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
or edi, 1
lea ecx, [ebp - 0xe4]
push eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xe0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 4
push 0x10075ea8
push 0x93
push 0x1004e89c
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 2
push str.C:Users_runneradminAppDataLocalTemp_tmpf_0wcli0libddwaf_prefix_srclibddwaf_build_third_partyproj_re2_prefix_srcproj_re2_re2_regexp.cc
push eax
call fcn.100268e0
add esp, 8
push eax
call fcn.100268e0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.100268e0
add esp, 8
movzx eax, word [esi + 4]
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 3
push str.Bad_reference_count
push eax
call fcn.100268e0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
cmp byte [ebp - 0xec], 0
mov dword [ebp - 4], 4
jne 0x1003a87f
lea eax, [ebp - 0xe4]
push 0x10075efc
push eax
call fcn.100268e0
or dword [ebp - 0x30], 4
xor eax, eax
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x18], eax
add esp, 8
mov eax, dword [ebp - 0xa4]
xorps xmm0, xmm0
and al, 0x22
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x44], xmm0
cmp al, 2
je 0x1003a7cb
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003a7cb
mov eax, dword [ebp - 0xd0]
cmp ecx, dword [ebp - 0xa8]
cmovb ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
sub ecx, edx
jmp 0x1003a7fc
test byte [ebp - 0xa4], 4
jne 0x1003a7f6
mov eax, dword [ebp - 0xc4]
mov esi, dword [eax]
test esi, esi
je 0x1003a7f6
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
sub ecx, edx
add ecx, esi
jmp 0x1003a7fc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x1003a813
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000eab0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x28]
and eax, 0xfffffffb
or eax, 2
cmp dword [ebp - 0x14], 0x10
push 2
mov dword [ebp - 0x30], eax
cmovae esi, edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push dword [ebp - 0x2c]
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov byte [ebp - 0xec], 1
cmp ecx, 0x10
jb 0x1003a87c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a872
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aa21
push ecx
push edx
call fcn.10048403
add esp, 8
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call fcn.10027160
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x94]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x38]
mov edx, 0xffff
mov dword [ebp - 4], 0xffffffff
movzx ecx, word [esi + 6]
test cx, cx
je 0x1003a957
add eax, 8
xor edi, edi
mov dword [ebp - 0x2c], eax
cmp ecx, 1
jbe 0x1003a8f3
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov esi, dword [eax + edi*4]
test esi, esi
je 0x1003a92f
movzx eax, word [esi + 4]
cmp ax, dx
jne 0x1003a90c
mov ecx, esi
call fcn.1003a4c0
jmp 0x1003a911
dec eax
mov word [esi + 4], ax
cmp word [esi + 4], 0
jne 0x1003a92f
cmp word [esi + 6], 0
jne 0x1003a92a
push 1
mov ecx, esi
call fcn.10039a00
jmp 0x1003a92f
mov dword [esi + 0xc], ebx
mov ebx, esi
mov esi, dword [ebp - 0x34]
inc edi
mov eax, dword [ebp - 0x2c]
mov edx, 0xffff
movzx ecx, word [esi + 6]
cmp edi, ecx
jl 0x1003a8f3
cmp ecx, 1
jbe 0x1003a951
push eax
call fcn.10048fc7
add esp, 4
xor eax, eax
mov word [esi + 6], ax
mov al, byte [esi]
mov dword [ebp - 4], 5
cmp al, 4
je 0x1003a9f4
cmp al, 0xb
je 0x1003a9a0
cmp al, 0x14
jne 0x1003a9ff
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1003a984
push eax
call fcn.10048fc7
add esp, 4
mov edi, dword [esi + 0x14]
test edi, edi
je 0x1003a9ff
lea ecx, [edi + 0xc]
call fcn.10039640
push 0x14
push edi
call fcn.10048403
add esp, 8
jmp 0x1003a9ff
mov edi, dword [esi + 0x14]
test edi, edi
je 0x1003a9ff
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x1003a9d6
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1003a9cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aa21
mov eax, edx
push ecx
push eax
call fcn.10048403
add esp, 8
push 0x18
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.10048403
add esp, 8
jmp 0x1003a9ff
push dword [esi + 0x14]
call fcn.10048fc7
add esp, 4
push 0x18
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.10048403
add esp, 8
test ebx, ebx
je 0x1003a605
mov edi, dword [ebp - 0x30]
jmp 0x1003a624
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3