Function at 0x1003df50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c59b
mov eax, dword fs:[0]
push eax
sub esp, 0x104
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, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp + 8]
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.1003cc00
mov ebx, dword [ebp - 0x44]
nop dword [eax]
mov ecx, dword [ebx - 0xc]
lea edx, [ebx - 0x1c]
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x30], edx
cmp esi, ecx
jne 0x1003dfc8
lea esi, [edx + 0xc]
jmp 0x1003e38a
mov ebx, dword [edx + 0x18]
mov eax, ecx
sub eax, esi
sar eax, 4
cmp ebx, eax
jge 0x1003e01d
shl ebx, 4
lea eax, [ebx + 8]
lea edx, [ebx + 4]
add eax, esi
mov ebx, dword [ebp - 0x44]
add edx, esi
cmp ebx, dword [ebp - 0x40]
je 0x1003e018
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
add ebx, 0x1c
mov dword [ebp - 0x44], ebx
jmp 0x1003dfb0
push eax
push edx
push ebx
jmp 0x1003dfa1
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x38], ebx
cmp dword [edx + 4], ebx
jle 0x1003e374
nop dword [eax]
mov ecx, dword [edx]
lea eax, [ecx + edi*4]
cmp eax, dword [esi + 4]
jae 0x1003e055
nop word [eax + eax]
mov eax, dword [ecx + edi*4]
inc edi
mov dword [ecx + ebx*4], eax
inc ebx
mov ecx, dword [edx]
lea eax, [ecx + edi*4]
cmp eax, dword [esi + 4]
jb 0x1003e040
mov dword [ebp - 0x38], ebx
mov eax, dword [edx + 8]
sub eax, 1
je 0x1003e309
sub eax, 1
je 0x1003e309
sub eax, 1
je 0x1003e305
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 - 0x2c]
lea ecx, [ebp - 0xe8]
or eax, 0x20
mov byte [ebp - 4], 1
push 0
mov dword [ebp - 0x2c], 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], 2
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 0x3d3
push 0x1004e89c
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 3
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
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 4
push dword [eax + 8]
lea eax, [ebp - 0xe8]
push str.unknown_round:
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 byte [ebp - 4], 5
jne 0x1003e2b2
lea eax, [ebp - 0xe8]
push 0x10075efc
push eax
call fcn.100268e0
or dword [ebp - 0x2c], 0x10
xor eax, eax
mov dword [ebp - 0x34], eax
add esp, 8
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xa8]
and al, 0x22
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x104], xmm0
cmp al, 2
je 0x1003e1fa
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003e1fa
mov eax, dword [ebp - 0xd4]
cmp ecx, dword [ebp - 0xac]
cmovb ecx, dword [ebp - 0xac]
mov edx, dword [eax]
sub ecx, edx
jmp 0x1003e231
test byte [ebp - 0xa8], 4
jne 0x1003e225
mov eax, dword [ebp - 0xc8]
mov ebx, dword [eax]
test ebx, ebx
je 0x1003e225
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
sub ecx, edx
add ecx, ebx
jmp 0x1003e231
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0x104]
test edx, edx
je 0x1003e245
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000eab0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
lea ebx, [ebp - 0x28]
and eax, 0xffffffef
or eax, 8
cmp dword [ebp - 0x14], 0x10
push 2
cmovae ebx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
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 ebx
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 0x1003e2af
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e2a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e7c1
push ecx
push edx
call fcn.10048403
add esp, 8
mov ebx, dword [ebp - 0x38]
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 edx, dword [ebp - 0x30]
mov byte [ebp - 4], 0
jmp 0x1003e348
mov eax, dword [esi]
jmp 0x1003e33e
push dword [ebp - 0x3c]
mov eax, dword [esi]
mov dword [ebp - 0xf8], eax
push dword [esi + 0xc]
push dword [esi + 4]
call fcn.10039e20
push dword [ebp - 0x3c]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xf8]
push 2
push eax
call fcn.10039f10
mov edx, dword [ebp - 0x30]
add esp, 0x18
mov ecx, dword [edx]
mov dword [ecx + ebx*4], eax
inc ebx
add edi, dword [esi + 8]
mov dword [ebp - 0x38], ebx
mov ecx, dword [edx + 0x10]
add esi, 0x10
cmp esi, ecx
jne 0x1003e357
cmp edi, dword [edx + 4]
jl 0x1003e362
cmp edi, dword [edx + 4]
jl 0x1003e030
jmp 0x1003e374
mov ecx, dword [edx]
mov eax, dword [ecx + edi*4]
inc edi
mov dword [ecx + ebx*4], eax
inc ebx
cmp edi, dword [edx + 4]
jl 0x1003e362
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
lea esi, [edx + 0xc]
cmp eax, ecx
je 0x1003e381
mov dword [esi + 4], eax
mov edi, dword [ebp - 0x2c]
mov dword [edx + 4], ebx
mov ebx, dword [ebp - 0x44]
inc dword [edx + 8]
mov eax, dword [edx + 8]
dec eax
cmp eax, 3
ja case.default.0x1003e39a
jmp dword [eax*4 + 0x1003e7f0]
push esi
push dword [ebp - 0x3c]
push dword [edx + 4]
push dword [edx]
call fcn.100417d0
mov ebx, dword [ebp - 0x30]
add esp, 0x10
jmp 0x1003e6f0
push esi
push dword [ebp - 0x3c]
push dword [edx + 4]
push dword [edx]
call fcn.10041980
mov ebx, dword [ebp - 0x30]
add esp, 0x10
jmp 0x1003e6f0
push esi
push dword [ebp - 0x3c]
push dword [edx + 4]
push dword [edx]
call fcn.10041c20
mov ebx, dword [ebp - 0x30]
add esp, 0x10
jmp 0x1003e6f0
mov esi, dword [ebp - 0x48]
mov eax, ebx
sub eax, esi
sub eax, 0x1c
cmp eax, 0x1c
jb 0x1003e718
mov eax, dword [edx + 0xc]
lea ebx, [edx + 0xc]
mov esi, dword [edx + 4]
test eax, eax
je 0x1003e453
mov ecx, dword [ebx + 8]
sub ecx, eax
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x1003e432
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e7c1
mov eax, edx
push ecx
push eax
call fcn.10048403
mov edx, dword [ebp - 0x30]
add esp, 8
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov ecx, dword [edx - 4]
mov ebx, edx
mov eax, dword [edx - 0x10]
add ecx, ecx
mov dword [ebp - 0x44], ebx
mov dword [eax + ecx*8 + 0xc], esi
inc dword [edx - 4]
jmp 0x1003dfb0
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xf0], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x50], 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_]
push 0
push 0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 6
or edi, 1
lea ecx, [ebp - 0xe8]
push eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], 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 - 0xe8]
mov dword [ebp - 4], 7
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 0x3fa
push 0x1004e89c
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 8
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
mov ebx, dword [ebp - 0x30]
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 9
push dword [ebx + 8]
push str.unknown_round:
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 byte [ebp - 4], 0xa
jne 0x1003e69f
lea eax, [ebp - 0xe8]
push 0x10075efc
push eax
call fcn.100268e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], eax
add esp, 8
mov dword [ebp - 0x18], eax
or edi, 4
mov eax, dword [ebp - 0xa8]
xorps xmm0, xmm0
and al, 0x22
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x110], xmm0
cmp al, 2
je 0x1003e5ef
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003e5ef
mov eax, dword [ebp - 0xd4]
cmp ecx, dword [ebp - 0xac]
cmovb ecx, dword [ebp - 0xac]
mov edx, dword [eax]
sub ecx, edx
jmp 0x1003e624
test byte [ebp - 0xa8], 4
jne 0x1003e618
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003e618
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0xb8]
add ecx, dword [eax]
jmp 0x1003e624
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x110]
test edx, edx
je 0x1003e638
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000eab0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
and edi, 0xfffffffb
lea esi, [ebp - 0x28]
or edi, 2
cmp dword [ebp - 0x14], 0x10
push 2
cmovae esi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edi
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 0x1003e69f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e695
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e7c1
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 byte [ebp - 4], 0
lea esi, [ebx + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, eax
je 0x1003e70b
cmp dword [ebx + 8], 3
je 0x1003e70b
mov dword [ebx + 0x18], 0
jmp 0x1003dfa9
sub eax, ecx
sar eax, 4
mov dword [ebx + 0x18], eax
jmp 0x1003dfa9
mov edi, dword [edx + 4]
test esi, esi
je 0x1003e7d1
cmp esi, ebx
je 0x1003e783
add esi, 0x14
nop word [eax + eax]
mov eax, dword [esi - 8]
test eax, eax
je 0x1003e776
mov ecx, dword [esi]
sub ecx, eax
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x1003e758
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e7c1
mov eax, edx
push ecx
push eax
call fcn.10048403
mov dword [esi - 8], 0
add esp, 8
mov dword [esi - 4], 0
mov dword [esi], 0
add esi, 0x1c
lea eax, [esi - 0x14]
cmp eax, ebx
jne 0x1003e730
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1003e7c7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003e7c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10048403
add esp, 8
mov eax, edi
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