joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b6ff
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push esi
push edi
push 2
push dword [0x4af738]
call fcn.0040319c
push eax
call fcn.00415ed9
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45b866
mov eax, dword [0x4adad0]
push ebx
push ebp
push 1
mov ebp, 0x4adad0
push ebp
call dword [eax + 0x44]
push 8
push dword [0x4af738]
call fcn.00403019
push 7
push dword [0x4af738]
mov byte [esp + 0x2c], al
call fcn.00403019
push 1
push dword [0x4af738]
mov byte [esp + 0x38], al
call fcn.0040319c
push 0
push dword [0x4af738]
mov esi, eax
call fcn.004032a4
push dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
push dword [esp + 0x44]
push ecx
push esi
push eax
push dword [0x4af738]
push dword [0x4af73c]
push 0x4aec14
push ebp
push edi
call dword [edi]
mov ebx, eax
add esp, 0x50
test ebx, ebx
jne 0x45b898
and dword [0x4b0c78], eax
xor edi, edi
and dword [0x4b0c74], eax
push 0x66
push dword [0x4af738]
call fcn.004032a4
mov esi, eax
pop ecx
pop ecx
cmp byte [esi], bl
jne 0x45b7e3
push dword [0x48567c]
push dword [esp + 0x14]
push str._s____s
call fcn.0044dc6c
mov edi, eax
add esp, 0xc
mov esi, edi
push dword [esp + 0x10]
call fcn.0040dab8
mov eax, dword [0x4b0c7c]
mov ebx, 0x4b0c7c
push esi
push ebx
call dword [eax + 0x38]
mov eax, dword [0x4b0c7c]
push esi
push ebx
call dword [eax + 0x3c]
push dword [0x4aec14]
push dword [0x4af740]
call fcn.0044b294
push ebp
push dword [0x4aec14]
push dword [0x4af740]
push dword [0x4af738]
call fcn.0040b858
add esp, 0x2c
mov dword [0x4aec10], eax
xor esi, esi
push 0
push pe_nt_image_headers32
push dword [esi + 0x4af72c]
call dword [sym.imp.USER32.dll_DeleteMenu]
add esi, 4
cmp esi, 8
jb 0x45b838
push edi
mov byte [0x4aebfa], 0
call fcn.0040dab8
pop ecx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xc
ret
push dword [0x48567c]
push str._s_Internal_Error
call fcn.0044dc6c
pop ecx
pop ecx
push 0x30
mov esi, eax
push esi
push str.Unsupported_protocol_number_found
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040dab8
pop ecx
push 1
call fcn.00458f94
push dword [0x48567c]
push str._s_Error
call fcn.0044dc6c
pop ecx
pop ecx
push ebx
push dword [0x4af738]
mov edi, eax
call fcn.0040f983
pop ecx
push eax
push str.Unable_to_open_connection_to_n_s_n_s
call fcn.0044dc6c
push ebx
mov esi, eax
call fcn.0040dab8
add esp, 0x10
push 0x10
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.0040dab8
push esi
call fcn.0040dab8
pop ecx
pop ecx
push 0
call fcn.00475525
int3
Function at 0x45bbbe
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
cmp dword [esp + 4], 2
jne 0x45bc73
push ebx
mov ebx, dword [esp + 0x10]
push esi
lea eax, [ebx + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45bc71
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x45bc70
push ebp
push ebx
push dword [esp + 0x1c]
push edi
call fcn.004667d0
add esp, 0xc
mov byte [edi + ebx], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov bl, byte [esp + 0x20]
mov ebp, 0x8002
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
jne 0x45bc30
push 0
push 1
push ebp
push dword [0x4adacc]
call edi
push dword [0x4adacc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45bc57
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x45bc5e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test bl, bl
jne 0x45bc6f
push 0
push 0
push ebp
push dword [0x4adacc]
call edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45ca78
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0
push 0x1028
push 1
call fcn.0040dbd9
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edi, eax
xor eax, eax
push eax
push eax
push eax
lea ebx, [edi + 4]
mov dword [edi], eax
push eax
mov dword [ebx], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 8], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1024], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [0x4b0cf4]
mov word [edi + 0x11], 0
mov byte [edi + 0x10], 0
test eax, eax
jne 0x45caf1
push 0x45c83b
call fcn.0044d68b
pop ecx
mov dword [0x4b0cf4], eax
push edi
push eax
call fcn.0044ca16
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push ebx
push 0x45cb1b
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [edi + 0x13], 1
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cc91
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
xor esi, esi
push ebp
push 0x1028
inc esi
push esi
call fcn.0040dbd9
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edi, eax
push ebp
push ebp
push ebp
mov dword [edi], esi
lea ebx, [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebp
mov dword [ebx], ecx
call esi
push ebp
push ebp
push ebp
push ebp
mov dword [edi + 8], eax
call esi
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x2c]
push eax
call fcn.0044db03
mov eax, dword [esp + 0x20]
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [0x4b0cf4]
mov dword [edi + 0x40], ebp
pop ecx
test eax, eax
jne 0x45cd0f
push 0x45c83b
call fcn.0044d68b
pop ecx
mov dword [0x4b0cf4], eax
push edi
push eax
call fcn.0044ca16
pop ecx
pop ecx
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
push 0x45cd34
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x45d147
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
sub esp, 0x118
mov eax, dword [0x4adadc]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push esi
xor ebx, ebx
push edi
or edi, 0xffffffff
mov esi, ebx
cmp byte [0x4b0cff], bl
jne 0x45d296
lea eax, [esp + 0x18]
mov byte [0x4b0cff], 1
push eax
push 0x106
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x45d296
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push ebx
push eax
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
lea eax, [esp + 0x28]
movlpd qword [esp + 0x1c], xmm0
push eax
push str._sputty__lu__llu.chm
call fcn.0044dc6c
add esp, 0x14
mov esi, eax
push ebx
push 0x80
push 1
push ebx
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45d23f
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x45d295
push esi
call fcn.0040dab8
mov eax, dword [esp + 0x14]
add eax, 1
mov dword [esp + 0x14], eax
adc ebp, ebx
push ebp
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push str._sputty__lu__llu.chm
call fcn.0044dc6c
add esp, 0x18
mov esi, eax
push ebx
push 0x80
push 1
push ebx
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x45d1e5
mov eax, dword [0x4b0d00]
mov ebp, ebx
mov ecx, dword [0x4b0d04]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x45d284
push ebx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push edx
sub eax, ebp
push eax
lea eax, [ecx + ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45d2c3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc eax
add ebp, eax
mov eax, dword [0x4b0d00]
cmp ebp, eax
jb 0x45d254
mov dword [0x4b0cf8], esi
mov esi, ebx
mov byte [0x4b0cfc], 1
mov bl, 1
pop ebp
push esi
call fcn.0040dab8
pop ecx
cmp edi, 0xffffffff
je 0x45d2a9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x120]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004659d6
add esp, 0x118
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x45d295
Function at 0x45e073
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [0x4b1528], bl
jne 0x45e0bf
push str.secur32.dll
call fcn.0045e226
mov esi, eax
mov dword [esp], str.sspicli.dll
call fcn.0045e226
pop ecx
test esi, esi
je 0x45e0af
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x45e0b1
mov eax, ebx
mov dword [0x4b1538], eax
mov byte [0x4b1528], 1
jmp 0x45e0c4
mov eax, dword [0x4b1538]
test eax, eax
je 0x45e11a
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push ecx
push ebx
push 8
call eax
push ebx
push 1
push dword [ebp - 4]
call fcn.0040dbd9
add esp, 0xc
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push 8
call dword [0x4b1538]
test al, al
setne bl
test bl, bl
je 0x45e10d
push pe_nt_image_headers32
push edi
call fcn.004672d0
pop ecx
pop ecx
test eax, eax
je 0x45e114
mov byte [eax], 0
jmp 0x45e114
push edi
call fcn.0040dab8
pop ecx
test bl, bl
jne 0x45e15f
xor ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 4]
push eax
push ebx
mov dword [ebp - 4], ebx
call esi
mov ecx, dword [ebp - 4]
test eax, eax
mov edx, 0x100
push ebx
cmove ecx, edx
push 1
push ecx
mov dword [ebp - 4], ecx
call fcn.0040dbd9
add esp, 0xc
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
setne bl
test bl, bl
jne 0x45e15f
push edi
call fcn.0040dab8
pop ecx
xor eax, eax
test bl, bl
cmovne eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45e226
Capabilities:
Get common file path

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [0x4b152c], edi
jne 0x45e270
push dword [0x4b1530]
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
jmp 0x45e266
push edi
push 1
push eax
push 1
push 0x4b1530
push dword [0x4b152c]
call fcn.0040dac4
add esp, 0x18
mov dword [0x4b152c], eax
push dword [0x4b1530]
push eax
call esi
cmp eax, dword [0x4b1530]
jae 0x45e241
push edi
push dword [esp + 0x10]
push 0x49acb8
push dword [0x4b152c]
call fcn.0044dbed
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.0040dab8
pop ecx
mov eax, edi
pop edi
pop esi
ret
Function at 0x45e2fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp + 8], eax
xor bl, bl
xor edi, edi
cmp dword [ebp + 0xc], esi
je 0x45e32d
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x45e3a3
mov eax, dword [ebp + 8]
inc bl
lea ecx, [ebp - 4]
push ecx
push 0
lea ecx, [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e396
cmp dword [ebp + 0xc], 1
jne 0x45e396
push eax
mov eax, dword [ebp - 4]
inc eax
push 1
push eax
call fcn.0040dbd9
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e396
cmp dword [ebp + 0xc], 1
jne 0x45e396
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x45e396
mov byte [eax + esi], 0
mov edi, esi
xor esi, esi
test bl, bl
je 0x45e3a3
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0040dab8
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460589
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x4adadc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push edi
push 0x107
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x12c]
push 0x4a12ac
push eax
call fcn.0046e7e0
pop ecx
pop ecx
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x46060a
lea eax, [ebp - 0x26c]
push 0x140
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x26c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4605e1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x270]
push 4
push eax
call esi
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004607f3
add esp, 0x10
test al, al
je 0x460649
lea eax, [ebp - 0x24]
push 0x20
push eax
call esi
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0045e53c
add esp, 0x10
push esi
call fcn.00462c67
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004659d6
mov esp, ebp
pop ebp
ret

Function at 0x460660
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4adadc]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
push 9
call fcn.00438a50
add esp, 0xc
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
push 0xa
call fcn.00438a50
add esp, 0xc
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
push 0xb
call fcn.00438a50
add esp, 0xc
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push 4
push eax
push 0xc
call fcn.00438a50
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 8
lea eax, [ebp - 0x54]
push eax
push 0xd
call fcn.00438a50
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x20
lea eax, [ebp - 0x44]
push eax
push 6
call fcn.00438a50
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0xe
call fcn.00438a50
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0xf
call fcn.00438a50
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
call fcn.004659d6
mov esp, ebp
pop ebp
ret
Function at 0x4608d3
Capabilities:
Compare security identifiers

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 9
push str..pipe_
push esi
call fcn.0046e8d0
add esp, 0xc
mov edi, str...windowswinnpc.c
test eax, eax
je 0x460905
push 0x18
push edi
push str.strncmp_pipename___.pipe___9___0
call fcn.0046a02e
add esp, 0xc
lea eax, [esi + 9]
push 0x5c
push eax
call fcn.004672d0
pop ecx
pop ecx
test eax, eax
je 0x460926
push 0x19
push edi
push str.strchr_pipename__9_____NULL
call fcn.0046a02e
add esp, 0xc
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor eax, eax
push eax
push 0x40000000
push 3
push eax
push eax
push 0xc0000000
push esi
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x460971
call ebx
cmp eax, 0xe7
jne 0x4609b3
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x4609a2
push edi
push 0x40000000
push 3
push edi
push edi
push 0xc0000000
push esi
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x460948
call fcn.004617e4
mov ebp, eax
test ebp, ebp
jne 0x4609d5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push eax
call fcn.0045e42b
push eax
push str.Unable_to_get_user_SID:__s
call fcn.0044dc6c
add esp, 0xc
jmp 0x4609ca
call ebx
push eax
call fcn.0045e42b
push eax
push esi
push str.Error_waiting_for_named_pipe__s:__s
jmp 0x4609c2
call ebx
push eax
call fcn.0045e42b
push eax
push esi
push str.Unable_to_open_named_pipe__s:__s
call fcn.0044dc6c
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
or eax, 0xffffffff
jmp 0x460a45
lea eax, [esp + 0x18]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
push 1
push 6
push edi
call dword [0x4b2794]
test eax, eax
je 0x460a0a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push eax
call fcn.0045e42b
push eax
push str.Unable_to_get_named_pipe_security_information:__s
jmp 0x460998
push ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x460a39
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
push str.Owner_of_named_pipe__s_is_not_us
call fcn.0044dc6c
pop ecx
pop ecx
jmp 0x4609ca
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x460b03
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0xc
pop esi
push esi
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.00467540
and dword [ebp - 4], 0
add esp, 0xc
cmp byte [ebp + 0xc], 0
mov ecx, 0x40080003
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, 0x1000
push eax
push eax
push 0xff
push 8
mov eax, 0x40000003
cmovne eax, ecx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
xor ecx, ecx
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
pop esi
setne al
mov esp, ebp
pop ebp
ret
Function at 0x460b83
Capabilities:
Connect pipe

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
cmp byte [esp + 0x14], 0
je 0x460b9e
mov byte [esp + 0x14], 0
jmp 0x460bc7
lea eax, [ebx + 0x10]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x460bc7
call esi
mov edi, eax
cmp edi, 0x3e5
je 0x460c2c
test edi, edi
je 0x460bc7
cmp edi, 0x217
jne 0x460bf9
mov eax, dword [ebx + 0x28]
mov edi, dword [ebx + 0xc]
push edi
push 0x460b6a
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
add esp, 0xc
test eax, eax
je 0x460be7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebx
call fcn.00460b03
pop ecx
pop ecx
test al, al
jne 0x460b90
call esi
mov edi, eax
push edi
call fcn.0045e42b
push eax
push str.Error_while_listening_to_named_pipe:__s
call fcn.0044dc6c
push dword [ebx + 8]
mov esi, eax
call fcn.0045f69e
mov ecx, dword [ebx + 0x28]
push edi
push esi
push 0
mov edx, dword [ecx]
push eax
push 1
push ecx
call dword [edx]
push esi
call fcn.0040dab8
add esp, 0x2c
pop edi
pop esi
pop ebx
ret
Function at 0x460f19
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x418
mov eax, dword [0x4adadc]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x420]
and dword [esp + 0xc], 0
push ebx
push ebp
mov ebp, dword [esp + 0x424]
push esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x430]
push edi
mov dword [esp + 0x18], eax
xor edi, edi
call fcn.00460dcf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
push eax
call fcn.004608d3
mov ebx, eax
pop ecx
pop ecx
cmp ebx, 0xffffffff
je 0x46104b
push ebp
call fcn.0044e13d
mov eax, dword [ebp + 8]
xor esi, esi
pop ecx
test eax, eax
je 0x460fb0
push 0
lea ecx, [esp + 0x14]
sub eax, esi
push ecx
push eax
mov eax, dword [ebp]
add eax, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46104b
add esi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
cmp esi, eax
jb 0x460f86
mov ebp, dword [esp + 0x438]
test ebp, ebp
jne 0x461012
call fcn.0044e217
mov edi, eax
push 0
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46104b
push dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00460e40
mov esi, eax
add esp, 0xc
test esi, esi
je 0x460fc2
cmp esi, 0xffffffff
je 0x46104b
push edi
call fcn.0044e287
pop ecx
mov ecx, dword [esp + 0x14]
xor edi, edi
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov dword [eax], esi
jmp 0x461059
push 0
push 0x10
push 1
call fcn.0040dbd9
push 0
mov esi, eax
push esi
push 0x460e99
push ebx
call fcn.0045ca78
add esp, 0x1c
mov dword [esi], eax
xor ebx, ebx
call fcn.0044e217
mov dword [esi + 4], eax
mov eax, dword [esp + 0x43c]
mov dword [esi + 8], ebp
mov dword [esi + 0xc], eax
jmp 0x46105b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
and dword [ecx], 0
and dword [eax], 0
xor esi, esi
push dword [esp + 0x1c]
call fcn.0040dab8
push dword [esp + 0x24]
call fcn.0040dab8
pop ecx
pop ecx
cmp ebx, 0xffffffff
je 0x46107b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x461086
push edi
call fcn.0044e182
pop ecx
mov ecx, dword [esp + 0x424]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004659d6
add esp, 0x418
ret
Function at 0x4615ce
Capabilities:
Create pipe
Create process on windows
Create reverse shell

Disassembly:
sub esp, 0x78
push 0xd
push dword [esp + 0xa0]
call fcn.0040319c
pop ecx
pop ecx
cmp eax, 5
je 0x4615ed
xor eax, eax
jmp 0x4617e0
push ebx
push ebp
push esi
push edi
push dword [esp + 0xac]
push dword [esp + 0x98]
push dword [esp + 0x94]
call fcn.00413e18
push dword [esp + 0x98]
mov ebx, eax
call fcn.0045ede9
push ebx
push str.Starting_local_proxy_command:__s
call fcn.0044dc6c
mov edi, dword [esp + 0xc0]
xor ebp, ebp
push ebp
mov esi, eax
push esi
mov ecx, dword [edi]
push ebp
push ebp
push 3
push edi
call dword [ecx]
push esi
call fcn.0040dab8
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
lea eax, [esp + 0x5c]
add esp, 0x34
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 1
push ebp
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x46167c
push ebx
call fcn.0040dab8
pop ecx
jmp 0x4616e6
push ebp
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x4616ab
push ebx
call fcn.0040dab8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [esp + 0x14]
call esi
push dword [esp + 0x10]
jmp 0x4616e4
push ebp
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
call esi
test eax, eax
jne 0x461706
push ebx
call fcn.0040dab8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [esp + 0x14]
call esi
push dword [esp + 0x10]
call esi
push dword [esp + 0x24]
call esi
push dword [esp + 0x18]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045e42b
push eax
push str.Unable_to_create_pipes_for_proxy_command:__s
push edi
call fcn.0040b7b8
add esp, 0x10
jmp 0x4617dc
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push ebp
push 1
push dword [esp + 0x2c]
call esi
push ebp
push 1
push dword [esp + 0x1c]
call esi
cmp dword [esp + 0x20], ebp
je 0x46172d
push ebp
push 1
push dword [esp + 0x28]
call esi
xor eax, eax
mov dword [esp + 0x44], 0x44
mov word [esp + 0x76], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ebp
push eax
push ebp
push ebp
push 0x8000020
push 1
push ebp
push ebp
push ebx
push ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x98], 0x100
mov dword [esp + 0xa0], ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x38]
call esi
push ebx
call fcn.0040dab8
pop ecx
push dword [esp + 0x18]
call esi
push dword [esp + 0x10]
call esi
cmp dword [esp + 0x1c], ebp
je 0x4617c6
push dword [esp + 0x1c]
call esi
push ebp
push edi
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x34]
call fcn.0045d6ac
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret