joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e27f0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
movzx edi, al
mov esi, ecx
push ebx
push edi
push str.vkCode_0x_x_flags_0x_x
push 0x572f48
mov dword [ebp - 4], edi
call fcn.004158f0
mov edx, ebx
lea eax, [esi + 4]
and edx, 1
mov dword [ebp - 8], eax
shl edx, 8
add esp, 0x10
or edx, edi
mov dword [ebp - 0x10], edx
test bl, 2
je 0x4e28e5
mov ebx, dword [eax]
mov esi, ebx
mov eax, dword [ebx + 4]
mov ecx, eax
cmp byte [ecx + 0xd], 0
jne 0x4e286a
mov edi, dword [ecx + 0x10]
cmp edi, edx
jge 0x4e2852
mov ecx, dword [ecx + 8]
jmp 0x4e2861
cmp byte [esi + 0xd], 0
je 0x4e285d
cmp edx, edi
cmovl esi, ecx
mov ebx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4e2846
mov edi, dword [ebp - 4]
cmp byte [esi + 0xd], 0
jne 0x4e2872
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4e288c
cmp edx, dword [eax + 0x10]
jge 0x4e2883
mov esi, eax
mov eax, dword [eax]
jmp 0x4e2886
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
je 0x4e2878
mov eax, ebx
cmp ebx, esi
je 0x4e28d2
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x4e28b8
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e28b4
cmp eax, dword [ecx + 8]
jne 0x4e28b4
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4e28a4
mov eax, ecx
jmp 0x4e28ce
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x4e28ce
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x4e28c2
cmp eax, esi
jne 0x4e2892
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x10]
push esi
push ebx
push eax
call fcn.004e24d0
mov ebx, dword [ebp + 0xc]
jmp 0x4e28f9
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.004e1e30
push 0
push ebx
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e2c30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
test eax, eax
je 0x4e2c77
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x4e2cac
mov eax, dword [esi + 8]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
xor ecx, ebp
pop edi
mov eax, esi
pop esi
call fcn.0047f941
mov esp, ebp
pop ebp
ret 0x10
push 0xd
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baseoswinWinHook.cxx
push str._next__next__getHookType____hookType
lea ecx, [ebp - 0x154]
call fcn.00428f10
push eax
call fcn.00428f90
int3

Function at 0x4e2d30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525f90
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, esi
jne 0x4e2d9e
mov eax, dword [esi + 8]
push dword [esi + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047f941
mov esp, ebp
pop ebp
ret
push 0x14
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baseoswinWinHook.cxx
push str.pThrInst__this
lea ecx, [ebp - 0x160]
call fcn.00428f10
push eax
call fcn.00428f90
int3
Function at 0x4e45d0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526223
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x56c36c]
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 fs:[0x2c]
mov ecx, dword [0x571b70]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x572f94]
cmp eax, dword [ecx + 4]
jg 0x4e47a6
mov eax, dword [0x572f8c]
test eax, eax
je 0x4e4784
lea ecx, [ebp - 0x2a4]
push ecx
push edi
call eax
test eax, eax
je 0x4e4800
push dword [ebp - 0x2a4]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x4e4828
lea eax, [ebp - 0x2ac]
push eax
push edi
call dword [0x572f8c]
test eax, eax
je 0x4e4773
mov eax, dword [ebp - 0x2a4]
cmp eax, dword [ebp - 0x2ac]
jne 0x4e4773
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 2
push eax
push 0x20008
push esi
mov dword [ebp - 0x2a0], 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4e46cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x52e44c
jmp 0x4e480c
xor eax, eax
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a0]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4e46f3
push ecx
lea ecx, [ebp - 0x2a8]
call fcn.0042bb20
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4e4753
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4e4753
push dword [ebp - 0x2a8]
call fcn.0047f232
mov eax, dword [ebp - 0x2a0]
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2a0], 0
test eax, eax
je 0x4e4734
push eax
call edi
push esi
call 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.0047f941
mov esp, ebp
pop ebp
ret
push str.I_refuse_to_connect:_endpoint_had_unexpected_identity
lea ecx, [ebp - 0x29c]
call fcn.0040e5c0
push 0x558f70
lea eax, [ebp - 0x29c]
jmp 0x4e4822
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.process_sync_failed_w_GetNamedPipeServerProcessId
jmp 0x4e480c
push str.GetNamedPipeServerProcessId
push str.Kernel32
lea ecx, [ebp - 0x29c]
call fcn.00411280
push 0x559764
lea eax, [ebp - 0x29c]
jmp 0x4e4822
push 0x572f94
call fcn.0047f835
add esp, 4
cmp dword [0x572f94], 0xffffffff
jne 0x4e4624
push 0
push str.GetNamedPipeServerProcessId
push str.Kernel32
mov ecx, 0x572f8c
mov dword [ebp - 4], 0
call fcn.0042cd30
push 0x528590
call fcn.0047f612
push 0x572f94
mov dword [ebp - 4], 0xffffffff
call fcn.0047f7eb
add esp, 8
jmp 0x4e4624
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetNamedPipeServerProcessId
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x158]
push str.OpenProcess__lu_
push eax
call fcn.0040e910
add esp, 0x10
lea eax, [ebp - 0x158]
push 0x559658
push eax
call fcn.00480e30
int3
Function at 0x4e4910
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52625b
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x360], esi
mov dword [ebp - 0x370], esi
mov dword [esi], 0
lea eax, [ebp - 0x360]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x360], 0x101
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x4e4985
cmp byte [ebp + 8], al
jne 0x4e49e4
mov word [ebp - 0x214], ax
push 1
push 0xffffffffffffffff
push 0xfde9
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x36c]
call fcn.00411420
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x36c], 0
mov dword [esi], ecx
push 0
call fcn.0047f232
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047f941
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetUserName
lea ecx, [ebp - 0x35c]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x35c]
push eax
call fcn.00480e30
int3

Function at 0x4e5a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5264a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
lea esi, [ecx + 8]
mov edx, dword [ecx + 4]
test eax, eax
je 0x4e5a76
mov byte [eax], 0
push dword [ebp + 8]
push 0x5c
push edx
push str._s_c_s
push esi
call fcn.00407700
add esp, 0x14
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.0040da20
push 0
push 1
push dword [eax]
mov dword [ebp - 4], 0
call fcn.00410dc0
push dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0047f232
add esp, 0x10
lea ecx, [ebp - 0x28]
push 0
push dword [esi]
call fcn.004f27d0
push dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
push 1
mov dword [ebp - 4], 1
push dword [eax]
push dword [eax + 4]
call fcn.004a2384
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.004f28f0
lea ecx, [ebp - 0x28]
call fcn.004f2880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4f0c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526840
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
push 0x52e444
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0042b5e0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042aa00
push dword [ebp - 0x10]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0042b190
push dword [ebp - 0x18]
mov bl, al
call fcn.0047f232
push dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0047f232
add esp, 8
test bl, bl
jne 0x4f0d40
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], bl
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.0042a7b0
push 0xa
push 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
push str.open
push 0
mov dword [ebp - 0x14], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x4f0d40
mov bl, 1
jmp 0x4f0d42
xor bl, bl
test byte [ebp - 0x14], 1
je 0x4f0d77
cmp byte [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 4
je 0x4f0d6e
test ecx, ecx
je 0x4f0d6e
mov eax, dword [ebp - 0x24]
add eax, eax
push eax
push ecx
call fcn.00408000
mov ecx, dword [ebp - 0x20]
add esp, 8
push ecx
call fcn.0047f232
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f0f10
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52692c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], vtable.plat::Thread.0
call fcn.00407040
add esp, 8
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0xc]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x14]
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 1
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 2
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
call fcn.004f0d90
push esi
push 4
push edi
push 0x4f19d0
push 0
push 0
mov byte [ebp - 4], 3
mov dword [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x529af8
push 0x529af8
push dword [esi]
mov dword [edi + 4], eax
push dword [edi + 8]
push str.created
push str.__9s__s__x_s_s
push dword [0x56ea2c]
push 0x572fe0
call fcn.0040ccf0
add esp, 0x20
call fcn.004f1360
cmp dword [eax], 0
je 0x4f1055
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [edi + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0042a7b0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004f1360
push esi
push dword [edi + 4]
mov eax, dword [eax]
call eax
cmp byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 6
je 0x4f104c
test ecx, ecx
je 0x4f104c
mov eax, dword [ebp - 0x1c]
add eax, eax
push eax
push ecx
call fcn.00408000
mov ecx, dword [ebp - 0x18]
add esp, 8
push ecx
call fcn.0047f232
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4f14e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526a10
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x14]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x2c], 0
lea ebx, [edi + 4]
mov dword [ebp - 4], 0
jne 0x4f152f
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp byte [edi + 0x30], 0
jne 0x4f163f
mov eax, dword [edi + 0x2c]
cmp eax, 4
je 0x4f163f
cmp eax, 3
jne 0x4f1551
mov bl, 1
jmp 0x4f1641
push 0x529af8
push 0x529af8
push dword [edi + 0xc]
push dword [edi + 8]
push str.join
push str.__9s__s__x_s_s
push dword [0x56ea2c]
push 0x572fe0
call fcn.0040ccf0
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp + 8]
mov ecx, ebx
call fcn.004f1be0
test al, al
jne 0x4f15dd
push 0x529af8
push 0x529af8
push dword [edi + 0xc]
push dword [edi + 8]
push str.timeout
push str.__9s__s__x_s_s
push dword [0x56ea2c]
push 0x572fe0
call fcn.0040ccf0
add esp, 0x20
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x529af8
push 0x529af8
push dword [edi + 0xc]
mov dword [ebp - 4], 1
push dword [edi + 8]
mov dword [edi + 0x2c], 3
push str.joined
push str.__9s__s__x_s_s
push dword [0x56ea30]
push 0x572fe0
call fcn.0040ccf0
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4f1870
Capabilities:
Resume thread

Disassembly:
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x2c], 0
jne 0x4f1894
push dword [edi + 4]
mov dword [edi + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret
Function at 0x4f18a0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526a90
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x56c36c]
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 dword [ebp - 0x10], esp
mov edi, ecx
push edi
push dword [0x572ffc]
mov dword [ebp - 0x118], edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x529af8
push 0x529af8
push dword [edi + 0xc]
push dword [edi + 8]
push str.started
push str.__9s__s__x_s_s
push dword [0x56ea2c]
push 0x572fe0
call fcn.0040ccf0
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
mov dword [ebp - 4], 0
call dword [eax + 4]
push 0x529af8
push 0x529af8
push dword [edi + 0xc]
push dword [edi + 8]
push str.stopped
push str.__9s__s__x_s_s
push dword [0x56ea2c]
push 0x572fe0
call fcn.0040ccf0
add esp, 0x20
jmp 0x4f1984
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x30], 0
mov dword [edi + 0x2c], 2
push esi
jne 0x4f19a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4f19b2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
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 - 0x14]
xor ecx, ebp
call fcn.0047f941
mov esp, ebp
pop ebp
ret
Function at 0x4f1c50
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526bc3
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x56c36c]
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 dword [ebp - 0x164], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0xc]
mov dword [ebp - 0x16c], edi
mov ecx, esi
mov dword [edi], vtable.io::Io.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x168], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00406750
mov dword [esi], eax
lea eax, [edi + 0x14]
mov dword [ebp - 4], 0
lea ebx, [edi + 0x18]
mov dword [eax], vtable.plat::Timer::Callback.0
mov dword [ebx], vtable.os::HandleInStream::Callback.0
mov dword [edi + 0x1c], vtable.os::HandleOutStream::Callback.0
mov dword [edi], vtable.os::HandleIo.1.0
mov dword [eax], vtable.os::HandleIo.2.0
mov dword [ebx], vtable.os::HandleIo.3.0
mov dword [edi + 0x1c], vtable.os::HandleIo.0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov word [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], 0
lea esi, [edi + 0x70]
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebp - 0x168]
mov byte [ebp - 4], 6
test eax, eax
je 0x4f1e0c
cmp dword [edi + 0x20], 0
jne 0x4f1e2c
push 0x5c
mov dword [edi + 0x20], eax
call fcn.0047f1f4
add esp, 4
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4f1dc3
push 0
push 0xffffffffffffffff
push ebx
push dword [edi + 0x20]
mov ecx, eax
call fcn.004f2c90
jmp 0x4f1dc5
xor eax, eax
push 0x64
mov byte [ebp - 4], 6
mov dword [edi + 4], eax
call fcn.0047f1f4
add esp, 4
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4f1df6
push 0xffffffffffffffff
lea ecx, [edi + 0x1c]
push ecx
push dword [edi + 0x20]
mov ecx, eax
call fcn.004f3390
jmp 0x4f1df8
xor eax, eax
push dword [edi + 0x20]
mov dword [edi + 8], eax
push str._handle__p_
push esi
call fcn.00407700
add esp, 0xc
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.0047f941
mov esp, ebp
pop ebp
ret 4
push 0x1c
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baseoswinHandleIo.cxx
push 0x54a698
lea ecx, [ebp - 0x160]
call fcn.00428f10
push eax
call fcn.00428f90
int3
Function at 0x4f31b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
cmp byte [esi + 0x58], 0
jne 0x4f3239
lea eax, [esi + 0x40]
push eax
push 0
push dword [ebp + 0xc]
push ecx
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4f321f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4f3256
cmp byte [esi + 0x30], 0
mov byte [esi + 0x58], 1
je 0x4f3210
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f941
mov esp, ebp
pop ebp
ret 8
push dword [esi + 0x2c]
lea ecx, [esi + 0x54]
call fcn.004f1be0
test al, al
je 0x4f3261
push 1
mov ecx, esi
call fcn.004f2ff0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047f941
mov esp, ebp
pop ebp
ret 8
push 0x43
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baseoswinHandleInStream.cxx
push str._pending
lea ecx, [ebp - 0x154]
call fcn.00428f10
push eax
call fcn.00428f90
push eax
push 0x54a998
call fcn.004f3320
push str.Timed_out
lea ecx, [ebp - 0x148]
call fcn.004f2e10
push 0x569a00
lea eax, [ebp - 0x148]
push eax
call fcn.00480e30
int3

Function at 0x4f3b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x56c36c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
je 0x4f3c68
cmp dword [esi + 0x58], 0
jne 0x4f3c68
xor eax, eax
mov dword [ebp - 0x158], ebx
test edi, edi
lea ecx, [esi + 0x4c]
push 0
cmovg eax, edi
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00417f40
lea eax, [esi + 0x34]
push eax
push 0
push edi
push ebx
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4f3c50
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x3e5
je 0x4f3c50
push 0x148
call fcn.0047f1f4
mov edi, eax
add esp, 4
mov dword [ebp - 0x158], edi
test edi, edi
je 0x4f3c06
call ebx
push eax
push 0x54ab1c
mov ecx, edi
call fcn.00402910
jmp 0x4f3c08
xor eax, eax
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x5c], eax
test ecx, ecx
je 0x4f3c18
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp + 0x10]
mov ecx, esi
call fcn.004f3900
mov eax, dword [esi + 0x5c]
add eax, 4
push eax
push 0x5299c0
push 0x573044
call fcn.004172b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f941
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, edi
mov dword [esi + 0x58], edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047f941
mov esp, ebp
pop ebp
ret 0xc
push 0x67
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baseoswinHandleOutStream.cxx
push str.length___outstandingWrite__
lea ecx, [ebp - 0x154]
call fcn.00428f10
push eax
call fcn.00428f90
int3
Function at 0x4f5560
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
xor eax, eax
pop ebp
ret