Function at 0x1000cf00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019748
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x10024008]
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 - 0x54], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
test esi, esi
je 0x1000d729
mov edi, dword [esi + 0x24]
test edi, edi
je 0x1000d53a
cmp dword [esi], 0
je 0x1000d53a
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x488], eax
test eax, eax
je 0x1000d53a
push 4
mov ecx, 0x10024a58
call fcn.10016b80
mov ebx, eax
test ebx, ebx
je 0x1000d052
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
push dword [esi]
push 0x1001cb84
push eax
call fcn.10017130
add esp, 0xc
lea eax, [ebp - 0x34]
mov ecx, 0x10024a58
push 0x73
push str.RC::DmAvCore::RCImplPortServer::RealReceiveRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
push eax
push 4
call fcn.10016bc0
cmp ebx, 1
jbe 0x1000cffb
lea eax, [ebp - 0x34]
mov ecx, 0x10024a58
push eax
call fcn.10016f60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x1000d03e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d034
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10017568
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov ebx, dword [ebp - 0x488]
push 0x10024620
push ebx
call fcn.10017c2c
add esp, 8
mov dword [esi + 0x18], eax
test eax, eax
jne 0x1000d14c
push 2
mov ecx, 0x10024a58
call fcn.10016b80
mov ebx, eax
test ebx, ebx
je 0x1000d145
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
push 0x21
push 0x1001cbb0
call fcn.10003e60
push 0x77
push str.RC::DmAvCore::RCImplPortServer::RealReceiveRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
lea eax, [ebp - 0x34]
mov ecx, 0x10024a58
push eax
push 2
call fcn.10016bc0
cmp ebx, 1
jbe 0x1000d0ee
lea eax, [ebp - 0x34]
mov ecx, 0x10024a58
push eax
call fcn.10016f60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x1000d131
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d127
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d127
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10017568
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov ecx, edi
jmp 0x1000d723
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, eax
mov dword [esi + 0x1c], ecx
test ecx, ecx
jne 0x1000d1e6
push 2
mov ecx, 0x10024a58
call fcn.10016b80
mov ebx, eax
test ebx, ebx
je 0x1000d145
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x34]
push 0x21
push 0x1001cbf8
call fcn.10003e60
push 0x81
push str.RC::DmAvCore::RCImplPortServer::RealReceiveRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
lea eax, [ebp - 0x34]
mov ecx, 0x10024a58
push eax
push 2
call fcn.10016bc0
cmp ebx, 1
jbe 0x1000d0ee
jmp 0x1000d0e0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp dword [edi + 0x24], 0
je 0x1000d528
nop
cmp dword [edi + 0x2c], 0
jne 0x1000d528
lea ebx, [esi + 4]
push ebx
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x488]
push dword [esi + 0x18]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0xffffffffffffffff
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x1c]
push 0
push eax
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x1000d528
cmp eax, 2
je 0x1000d528
cmp eax, 1
jne 0x1000d4c7
cmp dword [edi + 0x2c], 0
jne 0x1000d528
push 0
lea eax, [ebp - 0x50]
push eax
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
mov ecx, 0x10024a58
mov ebx, eax
call fcn.10016b80
mov dword [ebp - 0x484], eax
test eax, eax
je 0x1000d35a
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x34]
push ebx
push dword [ebp - 0x480]
push str.RCImplPortServer::RealReceiveRoutine:_result_d__errorCode_d
push eax
call fcn.10017130
add esp, 0x10
lea eax, [ebp - 0x34]
mov ecx, 0x10024a58
push 0xae
push str.RC::DmAvCore::RCImplPortServer::RealReceiveRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
push eax
push 5
call fcn.10016bc0
cmp dword [ebp - 0x484], 1
jbe 0x1000d305
lea eax, [ebp - 0x34]
mov ecx, 0x10024a58
push eax
call fcn.10016f60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x1000d346
mov ecx, dword [ebp - 0x34]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d33c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d02e
push edx
push ecx
call fcn.10017568
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp dword [ebp - 0x480], 0
jne 0x1000d378
cmp ebx, 0x6d
je 0x1000d4f5
cmp ebx, 0xe6
je 0x1000d4f5
mov edx, dword [edi + 0x24]
test edx, edx
je 0x1000d4c7
mov ebx, dword [esi + 0x18]
mov dword [ebp - 0x480], ebx
cmp dword [ebx], 0x31487350
jne 0x1000d4ae
cmp dword [ebx + 4], 0x32497350
mov dword [ebp - 0x480], ebx
jne 0x1000d4ae
push 4
mov ecx, 0x10024a58
call fcn.10016b80
mov dword [ebp - 0x484], eax
test eax, eax
je 0x1000d499
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], 6
lea eax, [ebx + 0x21c]
push eax
push dword [ebx + 0x218]
lea eax, [ebp - 0x4c]
push dword [esi]
push 0x1001ccc0
push eax
call fcn.10017130
add esp, 0x14
lea eax, [ebp - 0x4c]
mov ecx, 0x10024a58
push 0xc8
push str.RC::DmAvCore::RCImplPortServer::RealReceiveRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
push eax
push 4
call fcn.10016bc0
cmp dword [ebp - 0x484], 1
jbe 0x1000d444
lea eax, [ebp - 0x4c]
mov ecx, 0x10024a58
push eax
call fcn.10016f60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1000d485
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d47b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d02e
push edx
push ecx
call fcn.10017568
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov eax, dword [ebx + 0x218]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x18]
mov edx, dword [edi + 0x24]
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x54]
test eax, eax
push dword [edi + 0x28]
mov ecx, dword [ebp - 0x50]
cmovne ecx, eax
push ecx
push dword [ebp - 0x480]
push dword [esi]
call edx
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x24], 0
jne 0x1000d200
push esi
mov ecx, edi
call fcn.1000d750
mov eax, 1
jmp 0x1000d72b
mov eax, dword [esi]
test eax, eax
je 0x1000d528
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x1000d528
push dword [edi + 0x28]
lea edx, [ebp - 0x47c]
mov dword [ebp - 0x47c], 0x31487350
push 0x428
push edx
push eax
mov dword [ebp - 0x478], 0x33497350
call ecx
push esi
mov ecx, edi
call fcn.1000d750
mov eax, 1
jmp 0x1000d72b
mov eax, dword [0x10024a58]
test eax, eax
je 0x1000d62b
push 0
mov ecx, 0x10024a58
call fcn.10016260
mov eax, dword [0x10024a58]
cmp byte [eax + 0x54], 0
je 0x1000d62b
cmp dword [eax + 0x58], 2
jb 0x1000d62b
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x4c]
push 0x28
push 0x1001c990
call fcn.10003e60
push 0x66
push str.RC::DmAvCore::RCImplPortServer::RealReceiveRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
lea eax, [ebp - 0x4c]
mov ecx, 0x10024a58
push eax
push 2
call fcn.10016bc0
test bl, bl
je 0x1000d5d1
lea eax, [ebp - 0x4c]
mov ecx, 0x10024a58
push eax
call fcn.10016f60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1000d612
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d608
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d121
push edx
push ecx
call fcn.10017568
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov eax, dword [0x10024a58]
mov dword [ebp - 0x38], 7
cmp dword [esi + 0x24], 0
je 0x1000d729
test eax, eax
je 0x1000d720
push 0
mov ecx, 0x10024a58
call fcn.10016260
mov eax, dword [0x10024a58]
cmp byte [eax + 0x54], 0
je 0x1000d720
cmp dword [eax + 0x58], 2
jb 0x1000d720
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4c]
push 0x24
push 0x1001cb38
call fcn.10003e60
push 0x69
push str.RC::DmAvCore::RCImplPortServer::RealReceiveRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
lea eax, [ebp - 0x4c]
mov ecx, 0x10024a58
push eax
push 2
call fcn.10016bc0
test bl, bl
je 0x1000d6cb
lea eax, [ebp - 0x4c]
mov ecx, 0x10024a58
push eax
call fcn.10016f60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1000d70c
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d702
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d121
push edx
push ecx
call fcn.10017568
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov ecx, dword [esi + 0x24]
push esi
call fcn.1000d750
xor eax, eax
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.10017527
mov esp, ebp
pop ebp
ret