joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404cd6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404100
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403248
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404cc0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404cdd
lea eax, [ebp - 0x10]
call fcn.00403ee8
ret

Function at 0x406144
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.00405fe4
dec esi
jne 0x406166
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040431c
xor eax, eax
push ebp
push 0x406d02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406d10
mov eax, dword [ebp - 4]
call fcn.0040432c
mov dword [ebx + 4], eax
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 0x14], eax
mov word [ebp - 0x18], 2
push esi
call sub.wsock32.dll_htons
mov word [ebp - 0x16], ax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebp - 0x14], esi
inc esi
jne 0x406cd9
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x406cec
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.wsock32.dll_connect
mov byte [ebx + 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d09
lea eax, [ebp - 4]
call fcn.00403ee8
ret

Function at 0x406d34
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, edx
mov dword [esp], 0x10
push esp
lea edx, [esp + 8]
push edx
mov eax, dword [eax + 0x14]
push eax
call sub.wsock32.dll_getsockname
push dword [esp + 8]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.004040c4
add esp, 0x14
pop ebx
ret
Function at 0x406e70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x406e79
mov eax, dword [esp + 0x8000]
add esp, 0xfffffff4
mov dword [esp], edx
mov edi, eax
xor eax, eax
mov ebx, dword [esp]
test ebx, ebx
je 0x406f61
cmp dword [edi + 0x14], 0xffffffff
je 0x406f61
cmp byte [edi + 0x10], 0
je 0x406f61
mov eax, ebx
call fcn.004061fc
mov dword [esp + 4], eax
lea edx, [esp + 0x10]
mov ecx, 0x8000
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 8]
mov esi, eax
test esi, esi
jle 0x406f5f
push 0
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x14]
push eax
call sub.wsock32.dll_send
mov dword [esp + 8], eax
cmp dword [esp + 8], 0xffffffff
jne 0x406f20
call sub.wsock32.dll_WSAGetLastError
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0x2733
je 0x406f10
mov eax, edi
call fcn.00406d10
jmp 0x406f5f
mov eax, dword [esp + 4]
cdq
push edx
push eax
mov eax, ebx
call fcn.0040621c
jmp 0x406f5f
cmp esi, dword [esp + 8]
jle 0x406f3d
mov eax, dword [esp + 4]
add eax, dword [esp + 8]
cdq
push edx
push eax
mov eax, ebx
call fcn.0040621c
jmp 0x406eb3
mov eax, ebx
call fcn.004061fc
push edx
push eax
mov eax, ebx
call fcn.00406230
cmp edx, dword [esp + 4]
jne 0x406f56
cmp eax, dword [esp]
pop edx
pop eax
je 0x406f5f
jmp 0x406eb3
mov al, 1
add esp, 0x8010
pop edi
pop esi
pop ebx
ret
Function at 0x4075a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x407709
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403f80
mov eax, dword [ebp - 0x10]
call fcn.004071e8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4075f2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004043cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407888
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4076c7
xor eax, eax
push ebp
push 0x4076c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00407358
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00407738
test al, al
je 0x40769e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403fd8
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x40769e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040432c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x407698
mov eax, dword [ebp - 0x14]
call fcn.0040432c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004040c4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004075a0
dec ebx
cmp ebx, 0xffffffff
jne 0x407651
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4076c7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00407358
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040432c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00407344
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407710
lea eax, [ebp - 0x3c]
call fcn.00403ee8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403f0c
ret
Function at 0x4076c7
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x407709
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403f80
mov eax, dword [ebp - 0x10]
call fcn.004071e8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4075f2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004043cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407888
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4076c7
xor eax, eax
push ebp
push 0x4076c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00407358
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00407738
test al, al
je 0x40769e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403fd8
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x40769e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040432c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x407698
mov eax, dword [ebp - 0x14]
call fcn.0040432c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004040c4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004075a0
dec ebx
cmp ebx, 0xffffffff
jne 0x407651
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4076c7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00407358
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040432c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00407344
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407710
lea eax, [ebp - 0x3c]
call fcn.00403ee8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403f0c
ret

Function at 0x407738
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.00402fd0
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
pop esi
pop ebx
ret
Function at 0x407ae8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407bff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00407358
xor eax, eax
push ebp
push 0x407bda
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00407738
test al, al
je 0x407bbe
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004079c8
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403fd8
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x407bbe
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040432c
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x407bba
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040432c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004040c4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004079c8
pop ecx
inc edi
dec ebx
jne 0x407b6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407be1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00407358
ret
Function at 0x407c10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x407e51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.00407358
xor eax, eax
push ebp
push 0x407e27
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00407738
test al, al
je 0x407e0b
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403fd8
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x407e0b
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x40]
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 - 0x14]
call fcn.0040432c
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x407dff
mov eax, dword [ebp - 0x14]
call fcn.0040432c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004040c4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00407888
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x407dff
xor eax, eax
push ebp
push 0x407df8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00407358
xor eax, eax
push ebp
push 0x407dda
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.0040432c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.004040c4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040735c
mov eax, dword [ebp - 0x14]
call fcn.0040432c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004040c4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00407888
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x407db7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00407ae8
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00407c10
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407dbe
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x407c9b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e2e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00407358
ret
Function at 0x408788
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x42186c
cmp dword [esi], 0
jne 0x40882e
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x421868]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x41f114
mov ecx, 2
call fcn.004029e4
mov edx, 0x408760
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00408780
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00408780
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x4087f5
mov eax, dword [ebp - 8]
mov dword [0x421868], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4089d0
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 0x408ae6
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 0x408af1
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
cmp word [eax + 0xa2], 0
je 0x408a74
mov eax, ebx
call fcn.00402894
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x408a6d
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.004029e4
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 0x408a74
mov eax, dword [ebp - 0xc]
call fcn.004028c4
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.004054ac
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 0x408af1
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 0x408af1
jmp 0x408af1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408cc4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408af8
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
je 0x408b23
mov eax, dword [ebx + 0xa8]
call fcn.00406ae8
jmp 0x408b89
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 0x408b89
movzx esi, byte [ebx + 0x91]
test esi, esi
jle 0x408b5d
mov eax, ebx
call fcn.00408c5c
dec esi
jne 0x408b53
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInStart
test eax, eax
jne 0x408b89
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
mov eax, dword [ebx + 0xa8]
call fcn.00406ae8
add esp, 0x84
pop edi
pop esi
pop ebx
ret
Function at 0x408c5c
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x20
call fcn.00402894
mov edi, eax
mov edx, edi
mov eax, dword [ebx + 8]
call fcn.0040800c
mov esi, edi
mov eax, dword [ebx + 0xc]
call fcn.00402894
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 0x408cbc
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 0x40927c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4093cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4093a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x4093e4
call fcn.00403f80
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403f3c
push 0
push 0
push 0
push 0
push 0x4093ec
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4092fd
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4093b5
push 0
push 0x84000002
push 0
push 0
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x409339
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4093b5
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1014]
xor ecx, ecx
mov edx, 0x1000
call fcn.00402fd0
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea eax, [ebp - 0x1014]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x409382
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x1014]
mov ecx, 0x1000
call fcn.00404100
jmp 0x40938d
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403f3c
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4093b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4093d2
lea eax, [ebp - 8]
call fcn.00403ee8
ret
Function at 0x409e2c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x409e7d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x409e64
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x409e54
jmp 0x409e7d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x409e65
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40caec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x70]
sub edi, dword [ebx + 0x68]
jmp 0x40cb1b
mov eax, dword [ebx + 0x28]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x68]
ja 0x40cb9a
push esi
mov eax, dword [ebx + 0x34]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0040b75c
add esp, 0xc
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x58], ebp
mov eax, dword [ebx + 0x48]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x40cb68
mov cx, word [esp]
sub cx, si
jmp 0x40cb6a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x40cb51
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x40cb90
mov cx, word [esp]
sub cx, si
jmp 0x40cb92
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x40cb79
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x40cbf7
mov edx, dword [ebx + 0x34]
mov ecx, edi
add edx, dword [ebx + 0x68]
mov eax, ebp
add edx, dword [ebx + 0x70]
call fcn.0040c7dc
add dword [ebx + 0x70], eax
cmp dword [ebx + 0x70], 3
jb 0x40cbe2
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x68]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebx + 0x54]
shl eax, cl
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x68]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x50]
mov dword [ebx + 0x44], eax
cmp dword [ebx + 0x70], 0x106
jae 0x40cbf7
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x40caf6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x411204
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], edx
mov edx, ecx
dec edx
test edx, edx
jl 0x41123d
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
xor ebx, dword [eax]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x420848]
mov esi, dword [eax]
shr esi, 8
and esi, 0xffffff
xor ebx, esi
mov dword [eax], ebx
inc ecx
dec edx
jne 0x411214
pop edx
pop esi
pop ebx
ret