Function at 0x10041c20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c9d4
mov eax, dword fs:[0]
push eax
sub esp, 0x124
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 ecx, dword [ebp + 0x10]
xor esi, esi
mov edx, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x54], ebx
test edx, edx
js 0x10042154
xor ecx, ecx
mov dword [ebp - 0x60], ecx
cmp ebx, edx
jge 0x10041cb2
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
test eax, eax
je 0x10041cb2
mov al, byte [eax]
cmp al, 3
je 0x10041ca0
cmp al, 0x14
jne 0x10041cb2
mov al, byte [ecx]
cmp al, 3
je 0x1004213e
cmp al, 0x14
je 0x1004213e
cmp ebx, edi
je 0x1004212f
lea eax, [edi + 1]
cmp ebx, eax
je 0x1004212f
lea ecx, [ebp - 0x80]
call fcn.100395a0
mov dword [ebp - 4], 0
mov eax, edi
mov dword [ebp - 0x50], eax
cmp edi, ebx
jge 0x1004207e
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ecx + eax*4]
mov al, byte [ebx]
cmp al, 0x14
jne 0x10041d23
mov edi, dword [ebx + 0x10]
mov esi, dword [edi + 8]
mov eax, dword [edi + 0xc]
lea eax, [esi + eax*8]
cmp esi, eax
je 0x1004205f
push dword [esi + 4]
lea ecx, [ebp - 0x80]
push dword [esi]
call fcn.10039b80
mov ecx, dword [edi + 0xc]
add esi, 8
mov eax, dword [edi + 8]
lea eax, [eax + ecx*8]
cmp esi, eax
jne 0x10041d01
jmp 0x1004205f
cmp al, 3
jne 0x10041d6e
movzx edx, word [ebx + 2]
mov ecx, dword [ebx + 0x10]
mov eax, edx
and eax, 0x804
cmp eax, 4
je 0x10041d45
cmp ecx, 0xa
jg 0x10041d45
jge 0x1004205f
test dl, 1
je 0x10041d5f
push 0
push ecx
push ecx
lea eax, [ebp - 0x80]
push eax
call fcn.1003d2f0
add esp, 0x10
jmp 0x1004205f
push ecx
push ecx
lea ecx, [ebp - 0x80]
call fcn.10039b80
jmp 0x1004205f
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.10046680
mov edi, eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x130], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x128], 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 - 0x124]
mov byte [ebp - 4], 2
or esi, 1
lea ecx, [ebp - 0x128]
push eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
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 - 0x128]
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x124]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 4
push 0x10075ea8
push 0x4a1
push 0x1004e89c
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 4
push str.C:Users_runneradminAppDataLocalTemp_tmpf_0wcli0libddwaf_prefix_srclibddwaf_build_third_partyproj_re2_prefix_srcproj_re2_re2parse.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, byte [ebx]
push 0x10076a50
push eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 5
push str.RE2:_unexpected_op:
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
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x10041e9e
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push eax
call fcn.10026c70
add esp, 0xc
cmp byte [ebp - 0x130], 0
mov byte [ebp - 4], 6
jne 0x10041fdd
lea eax, [ebp - 0x128]
push 0x10075efc
push eax
call fcn.100268e0
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x48], eax
xor edi, edi
mov dword [ebp - 0x18], eax
or esi, 4
mov eax, dword [ebp - 0xe8]
add esp, 8
and al, 0x22
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x44], esi
xorps xmm0, xmm0
movq qword [ebp - 0x8c], xmm0
cmp al, 2
je 0x10041f26
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax]
test ecx, ecx
je 0x10041f26
mov eax, dword [ebp - 0x114]
cmp ecx, dword [ebp - 0xec]
cmovb ecx, dword [ebp - 0xec]
mov edx, dword [eax]
sub ecx, edx
jmp 0x10041f5d
test byte [ebp - 0xe8], 4
jne 0x10041f51
mov eax, dword [ebp - 0x108]
mov esi, dword [eax]
test esi, esi
je 0x10041f51
mov eax, dword [ebp - 0x118]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax]
sub ecx, edx
add ecx, esi
jmp 0x10041f5d
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x10041f74
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000eab0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x28]
and eax, 0xfffffffb
or eax, 2
cmp dword [ebp - 0x14], 0x10
push 2
mov dword [ebp - 0x44], 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 - 0x48]
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 - 0x130], 1
cmp ecx, 0x10
jb 0x10041fdd
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041fd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004214e
push ecx
push edx
call fcn.10048403
add esp, 8
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x124]
call fcn.10027160
lea ecx, [ebp - 0x120]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1004205f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10042055
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004214e
push edx
push ecx
call fcn.10048403
add esp, 8
mov ecx, ebx
call fcn.1003a4c0
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
inc eax
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
cmp eax, ebx
jl 0x10041ce1
mov edi, dword [ebp - 0x5c]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
call fcn.1003ad00
push eax
call fcn.1003b3f0
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 0x58]
sub ecx, edi
mov ebx, dword [ebp - 0x4c]
add esp, 8
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x50], ecx
lea esi, [eax + edi*4]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], esi
mov eax, dword [eax + 4]
cmp eax, dword [ebx + 8]
mov ebx, dword [ebp - 0x54]
je 0x100420d0
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ebp - 0x4c]
add dword [eax + 4], 0x10
jmp 0x100420e5
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.1003cdf0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x1004211e
push dword [esi + 8]
lea eax, [ebp - 0x74]
push eax
mov ecx, eax
call fcn.10029e80
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.10048403
add esp, 8
cmp byte [esi + 0xd], 0
je 0x100420f8
mov eax, dword [ebp - 0x74]
push 0x18
push eax
call fcn.10048403
mov esi, dword [ebp - 0x44]
add esp, 8
mov edx, dword [ebp + 0xc]
cmp ebx, edx
jge 0x1004213e
mov eax, dword [ebp - 0x60]
mov edi, ebx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], eax
inc ebx
mov dword [ebp - 0x54], ebx
cmp ebx, edx
jg 0x10042154
mov eax, dword [ebp - 0x58]
jmp 0x10041c80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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