Function at 0x10035846
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bce4
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
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 dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ecx], eax
mov eax, 1
nop
mov edx, dword [ecx + eax*4 - 4]
dec eax
mov dword [ebp - 0x2c], eax
cmp edx, 0xffffffff
je 0x10035ba0
test edx, edx
je 0x100358f0
mov ecx, dword [esi + 0x10]
lea edi, [esi + 0xc]
test ecx, ecx
je 0x100357e1
cmp edx, dword [edi]
jae 0x100357e1
lea eax, [esi + 8]
mov dword [ebp - 0x30], eax
lea ebx, [edx*4]
mov eax, dword [eax]
mov eax, dword [eax + ebx]
cmp eax, dword [esi]
jae 0x100357d6
cmp dword [ecx + eax*4], edx
je 0x100358f0
mov ecx, dword [ebp - 0x30]
mov eax, edi
mov byte [esi + 0x20], 0
jmp 0x10035804
mov byte [esi + 0x20], 0
mov ebx, edi
mov dword [ebp - 0x3c], ebx
lea edi, [esi + 8]
mov dword [ebp - 0x30], edi
lea eax, [edx*4]
mov edi, ebx
mov ebx, eax
test ecx, ecx
je 0x10035819
mov eax, edi
lea ecx, [esi + 8]
cmp edx, dword [eax]
jae 0x10035819
mov ecx, dword [ecx]
mov eax, dword [esi]
mov dword [ecx + ebx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax + edx*8]
lea ebx, [eax + edx*8]
mov eax, ecx
and eax, 7
dec eax
cmp eax, 5
ja case.default.0x10035836
jmp dword [eax*4 + 0x10035bd0]
test cl, 8
jne 0x100358f0
inc edx
jmp 0x100358b3
test cl, 8
mov ecx, dword [ebp - 0x2c]
jne 0x10035861
mov esi, dword [ebp - 0x34]
lea eax, [edx + 1]
mov dword [esi + ecx*4], eax
inc ecx
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebx]
and eax, 7
cmp al, 6
jne 0x100358ae
cmp dword [esi + 0x18], 0
jle 0x100358ae
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp edx, dword [eax + 0xc]
jne 0x100358ae
cmp edx, dword [eax + 8]
je 0x100358ae
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx*4], 0xffffffff
inc ecx
mov dword [ebp - 0x2c], ecx
jmp 0x100358ae
test cl, 8
jne 0x100358a4
mov ecx, dword [ebp - 0x2c]
lea eax, [edx + 1]
mov edx, dword [ebp - 0x34]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
not eax
test dword [ebx + 4], eax
jne 0x100358f0
mov edx, dword [ebx]
shr edx, 4
cmp edx, 0xffffffff
jne 0x100357a1
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp byte [esi + 0x20], 0
jne 0x100358f3
cmp dword [esi + 0x10], 0
mov edx, dword [esi + 0x1c]
mov byte [esi + 0x20], 0
lea eax, [edx + 1]
mov dword [esi + 0x1c], eax
je 0x100358f0
cmp edx, dword [edi]
jae 0x100358f0
mov ecx, dword [ecx]
mov eax, dword [esi]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x10035bb1
mov ecx, dword [ebp - 0x34]
jmp 0x10035790
lea eax, [ebp - 0xec]
mov byte [ebp - 0xf4], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xec], 0x10075ef4
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0xe8]
push 0
push 0
or edi, 1
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], 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 - 0xec]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xec], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf0], eax
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xe8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 4
push 0x10075ea8
push 0x359
push 0x1004e89c
lea eax, [ebp - 0xec]
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 [ebx]
and eax, 7
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0xec]
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 - 0xf4], 0
mov dword [ebp - 4], 4
jne 0x10035b4a
lea eax, [ebp - 0xec]
push 0x10075efc
push eax
call fcn.100268e0
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x30], eax
xor ebx, ebx
mov dword [ebp - 0x18], eax
add esp, 8
mov eax, dword [ebp - 0xac]
or edi, 4
and al, 0x22
mov dword [ebp - 0x28], ebx
xorps xmm0, xmm0
movq qword [ebp - 0x50], xmm0
cmp al, 2
je 0x10035a90
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
test ecx, ecx
je 0x10035a90
mov eax, dword [ebp - 0xd8]
cmp ecx, dword [ebp - 0xb0]
cmovb ecx, dword [ebp - 0xb0]
mov edx, dword [eax]
sub ecx, edx
jmp 0x10035abf
test byte [ebp - 0xac], 4
jne 0x10035ab9
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10035ab9
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0xbc]
add ecx, dword [eax]
jmp 0x10035abf
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x10035ad6
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000eab0
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
and edi, 0xfffffffb
or edi, 2
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x38], edi
lea edi, [ebp - 0x28]
push 2
cmovae edi, ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push dword [ebp - 0x30]
push 1
push edi
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 - 0xf4], 1
cmp ecx, 0x10
jb 0x10035b38
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035b2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035bab
push ecx
push edx
call fcn.10048403
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0xec]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xec], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf0], eax
lea ecx, [ebp - 0xe8]
call fcn.10027160
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x9c]
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
jmp 0x100358f0
lea edi, [esi + 0xc]
lea ecx, [esi + 8]
jmp 0x100358c2
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 0xc