Function at 0x10018800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110210
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10160068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 0
push 0
push esi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x34], 0
call fcn.100edbf0
add esp, 0xc
test eax, eax
jne 0x10018ad6
push esi
push 0x4c
lea eax, [ebp - 0x8c]
push 1
push eax
call fcn.100edf90
add esp, 0x10
cmp eax, 0x4c
jne 0x10018ad6
cmp dword [ebp - 0x8c], eax
jne 0x10018ad6
test byte [ebp - 0x78], 1
je 0x100188b5
push esi
push 1
lea eax, [ebp - 0x34]
push 2
push eax
call fcn.100edf90
add esp, 0x10
cmp eax, 1
jne 0x10018ad6
push eax
movzx eax, word [ebp - 0x34]
push eax
push esi
call fcn.100edbf0
add esp, 0xc
test eax, eax
jne 0x10018ad6
push esi
push 1
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push 4
push eax
mov dword [ebp - 0x18], 0
call fcn.100edf90
add esp, 0x10
cmp eax, 1
jne 0x10018ad6
push eax
push 0xc
push esi
call fcn.100edbf0
add esp, 0xc
test eax, eax
jne 0x10018ad6
push esi
push 1
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.100edf90
add esp, 0x10
cmp eax, 1
jne 0x10018ad6
mov eax, dword [ebp - 0x18]
cmp eax, 0x14
jb 0x10018ad6
push 1
add eax, 0xffffffec
push eax
push esi
call fcn.100edbf0
add esp, 0xc
test eax, eax
jne 0x10018ad6
mov edi, dword [ebp - 0x38]
sub edi, dword [ebp - 0x18]
je 0x10018ad6
cmp edi, 0x104
ja 0x10018ad6
lea eax, [edi + 1]
push eax
call fcn.100cf0d6
add esp, 4
mov ebx, eax
push esi
push 1
push edi
push ebx
mov byte [ebx + edi], 0
call fcn.100edf90
add esp, 0x10
cmp eax, 1
jne 0x10018ac2
mov edx, ebx
lea ecx, [ebp - 0x30]
call fcn.1008fbb0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x90]
mov ecx, esi
push eax
call fcn.1000b290
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x100189ce
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100189c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018af7
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
push 4
mov ecx, 0x10166724
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.100b5ab0
mov edi, eax
test edi, edi
je 0x10018abe
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x10018a29
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x30]
push 0x1013aa44
push eax
call fcn.100b5f90
add esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, 0x10166724
push 0x3dd
push str.RC::RCRemoteMonitorClient::GetShortCutTarget
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcremotemonitorclient.cpp
push eax
push 4
call fcn.100b5af0
cmp edi, 1
jbe 0x10018a6d
lea eax, [ebp - 0x30]
mov ecx, 0x10166724
push eax
call fcn.100b5e10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x10018aaa
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018aa0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018afc
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
xor esi, esi
jmp 0x10018ac5
or esi, 0xffffffff
test ebx, ebx
je 0x10018ad2
push ebx
call fcn.100ceb35
add esp, 4
mov eax, esi
jmp 0x10018ad9
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ceb24
mov esp, ebp
pop ebp
ret 4
call fcn.100ecf9f
call fcn.100ecf9f
int3