joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54ce56
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x54cf77
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x54cf5b
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x54cead
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x54ce8b
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x7ddd1c
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x7c2517
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x7c2531
push esi
jmp 0x7c250a

Function at 0x879a4e
Capabilities:
Encode data using xor

Disassembly:
mov edi, ebx
mov bp, 0xadd4
lea edi, [esp + edi]
jmp 0x879a8b
mov ah, dh
pushfd
push dword [esp]
mov edi, dword [esp + 0xc]
mov ax, word [esp]
xchg ah, al
jmp 0x879a71

Function at 0x88585d
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0
jmp 0x88598c
jmp 0x88590e
jmp 0x885829
pushal
jmp 0x88580e
inc dword [esp + 8]
call fcn.00885939
pushfd
cmp dword [esp + 4], 0
jne 0x88583f
je 0x885875

Function at 0x885917
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov esi, dword [0x79a2d182]
lea esp, [esp - 4]
ret
mov dword [esp + 3], ebp
push bx
jmp 0x885923
xchg word [esp], bp
push word [esp + 1]
lea ebp, [edx*4]
jmp 0x885958
lea ebp, [edi*4]
bswap ebp
mov ah, byte [esp + 3]
mov dword [esp], edx
jmp 0x885969
push dword [esp + 3]
pop dword [esp]
bswap ebp
mov dword [esp], eax
pushfd
xchg bp, ax
jmp 0x885942
mov ah, 0x7c
mov ah, byte [esp]
mov dl, byte [esp]
xchg al, dl
lea ebp, [eax*4]
not dx
jmp 0x8859b4
mov ah, 0xbb
mov bp, dx
pushfd
pop ax
mov ah, al
lea ebp, [ebx + ebx]
jmp 0x885a9d
rdtsc
rdtsc
mov edx, ecx
xchg bp, ax
pop edx
mov bp, 0x2459
jmp 0x88599e
lea esp, [esp + 8]
jmp 0x885881
mov ebp, ecx
mov ebp, dword [esp + 3]
lea esp, [esp + 0xc]
popfd
lea esp, [esp + 4]
push dword [esp]
jmp 0x8859f3
lea esp, [esp + 2]
pop eax
mov ebp, dword [esp]
lea ebp, [esp + edi]
mov bp, 0xd9e8
mov ebp, ebx
jmp 0x885a2b

Function at 0x885939
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 1]
call fcn.00885917

Function at 0x8bd7c2
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], eax
mov dword [esp], eax
push dword [esp + 3]
mov dword [esp], edx
mov edx, 0xe7561df5
jmp 0x8bd7e4

Function at 0x8bd7df
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.008bd7c2
bswap edx
lea edx, [ebx + 0x91]
pushal
lea edx, [ebp + ebp]
mov dword [esp + 5], eax
pushfd
jmp 0x8bd82d
lea esp, [esp + 2]
mov al, 0x87
rdtsc
mov ebp, 0xd4d8fd14
lea ebp, [eax + ebp]
jmp 0x8bdbc9
mov edx, 0x3f85444a
mov dx, si
rdtsc
mov dword [esp + 4], ebp
mov bp, di
push cx
jmp 0x8bd817
setle ah
mov ebp, dword [esp + 4]
mov edx, dword [esp]
mov dl, 0x17
mov dx, 0x1dd9
mov dx, cx
call fcn.008bd9e3
push eax
jmp 0x8bdcd7
call fcn.008bdca3
add byte [eax], al
add byte [eax], al
call fcn.007c4550
push eax
jmp 0x8bdc8f
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10083070
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102623a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1030f644]
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
cmp dword [0x1031d6f4], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
je 0x10083125
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], 0
je 0x10083125
cmp dword [eax + 0x58], 4
jb 0x10083125
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x29
push str.Start_RCFileDManager::DomainDeleteFile...
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.1004d240
push 0x53
push str.RC::DM::RCFileDManager::DomainDeleteFile
push str.d:_rhinopcdomain_src_system_file_rcfiledmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
push 4
call fcn.1008de20
test bl, bl
je 0x1008311d
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
add esi, 4
cmp dword [esi + 0x10], 0
je 0x10083168
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10083138
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10083168
cmp dword [esi + 0x14], 8
jb 0x1008314c
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10083168
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0xffffffff
mov dword [edi + 4], eax
jmp 0x10083175
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0
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.101afab5
mov esp, ebp
pop ebp
ret 8
Function at 0x10085550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102623a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1030f644]
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 edx, dword [ecx + 0xc]
test edx, edx
jne 0x10085589
xor al, al
jmp 0x1008565c
lea eax, [ecx + 0x3c]
mov dword [ecx + 0x88], 0
push eax
push 0
push 4
lea eax, [ecx + 0x8c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bh
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x100855c5
cmp edi, 0x3e5
sete bh
test bh, bh
jne 0x1008565a
cmp dword [0x1031d6f4], 0
je 0x1008565a
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], bh
je 0x1008565a
cmp dword [eax + 0x58], 2
jb 0x1008565a
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push str.request_read_size_failed___d
push eax
call fcn.1008e380
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push 0x14e
push str.RC::DM::RCNamePipeClient::RequestReadSize
push str.d:_rhinopcdomain_src_systemipc_namepipe_rcnamepipeclient.cpp
push eax
push 2
call fcn.1008de20
test bl, bl
je 0x10085652
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov al, bh
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.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x10085f30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10266990
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1030f644]
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 edi, ecx
lea eax, [edi + 4]
mov dword [edi + 0x28], 1
push eax
push 0
push 4
lea eax, [edi + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x10085f94
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x1008601d
cmp dword [0x1031d6f4], 0
je 0x100860ba
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], bl
je 0x100860ba
cmp dword [eax + 0x58], 2
jb 0x100860ba
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x10085ff1
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_next_failed__p__p__s___d
push eax
call fcn.1008e380
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x34
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 2
jmp 0x10086096
cmp dword [0x1031d6f4], 0
je 0x100860ba
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], 0
je 0x100860ba
cmp dword [eax + 0x58], 5
jb 0x100860ba
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [edi + 0x40]
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x1008606f
mov eax, dword [eax]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_next__p__p__s
push eax
call fcn.1008e380
add esp, 0x14
lea eax, [ebp - 0x28]
push 0x3c
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x1031d6f4
call fcn.1008de20
test bh, bh
je 0x100860b2
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov al, bl
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.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x100860e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10266990
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1030f644]
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 edi, ecx
mov eax, dword [edi + 0x20]
lea esi, [edi + 0x1c]
sub eax, dword [esi]
mov ecx, dword [edi + 0x18]
cmp eax, ecx
jae 0x10086128
push esi
push ecx
mov ecx, esi
call fcn.10085bf0
mov ecx, dword [edi + 0x18]
lea eax, [edi + 4]
mov dword [edi + 0x28], 2
push eax
push 0
push ecx
push dword [esi]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x1008615c
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x100861e5
cmp dword [0x1031d6f4], 0
je 0x10086285
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], bl
je 0x10086285
cmp dword [eax + 0x58], 2
jb 0x10086285
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x100861b9
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_data_failed__p__p__s___d
push eax
call fcn.1008e380
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x5a
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::RequestData
push str.d:_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 2
jmp 0x10086261
cmp dword [0x1031d6f4], 0
je 0x10086285
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], 0
je 0x10086285
cmp dword [eax + 0x58], 5
jb 0x10086285
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [edi + 0x40]
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x10086237
mov eax, dword [eax]
push dword [edi + 0x18]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_data__p__p__s___d
push eax
call fcn.1008e380
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x63
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::RequestData
push str.d:_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x1031d6f4
call fcn.1008de20
test bh, bh
je 0x1008627d
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov al, bl
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.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x10086600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10265fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1030f644]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
push eax
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x30], ebx
test esi, esi
jne 0x1008666e
cmp ebx, 0x3e5
je 0x1008666e
xor bl, bl
jmp 0x10086694
lea eax, [edi + 0x2c]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10086692
cmp ebx, 0x3e5
je 0x10086692
xor bl, bl
jmp 0x10086694
mov bl, 1
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x10086744
cmp dword [0x1031d6f4], 0
je 0x10086744
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], bl
je 0x10086744
cmp dword [eax + 0x58], 2
jb 0x10086744
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x100866f3
mov eax, dword [eax]
push dword [ebp - 0x30]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.send_data_failed__p__p__s___d
push eax
call fcn.1008e380
add esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push 0xce
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::SendData
push str.d:_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 2
call fcn.1008de20
test bh, bh
je 0x1008673c
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov al, bl
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.101afab5
mov esp, ebp
pop ebp
ret 8
Function at 0x1008b1c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x102fea28
push 0x101b0c3f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1030f644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x1008b229
xor eax, eax
jmp 0x1008b39f
mov dword [ebp - 4], ebx
push 0x102e39cc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1008b36a
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x1008b36a
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x1008b36a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x1008b36a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x1008b36a
push 0x102e3a10
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1008b36a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1008b353
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1008b340
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x1008b350
jmp 0x1008b36a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1008b3c6
test ebx, ebx
jne 0x1008b39d
test esi, esi
je 0x1008b38f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1008b39d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101afab5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1013e640
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1030f644]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1013e66e
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x1013e657
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1013e6b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1013e6b4
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, edi
mov dword [esi], eax
adc ecx, 0
xor eax, eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4

Function at 0x10148f30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10268910
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [esi + 8], ecx
test ecx, ecx
je 0x10148f95
mov eax, dword [esi + 0x10]
pop esi
test eax, eax
je 0x10148f85
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x10148fc5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.cannot_create_thread
lea ecx, [ebp - 0x24]
call fcn.1004b980
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.1013fec0
push 0x10309118
lea eax, [ebp - 0x68]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x3c]
call fcn.1004b980
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x94]
call fcn.1013fec0
push 0x10309118
lea eax, [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3