Function at 0x10036750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bea4
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
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 esi, ecx
mov dword [ebp - 0x2c], esi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [edi], eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x1c], eax
mov ebx, dword [ecx + 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x38], ecx
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x100368c4
mov edx, ecx
mov ecx, dword [ebx]
cmp ecx, dword [edx + 0x14]
jl 0x10036808
mov eax, dword [ebp - 0x3c]
cmp byte [eax], 0
jne 0x100368c4
cmp byte [edi + 0x20], 0
jne 0x10036b74
cmp dword [edi + 0x10], 0
mov edx, dword [edi + 0x1c]
mov byte [edi + 0x20], 0
lea eax, [edx + 1]
mov dword [edi + 0x1c], eax
je 0x10036b74
cmp edx, dword [edi + 0xc]
jae 0x10036b74
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov dword [eax + ecx*4], edx
inc dword [edi]
jmp 0x10036b74
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
lea esi, [eax + ecx*8]
mov ecx, dword [esi]
mov eax, ecx
and eax, 7
dec eax
cmp eax, 6
ja case.default.0x10036821
jmp dword [eax*4 + 0x10036b98]
test byte [esi + 6], 1
mov eax, dword [ebp + 0x10]
mov edx, eax
je 0x1003683e
add eax, 0xffffffbf
cmp eax, 0x19
ja 0x1003683e
add edx, 0x20
movzx eax, byte [esi + 4]
cmp eax, edx
jg case.0x10036821.1
movzx eax, byte [esi + 5]
cmp edx, eax
jg case.0x10036821.1
push dword [ebp + 0x14]
shr ecx, 4
push ecx
mov ecx, dword [ebp - 0x2c]
push edi
call fcn.10035740
movzx eax, word [esi + 6]
cmp eax, 2
jb 0x1003687c
shr eax, 1
lea ebx, [ebx + eax*4]
add ebx, 0xfffffffc
jmp case.0x10036821.1
test byte [esi], 8
mov eax, esi
jne 0x1003688b
add esi, 8
test byte [esi], 8
je 0x10036883
sub esi, eax
sar esi, 3
lea ebx, [ebx + esi*4]
jmp case.0x10036821.1
cmp byte [edx + 1], 0
mov esi, dword [ebp - 0x2c]
je 0x100368b4
cmp dword [ebp + 0x10], 0x100
je 0x100368b4
cmp dword [esi + 4], 3
jne 0x10036b74
mov eax, dword [ebp - 0x3c]
mov byte [eax], 1
cmp dword [esi + 4], 0
jne 0x10036b74
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 0x14
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xf0], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xe8], 0x10075ef4
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xe8]
or eax, 1
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xe4]
push 0
push eax
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 - 0xe8]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xe4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
push 0x10075ea8
push 0x3b2
push 0x1004e89c
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 2
push str.C:Users_runneradminAppDataLocalTemp_tmpf_0wcli0libddwaf_prefix_srclibddwaf_build_third_partyproj_re2_prefix_srcproj_re2_re2dfa.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
mov eax, dword [esi]
and eax, 7
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0xe8]
push str.unhandled_opcode:
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_]
cmp byte [ebp - 0xf0], 0
mov dword [ebp - 4], 4
jne 0x10036b20
lea eax, [ebp - 0xe8]
push 0x10075efc
push eax
call fcn.100268e0
mov esi, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x34], eax
add esp, 8
mov dword [ebp - 0x18], eax
or esi, 4
mov eax, dword [ebp - 0xa8]
xorps xmm0, xmm0
and al, 0x22
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x48], xmm0
cmp al, 2
je 0x10036a74
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
test ecx, ecx
je 0x10036a74
mov eax, dword [ebp - 0xd4]
cmp ecx, dword [ebp - 0xac]
cmovb ecx, dword [ebp - 0xac]
mov edx, dword [eax]
sub ecx, edx
jmp 0x10036aa9
test byte [ebp - 0xa8], 4
jne 0x10036aa3
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10036aa3
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
sub ecx, edx
add ecx, dword [ebp - 0x30]
jmp 0x10036aa9
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x10036abd
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000eab0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
and esi, 0xfffffffb
or esi, 2
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x30], esi
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push dword [ebp - 0x34]
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 - 0xf0], 1
cmp ecx, 0x10
jb 0x10036b20
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036b16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036b92
push ecx
push edx
call fcn.10048403
add esp, 8
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.10027160
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
add ebx, 4
mov edx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x10]
lea eax, [eax + ecx*4]
cmp ebx, eax
jne 0x100367b4
jmp 0x100368c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
jno 0x10036c05
add edx, dword [eax]
sub byte [eax + 3], ch
adc byte [ecx + 107], dh
add edx, dword [eax]
jno 0x10036c11
add edx, dword [eax]
cwde
push 1802571779
add edx, dword [eax]
jno 0x10036c1d
add edx, dword [eax]
int3
add byte [ebx + 0x188b0c45], cl