joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45db20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, dword [ebp - 0xc]
xor ebx, ebx
cmp esi, dword [ebp - 0xc]
jge 0x45db8e
push 0
push edi
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45db85
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x45db8e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
jne 0x45db75
push 1
call sub.kernel32.dll_Sleep
jmp 0x45db89
push 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x45db89
add esi, ebx
sub edi, ebx
cmp esi, dword [ebp - 0xc]
jl 0x45db3e
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor edx, edx
mov eax, ebx
call fcn.0045e924
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45dc24
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, dword [ebp - 0xc]
xor ebx, ebx
cmp esi, dword [ebp - 0xc]
jge 0x45dc8c
push 0
push edi
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45dc83
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x45dc8c
cmp dword [ebp + 8], 0
jne 0x45dc76
push 1
call sub.kernel32.dll_Sleep
jmp 0x45dc87
push 1
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x45dc87
add esi, ebx
sub edi, ebx
cmp esi, dword [ebp - 0xc]
jl 0x45dc42
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor edx, edx
mov eax, ebx
call fcn.0045e924
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45de94
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
test ebx, ebx
je 0x45dea4
xor eax, eax
mov dword [ebx], eax
mov eax, ebx
call fcn.004046e0
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x45deea
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x45deea
push 1
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x45dee5
push esi
call sub.kernel32.dll_GlobalLock
mov edi, eax
mov eax, ebx
mov edx, edi
call fcn.004048d8
push esi
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45e9a4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b90
mov eax, dword [ebp - 8]
call fcn.00404b90
mov eax, dword [ebp + 8]
call fcn.00404b90
xor eax, eax
push ebp
push 0x45ea49
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ba0
push eax
push esi
call sub.advapi32.dll_RegCreateKeyA
mov eax, dword [ebp + 8]
call fcn.004049a0
push eax
mov eax, dword [ebp + 8]
call fcn.00404ba0
push eax
push 2
push 0
mov eax, dword [ebp - 8]
call fcn.00404ba0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x45ea1d
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ea50
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404704
lea eax, [ebp + 8]
call fcn.004046e0
ret

Function at 0x45ea5c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push ebp
push 0x45eadf
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
call sub.advapi32.dll_RegCreateKeyExA
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004048d8
mov eax, dword [ebp - 0xc]
call fcn.004049a0
inc eax
push eax
push ebx
push 1
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45eae6
lea eax, [ebp - 0xc]
call fcn.004046e0
ret

Function at 0x45eaf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x45eb0e
xor eax, eax
mov dword [ebx], eax
mov eax, ebx
call fcn.004046e0
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edi
push esi
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 0x114]
mov edx, 0x104
call fcn.00407984
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, ebx
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404950
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45eb90
Capabilities:
Delete registry value

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, ecx
xor ecx, ecx
mov dword [esp], ecx
mov dword [esp + 4], 2
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
call sub.advapi32.dll_RegCreateKeyExA
push ebx
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop ecx
pop edx
pop ebx
ret

Function at 0x45ebdc
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe8
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x45ec2c
lea eax, [esp + 0xc]
push eax
push 0x45ec30
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x18
ret

Function at 0x45ec44
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffd0
push esp
push 0xf00ff
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x45ecb8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x45ecaa
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
add esp, 0x30
ret

Function at 0x45ee94
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b90
mov eax, dword [ebp - 8]
call fcn.00404b90
mov eax, dword [ebp + 8]
call fcn.00404b90
xor eax, eax
push ebp
push 0x45ef39
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ba0
push eax
push esi
call sub.advapi32.dll_RegCreateKeyA
mov eax, dword [ebp + 8]
call fcn.004049a0
push eax
mov eax, dword [ebp + 8]
call fcn.00404ba0
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404ba0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x45ef0d
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ef40
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404704
lea eax, [ebp + 8]
call fcn.004046e0
ret
Function at 0x45ef4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404b90
mov eax, dword [ebp - 8]
call fcn.00404b90
xor eax, eax
push ebp
push 0x45f021
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004046e0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404ba0
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404ba0
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404d2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00404bf8
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45eff5
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.00404734
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f028
lea eax, [ebp - 0x14]
call fcn.004046e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404704
ret

Function at 0x45f3d0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc0
mov edi, eax
push 0x14
lea eax, [edi + 0x4c]
mov ecx, 1
mov edx, dword [0x45f1c4]
call fcn.00405ca0
add esp, 4
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x45f430
push 0
lea eax, [edi + 0x4c]
mov ecx, 1
mov edx, dword [0x45f1c4]
call fcn.00405ca0
add esp, 4
cmp word [edi + 0x42], 0
je 0x45f470
xor edx, edx
mov eax, dword [edi + 0x44]
call dword [edi + 0x40]
jmp 0x45f470
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x45f44d
push dword [ebp]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, dword [edi + 0x4c]
lea eax, [eax + ebx*4]
call fcn.004048d8
inc ebx
mov ebp, dword [esi + ebx*4]
test ebp, ebp
je 0x45f459
cmp ebx, 0x14
jl 0x45f437
push ebx
lea eax, [edi + 0x4c]
mov ecx, 1
mov edx, dword [0x45f1c4]
call fcn.00405ca0
add esp, 4
add esp, 0x40
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45f478
Capabilities:
Create raw socket
Create tcp socket
Create udp socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov ebx, eax
lea ebp, [esp + 8]
mov eax, dword [ebx + 0x4c]
call fcn.00405aec
inc eax
je 0x45f57c
mov eax, dword [ebx + 0x4c]
call fcn.00405aec
inc eax
push eax
lea eax, [ebx + 0x48]
mov ecx, 1
mov edx, dword [0x45f1a0]
call fcn.00405ca0
add esp, 4
mov eax, dword [ebx + 0x4c]
call fcn.00405aec
mov edi, eax
test edi, edi
jl 0x45f57c
inc edi
xor esi, esi
push 0
push 3
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebx + 0x48]
mov dword [edx + esi*4], eax
mov word [ebp], 2
push esi
call sub.wsock32.dll_htons
mov word [ebp + 2], ax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + esi*4]
call fcn.00404ba0
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp + 4], eax
push 0x10
push ebp
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + esi*4]
push eax
call sub.wsock32.dll_bind
mov edx, eax
mov eax, ebx
call fcn.0045fa60
mov dword [esp], 1
xor eax, eax
mov dword [esp + 4], eax
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0x2c
lea eax, [esp + 0x28]
push eax
push 4
lea eax, [esp + 0x18]
push eax
push 0x98000001
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + esi*4]
push eax
call dword [ebx + 0x6c]
mov edx, eax
mov eax, ebx
call fcn.0045fa60
push 0x21
lea eax, [esi + 0x4c8]
push eax
mov eax, dword [ebx + 0x34]
push eax
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + esi*4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov edx, eax
mov eax, ebx
call fcn.0045fa60
inc esi
dec edi
jne 0x45f4c9
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45fc0c
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe70
mov edi, eax
mov bl, 1
cmp byte [edi + 0x7d], 0
jne 0x45fd53
push 0x45fd60
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 0x30], esi
test esi, esi
jne 0x45fc3d
xor ebx, ebx
jmp 0x45fd53
push 0x45fd6c
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x50], eax
push 0x45fd78
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x54], eax
push 0x45fd80
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x58], eax
push 0x45fd8c
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x5c], eax
push 0x45fd94
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x60], eax
push 0x45fd9c
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x64], eax
push 0x45fda8
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x68], eax
push 0x45fdb0
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x6c], eax
push 0x45fdbc
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x70], eax
push 0x45fdc4
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x74], eax
push 0x45fdd0
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x78], eax
cmp dword [edi + 0x50], 0
je 0x45fd3a
cmp dword [edi + 0x5c], 0
je 0x45fd3a
cmp dword [edi + 0x60], 0
je 0x45fd3a
cmp dword [edi + 0x68], 0
je 0x45fd3a
cmp dword [edi + 0x74], 0
je 0x45fd3a
cmp dword [edi + 0x54], 0
je 0x45fd3a
cmp dword [edi + 0x58], 0
je 0x45fd3a
cmp dword [edi + 0x64], 0
je 0x45fd3a
mov eax, sub.wsock32.dll_recv
test eax, eax
je 0x45fd3a
cmp dword [edi + 0x6c], 0
je 0x45fd3a
cmp dword [edi + 0x78], 0
jne 0x45fd3e
xor ebx, ebx
jmp 0x45fd53
push esp
push 0x201
call dword [edi + 0x50]
test eax, eax
je 0x45fd4f
xor ebx, ebx
jmp 0x45fd53
mov byte [edi + 0x7d], 1
mov eax, ebx
add esp, 0x190
pop edi
pop esi
pop ebx
ret
Function at 0x45feac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
mov edx, 0x460098
call fcn.00404734
lea eax, [ebp - 0xc0]
push eax
call sub.kernel32.dll_GetSystemInfo
xor eax, eax
push ebp
push 0x460077
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x9c]
call fcn.004601a8
test al, al
jne 0x45fefc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460088
mov eax, dword [ebp - 0x98]
sub eax, 4
je 0x45ff16
dec eax
je 0x45ff60
dec eax
je 0x460005
jmp 0x46006d
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x45ff2d
je 0x45ff3e
sub eax, 8
je 0x45ff4f
jmp 0x46006d
mov eax, ebx
mov edx, 0x4600a8
call fcn.00404734
jmp 0x46006d
mov eax, ebx
mov edx, 0x4600b8
call fcn.00404734
jmp 0x46006d
mov eax, ebx
mov edx, 0x4600c8
call fcn.00404734
jmp 0x46006d
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x45ff75
je 0x45ff9d
dec eax
je 0x45ffae
jmp 0x46006d
cmp byte [ebp - 2], 1
jne 0x45ff8c
mov eax, ebx
mov edx, 0x4600d8
call fcn.00404734
jmp 0x46006d
mov eax, ebx
mov edx, 0x4600e8
call fcn.00404734
jmp 0x46006d
mov eax, ebx
mov edx, 0x460100
call fcn.00404734
jmp 0x46006d
cmp byte [ebp - 2], 1
jne 0x45ffca
cmp word [ebp - 0xc0], 9
jne 0x45ffca
mov eax, ebx
mov edx, 0x460110
call fcn.00404734
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x45ffe3
mov eax, ebx
mov edx, 0x460120
call fcn.00404734
jmp 0x45ffef
mov eax, ebx
mov edx, 0x460130
call fcn.00404734
cmp word [ebp - 4], 0x8000
jne 0x46006d
mov eax, ebx
mov edx, 0x460144
call fcn.00404734
jmp 0x46006d
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x460017
je 0x460039
dec eax
je 0x46005b
jmp 0x46006d
cmp byte [ebp - 2], 1
jne 0x46002b
mov eax, ebx
mov edx, 0x46015c
call fcn.00404734
jmp 0x46006d
mov eax, ebx
mov edx, 0x46016c
call fcn.00404734
jmp 0x46006d
cmp byte [ebp - 2], 1
jne 0x46004d
mov eax, ebx
mov edx, 0x46017c
call fcn.00404734
jmp 0x46006d
mov eax, ebx
mov edx, 0x46018c
call fcn.00404734
jmp 0x46006d
cmp byte [ebp - 2], 1
jne 0x46006d
mov eax, ebx
mov edx, 0x4601a0
call fcn.00404734
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460088
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460590
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4605ad
add esp, 0xfffffff0
call fcn.00403bf4
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x460669
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov esi, edi
lea edi, [ebx + 0x44]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x4a3760]
mov edx, 0x1a1
call fcn.00407984
mov byte [esi], 1
lea eax, [ebx + 4]
mov edx, dword [ebp + 0xc]
call fcn.00404734
mov ax, word [ebp + 8]
mov word [ebx + 8], ax
lea eax, [ebp - 0x198]
push eax
mov dl, 2
mov al, 2
call fcn.00407940
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x46061c
call sub.wsock32.dll_WSACleanup
mov byte [esi], 0
jmp 0x460653
mov word [0x4a4fe8], 2
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.0045d548
mov eax, dword [ebp - 8]
call fcn.00404ba0
push eax
call sub.wsock32.dll_inet_addr
mov dword [0x4a4fec], eax
mov ax, word [ebx + 8]
push eax
call sub.wsock32.dll_htons
mov word [0x4a4fea], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460670
lea eax, [ebp - 8]
call fcn.004046e0
ret

Function at 0x460694
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
call fcn.00403c5c
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4606c6
push 0
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4606e4
push 0
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xc8
call sub.kernel32.dll_Sleep
xor eax, eax
push ebp
push 0x460714
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.wsock32.dll_shutdown
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46071e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.wsock32.dll_closesocket
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.ws2_32.dll_WSAEventSelect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.ws2_32.dll_WSACloseEvent
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x460779
call fcn.004027e0
mov dl, byte [ebp - 5]
and dl, 0xfc
mov eax, dword [ebp - 4]
call fcn.004038c0
cmp byte [ebp - 5], 0
jle 0x460795
mov eax, dword [ebp - 4]
call fcn.00403c44
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x466784
Capabilities:
Power down monitor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4667b8
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
push 0xf170
push 0x112
push 0xffff
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4667c2
mov eax, dword [0x4a35f0]
cmp byte [eax], 0
jne 0x46678a
xor eax, eax
push ebp
push 0x4667fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
push 0xf170
push 0x112
push 0xffff
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x466804
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x46a008
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46a036
mov eax, ebx
call fcn.0046aabc
cmp dword [ebx + 0x40], 0
je 0x46a02f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46a0a7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46a099
cmp dword [ebx + 8], 0
je 0x46a058
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46a06a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46a099
cmp dword [ebx + 8], 0
je 0x46a04b
cmp eax, 3
je 0x46a07d
dec eax
jne 0x46a04b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46a04b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46a04b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46a0c5
cmp dword [ebx + 0x14], 0xcc
je 0x46a0c5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046a0d0
pop ebx
ret
Function at 0x47a6f4
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffac
mov ebx, eax
jmp 0x47a7d6
mov eax, dword [esp + 8]
sub eax, 0x3c0
jne 0x47a7d6
mov eax, 0x434
call fcn.004027c0
mov esi, eax
lea eax, [esp + 0x20]
mov edx, 0x14
call fcn.00407984
lea edx, [esp + 0x20]
mov ecx, 0x14
mov eax, esi
call fcn.00407968
lea eax, [esp + 0x34]
mov edx, 0x20
call fcn.00407984
mov dword [esp + 0x3c], 9
mov dword [esp + 0x40], 0x400
lea edx, [esp + 0x34]
mov edi, esi
add edi, 0x14
mov eax, edi
mov ecx, 0x20
call fcn.00407968
mov dword [esp], 0x434
xor eax, eax
mov al, byte [ebx + 0x70]
mov edx, dword [ebx + eax*4 + 0x74]
mov eax, edi
add eax, 0x20
mov ecx, 0x400
call fcn.00407968
mov eax, dword [ebx + 0x18]
push eax
mov ecx, dword [esp + 4]
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.0045dba8
mov eax, esi
call fcn.004027e0
push 0x20
xor eax, eax
mov al, byte [ebx + 0x70]
add eax, 2
and eax, 3
shl eax, 2
lea eax, [ebx + eax*8 + 0x88]
push eax
mov eax, dword [ebx + 0x84]
push eax
call sub.winmm.dll_waveInAddBuffer
inc byte [ebx + 0x70]
cmp byte [ebx + 0x70], 4
jb 0x47a7d6
mov byte [ebx + 0x70], 0
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x47a701
push 0
call sub.kernel32.dll_ExitThread_1
add esp, 0x54
pop edi
pop esi
pop ebx
ret