Function at 0x1003076f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b934
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
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 eax, ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], ecx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x58], edi
test ecx, ecx
je 0x10030c5b
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x38], edx
mov dword [edx], ecx
mov ecx, 1
mov dword [edx + 4], 0
nop
mov eax, dword [edx + ecx*8 - 8]
dec ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + ecx*8 + 4]
mov dword [ebp - 0x40], ecx
mov edx, ecx
mov esi, ecx
test ecx, ecx
je 0x100306cd
dec dword [ebx]
cmp dword [ebx], 0
jg 0x100306cb
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0x5c]
mov dword [ebx], ecx
mov dword [edx + 0x5c], ebx
mov edx, esi
mov ebx, edx
test eax, eax
je case.0x10030768.7
mov esi, dword [edi + 0x10]
lea edx, [edi + 0xc]
test esi, esi
je 0x10030704
cmp eax, dword [edx]
jae 0x10030704
mov ecx, dword [edi + 8]
lea esi, [edi + 8]
mov dword [ebp - 0x2c], esi
mov esi, dword [ecx + eax*4]
cmp esi, dword [edi]
jae 0x100306ff
mov ecx, dword [edi + 0x10]
cmp dword [ecx + esi*8], eax
je case.0x10030768.7
mov ecx, dword [ebp - 0x2c]
jmp 0x1003070e
lea ecx, [edi + 8]
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x1003073d
cmp eax, dword [edx]
jae 0x1003073d
mov edx, dword [ecx]
lea esi, [eax*4]
mov ecx, dword [edi]
mov dword [edx + esi], ecx
mov edx, dword [edi]
mov ecx, dword [edi + 0x10]
mov dword [ecx + edx*8], eax
mov edx, dword [ebp - 0x2c]
inc dword [edi]
mov ecx, dword [edi + 0x10]
mov edx, dword [edx]
mov edx, dword [edx + esi]
mov dword [ecx + edx*8 + 4], 0
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edi + 0x10]
lea ecx, [ecx + edx*8]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x5c]
lea esi, [ecx + eax*8]
mov ecx, dword [esi]
and ecx, 7
dec ecx
cmp ecx, 6
ja case.default.0x10030768
jmp dword [ecx*4 + 0x10030c7c]
mov ecx, dword [ebp - 0x2c]
inc eax
inc dword [ebx]
mov dword [ecx + 4], ebx
xor ecx, ecx
jmp 0x100306ac
test byte [esi], 8
jne 0x1003079a
mov ecx, dword [ebp - 0x30]
inc eax
mov edx, dword [ebp - 0x38]
mov dword [edx + ecx*8], eax
mov dword [edx + ecx*8 + 4], 0
inc ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [esi]
shr eax, 4
xor ecx, ecx
jmp 0x100306ac
test byte [esi], 8
mov ecx, dword [ebp - 0x30]
jne 0x100307c6
mov edx, dword [ebp - 0x38]
inc eax
mov dword [edx + ecx*8], eax
mov eax, edx
mov edx, dword [ebp - 0x34]
mov dword [eax + ecx*8 + 4], 0
inc ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [esi + 4]
cmp eax, dword [edx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
jge 0x10030904
mov dword [eax + ecx*8], 0
mov dword [eax + ecx*8 + 4], ebx
inc ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + 0x5c]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x10030801
mov eax, dword [ecx]
mov dword [edx + 0x5c], eax
mov dword [ecx], 1
jmp 0x100308de
mov eax, dword [edx + 0x54]
add edx, 0x48
mov dword [ebp - 0x2c], edx
mov ecx, dword [edx + 0x10]
add eax, ecx
test al, 1
jne 0x10030829
lea eax, [ecx + 2]
shr eax, 1
cmp dword [edx + 8], eax
ja 0x10030829
push 1
mov ecx, edx
call fcn.10031610
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 8]
lea eax, [ecx*2 - 1]
dec ecx
and dword [edx + 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x50], eax
shr eax, 1
and ecx, eax
mov eax, dword [edx + 4]
shl ecx, 2
mov dword [ebp - 0x3c], ecx
cmp dword [ecx + eax], 0
jne 0x10030869
push 0x10
call fcn.100483d3
mov edx, dword [ebp - 0x2c]
add esp, 4
mov edi, dword [ebp - 0x3c]
mov ecx, dword [edx + 4]
mov dword [edi + ecx], eax
mov eax, dword [edx + 4]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
and ecx, 1
mov eax, dword [edi + eax]
movq qword [eax + ecx*8], xmm0
inc dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov eax, dword [ebp - 0x34]
add edx, dword [eax + 0x58]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x50], edx
dec ecx
dec edx
mov eax, edx
and edx, 1
shr eax, 1
and ecx, eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [eax + edx*8], 1
lea ecx, [eax + edx*8]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov edx, 4
xor ecx, ecx
mov eax, dword [eax + 8]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10048fbe
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
shl eax, 2
push eax
push dword [ebx + 4]
push dword [ecx + 4]
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ecx + 4]
mov dword [eax + edx*4], ebx
mov ebx, ecx
mov eax, dword [esi]
shr eax, 4
xor ecx, ecx
jmp 0x100306ac
test byte [esi + 6], 1
mov ecx, dword [ebp + 0x10]
mov edx, ecx
je 0x10030926
add ecx, 0xffffffbf
cmp ecx, 0x19
ja 0x10030926
add edx, 0x20
movzx ecx, byte [esi + 4]
cmp ecx, edx
jg 0x1003095e
movzx ecx, byte [esi + 5]
cmp edx, ecx
jg 0x1003095e
mov ecx, dword [ebp - 0x2c]
inc dword [ebx]
mov dword [ecx + 4], ebx
movzx ecx, word [esi + 6]
cmp ecx, 2
jb case.0x10030768.7
shr ecx, 1
add eax, ecx
xor ecx, ecx
jmp 0x100306ac
mov ecx, dword [ebp - 0x2c]
inc dword [ebx]
mov dword [ecx + 4], ebx
test byte [esi], 8
jne case.0x10030768.7
inc eax
xor ecx, ecx
jmp 0x100306ac
test byte [esi], 8
jne 0x1003098a
mov ecx, dword [ebp - 0x30]
inc eax
mov edx, dword [ebp - 0x38]
mov dword [edx + ecx*8], eax
mov dword [edx + ecx*8 + 4], 0
inc ecx
mov dword [ebp - 0x30], ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x5c]
call fcn.1002dfe0
not eax
add esp, 8
test dword [esi + 4], eax
jne case.0x10030768.7
mov eax, dword [esi]
shr eax, 4
xor ecx, ecx
jmp 0x100306ac
lea eax, [ebp - 0x100]
mov byte [ebp - 0x108], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x100], 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 - 0x48]
lea ecx, [ebp - 0x100]
or eax, 4
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xfc]
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 - 0x100]
mov dword [ebp - 4], 1
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 - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xfc], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 4
push 0x10075ea8
push 0xf2
push 0x1004e89c
lea eax, [ebp - 0x100]
mov dword [ebp - 4], 2
push str.C:Users_runneradminAppDataLocalTemp_tmpf_0wcli0libddwaf_prefix_srclibddwaf_build_third_partyproj_re2_prefix_srcproj_re2_re2_nfa.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 str._in_AddToThreadq
push eax
lea eax, [ebp - 0x100]
push str.unhandled
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
cmp byte [ebp - 0x108], 0
mov dword [ebp - 4], 4
jne 0x10030bf5
lea eax, [ebp - 0x100]
push 0x10075efc
push eax
call fcn.100268e0
mov esi, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x3c], eax
add esp, 8
mov dword [ebp - 0x18], eax
or esi, 2
mov eax, dword [ebp - 0xc0]
xorps xmm0, xmm0
and al, 0x22
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x68], xmm0
cmp al, 2
je 0x10030b4f
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10030b4f
mov eax, dword [ebp - 0xec]
cmp ecx, dword [ebp - 0xc4]
cmovb ecx, dword [ebp - 0xc4]
mov edx, dword [eax]
sub ecx, edx
jmp 0x10030b7e
test byte [ebp - 0xc0], 4
jne 0x10030b78
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax]
test ecx, ecx
je 0x10030b78
mov eax, dword [ebp - 0xf0]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0xd0]
add ecx, dword [eax]
jmp 0x10030b7e
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x10030b92
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000eab0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
and esi, 0xfffffffd
or esi, 1
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x48], 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 - 0x3c]
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 - 0x108], 1
cmp ecx, 0x10
jb 0x10030bf5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030beb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030c55
push ecx
push edx
call fcn.10048403
add esp, 8
mov eax, dword [ebp - 0x100]
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 - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xfc]
call fcn.10027160
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xb0]
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 ecx, dword [ebp - 0x30]
test ecx, ecx
jle 0x10030c5b
mov edx, dword [ebp - 0x38]
jmp 0x100306a0
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 0x18