joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a11d8
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov esi, 0x541f30
xor eax, eax
push ebp
push 0x4a130b
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
mov eax, esi
mov ecx, 1
mov edx, dword [0x4a07f8]
call fcn.00405f1c
add esp, 4
mov eax, dword [esi]
mov edx, 0x4a1324
call fcn.0040460c
mov eax, dword [esi]
mov dword [eax + 4], 0x541f08
mov eax, dword [esi]
add eax, 8
mov edx, 0x4a1340
call fcn.0040460c
mov eax, dword [esi]
mov dword [eax + 0xc], 0x541f0c
mov eax, dword [esi]
add eax, 0x10
mov edx, 0x4a135c
call fcn.0040460c
mov eax, dword [esi]
mov dword [eax + 0x14], 0x541f10
mov eax, dword [esi]
add eax, 0x18
mov edx, 0x4a1374
call fcn.0040460c
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x541f14
mov eax, dword [esi]
add eax, 0x20
mov edx, 0x4a138c
call fcn.0040460c
mov eax, dword [esi]
mov dword [eax + 0x24], 0x541f18
mov eax, dword [esi]
add eax, 0x28
mov edx, 0x4a13a0
call fcn.0040460c
mov eax, dword [esi]
mov dword [eax + 0x2c], 0x541f1c
mov eax, dword [esi]
add eax, 0x30
mov edx, 0x4a13b4
call fcn.0040460c
mov eax, dword [esi]
mov dword [eax + 0x34], 0x541f20
mov eax, dword [esi]
add eax, 0x38
mov edx, 0x4a13c4
call fcn.0040460c
mov eax, dword [esi]
mov dword [eax + 0x3c], 0x541f24
lea ecx, [ebp - 0xc]
mov eax, dword [0x541f2c]
mov eax, dword [eax + 4]
mov edx, dword [esi]
call fcn.004a0f18
lea edx, [ebp - 0xc]
mov eax, 0x541f34
mov ecx, dword [0x4a07d8]
call fcn.00405564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1312
lea eax, [ebp - 0xc]
mov edx, dword [0x4a07d8]
call fcn.00405348
ret

Function at 0x4a314c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4a31b0
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404820
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004094cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a31b7
lea eax, [ebp - 0xc]
call fcn.004045b8
ret
Function at 0x4abe38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4abeeb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4abed5
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, 0x4abf00
call fcn.00404bc8
test eax, eax
jle 0x4abe9e
lea edx, [ebp - 0xc]
mov ecx, 0x400
xchg edx, eax
call fcn.00404b24
mov eax, dword [ebp - 0xc]
call fcn.0040488c
mov edx, eax
test edx, edx
jle 0x4abebd
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor byte [ecx + eax - 1], 0x80
inc eax
dec edx
jne 0x4abeb1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x20]
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x4abe6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abef2
lea eax, [ebp - 0xc]
call fcn.004045b8
ret
Function at 0x4af7a4
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebx
add esp, 0xffffffc0
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x4af7d3
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4af7d3
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax]
cmp ebx, 0x100007f
jne 0x4af7d3
xor ebx, ebx
mov eax, ebx
add esp, 0x40
pop ebx
ret

Function at 0x4af7dc
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov dword [ebp - 8], 1
call fcn.004af7a4
mov dword [0x5433b0], eax
cmp byte [0x53d918], 0
jne 0x4af82b
lea eax, [ebp - 0x19c]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4af909
mov byte [0x53d918], 1
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov dword [edi], eax
cmp dword [edi], 0xffffffff
je 0x4af909
mov word [ebp - 0x1ac], 2
xor eax, eax
mov dword [ebp - 0x1a8], eax
mov ax, word [ebp - 4]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x1aa], ax
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0xffff
mov eax, dword [edi]
push eax
call sub.wsock32.dll_setsockopt
push 0x10
lea eax, [ebp - 0x1ac]
push eax
mov eax, dword [edi]
push eax
call sub.wsock32.dll_bind
inc eax
jne 0x4af896
mov eax, dword [edi]
push eax
call sub.wsock32.dll_closesocket
jmp 0x4af909
push 4
lea eax, [ebp - 8]
push eax
push 0x20
push 0xffff
mov eax, dword [edi]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x4af8b8
mov eax, dword [edi]
push eax
call sub.wsock32.dll_closesocket
jmp 0x4af909
mov dword [ebp - 0xc], 0x20000
push 4
lea eax, [ebp - 0xc]
push eax
push 0x1002
push 0xffff
mov eax, dword [edi]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x4af8e4
mov eax, dword [edi]
push eax
call sub.wsock32.dll_closesocket
jmp 0x4af909
push 0x23
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0045de44
push eax
mov eax, dword [edi]
push eax
call sub.wsock32.dll_WSAAsyncSelect
inc eax
jne 0x4af907
mov eax, dword [edi]
push eax
call sub.wsock32.dll_closesocket
jmp 0x4af909
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4af934
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov esi, edx
mov edi, eax
cmp dword [esi + 8], 1
jne 0x4afaca
cmp dword [esi], 0x501
jne 0x4af958
mov ebx, 0x544420
jmp 0x4af95d
mov ebx, 0x5433fc
mov dword [esp], 0x10
mov eax, 0x1020
push esp
lea edx, [esp + 8]
push edx
push 0
push eax
lea eax, [ebx + 4]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x4af9d0
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2745
je 0x4af99b
cmp eax, 0x274a
jne 0x4afaca
inc dword [0x53d91c]
cmp dword [0x53d91c], 0x64
jle 0x4afaca
xor eax, eax
mov dword [0x53d91c], eax
push 0
push 0
push 0x635
mov eax, edi
call fcn.0045de44
push eax
call sub.user32.dll_PostMessageA
jmp 0x4afaca
xor edx, edx
mov dword [0x53d91c], edx
mov edx, dword [0x540dac]
cmp byte [edx], 0
jne 0x4af9f9
mov dword [0x5433fc], 0xffffffff
mov dword [0x544420], 0xffffffff
jmp 0x4afa09
mov edx, dword [esp + 8]
cmp edx, dword [0x5433ac]
jne 0x4af949
test eax, eax
jle 0x4afaca
lea ebp, [ebx + 4]
cmp eax, 0x20
jl 0x4af949
cmp dword [ebp], 0x13572469
jne 0x4af949
cmp eax, dword [ebp + 4]
jl 0x4af949
mov edx, dword [ebp + 4]
mov eax, ebp
call fcn.00471104
test al, 0xff
jne 0x4afaca
mov eax, dword [ebp + 8]
mov edx, eax
sub edx, dword [ebx]
test edx, edx
jle 0x4afaca
mov dword [ebx], eax
mov al, byte [ebp + 0xd]
sub al, 0xa
je 0x4afa62
sub al, 2
je 0x4afa75
jmp 0x4af949
mov eax, dword [0x5405a0]
mov eax, dword [eax]
mov edx, ebp
call fcn.004e0a20
jmp 0x4af949
cmp byte [ebp + 0xc], 0xd2
je 0x4afa89
mov eax, dword [0x540dac]
cmp byte [eax], 4
jne 0x4af949
add dword [0x53d8fc], 1
adc dword [0x53d900], 0
mov eax, dword [0x54087c]
cmp dword [eax + 4], 0
jne 0x4afaad
cmp dword [eax], 0
jbe 0x4af949
jmp 0x4afab3
jle 0x4af949
mov eax, dword [0x5405a0]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
mov edx, ebp
call fcn.004de3e4
jmp 0x4af949
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4afaf4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov edi, ecx
mov esi, edx
mov dword [esp], eax
cmp dword [edi + 8], 1
jne 0x4afc88
mov dword [esp + 4], 0x10
mov eax, 0x1020
lea edx, [esp + 4]
push edx
lea edx, [esp + 0xc]
push edx
push 0
push eax
lea eax, [esi + 0x14]
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x4afb86
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2745
je 0x4afb4f
cmp eax, 0x274a
jne 0x4afc88
inc dword [0x53d91c]
cmp dword [0x53d91c], 0x64
jle 0x4afc88
xor eax, eax
mov dword [0x53d91c], eax
push 0
push 0
push 0x635
mov eax, dword [esp + 0xc]
call fcn.0045de44
push eax
call sub.user32.dll_PostMessageA
jmp 0x4afc88
xor edx, edx
mov dword [0x53d91c], edx
mov edx, dword [0x540dac]
cmp byte [edx], 0
jne 0x4afbb5
mov edx, dword [0x5433b4]
mov dword [edx + 0x10], 0xffffffff
mov edx, dword [0x5433b8]
mov dword [edx + 0x10], 0xffffffff
jmp 0x4afbc5
mov edx, dword [esp + 0xc]
cmp edx, dword [0x5433ac]
jne 0x4afb0c
test eax, eax
jle 0x4afc88
lea ebx, [esi + 0x14]
cmp eax, 8
jl 0x4afb0c
cmp dword [ebx], 0x13572469
jne 0x4afb0c
mov ebp, dword [ebx + 4]
cmp eax, ebp
jl 0x4afb0c
mov edx, ebp
mov eax, ebx
call fcn.00471104
test al, 0xff
jne 0x4afc88
mov eax, dword [ebx + 8]
mov edx, eax
sub edx, dword [esi + 0x10]
test edx, edx
jle 0x4afc88
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0xd]
sub al, 0xa
je 0x4afc20
sub al, 2
je 0x4afc33
jmp 0x4afb0c
mov eax, dword [0x5405a0]
mov eax, dword [eax]
mov edx, ebx
call fcn.004e0a20
jmp 0x4afb0c
cmp byte [ebx + 0xc], 0xd2
je 0x4afc47
mov eax, dword [0x540dac]
cmp byte [eax], 4
jne 0x4afb0c
add dword [0x53d8fc], 1
adc dword [0x53d900], 0
mov eax, dword [0x54087c]
cmp dword [eax + 4], 0
jne 0x4afc6b
cmp dword [eax], 0
jbe 0x4afb0c
jmp 0x4afc71
jle 0x4afb0c
mov eax, dword [0x5405a0]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, ebx
call fcn.004de3e4
jmp 0x4afb0c
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4afe94
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x4b000e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi + 0xc], 0xffffffff
jne 0x4afff8
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.0040460c
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0x10], 0xffffffff
cmp byte [0x53d918], 0
jne 0x4aff08
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4afff8
mov byte [0x53d918], 1
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov ebx, eax
test ebx, ebx
jl 0x4afff8
mov dword [ebp - 0xc], 1
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
test eax, eax
jl 0x4afff8
mov word [ebp - 0x28], 2
mov ax, word [esi + 8]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x26], ax
xor eax, eax
mov dword [ebp - 0x24], eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push ebx
call sub.wsock32.dll_bind
test eax, eax
jge 0x4aff73
push ebx
call sub.wsock32.dll_closesocket
jmp 0x4afff8
mov eax, dword [esi + 4]
call fcn.00404a84
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x14], eax
push 0
call sub.wsock32.dll_htonl
mov dword [ebp - 0x10], eax
push 8
lea eax, [ebp - 0x14]
push eax
push 5
push 0
push ebx
call sub.wsock32.dll_setsockopt
test eax, eax
jge 0x4affaa
push ebx
call sub.wsock32.dll_closesocket
jmp 0x4afff8
mov dword [ebp - 0x18], 0x20000
push 4
lea eax, [ebp - 0x18]
push eax
push 0x1002
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
inc eax
jne 0x4affd2
push ebx
call sub.wsock32.dll_closesocket
jmp 0x4afff8
push 0x23
push edi
mov eax, dword [0x54339c]
call fcn.0045de44
push eax
push ebx
call sub.wsock32.dll_WSAAsyncSelect
inc eax
jne 0x4afff1
push ebx
call sub.wsock32.dll_closesocket
jmp 0x4afff8
mov dword [esi + 0xc], ebx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0015
lea eax, [ebp - 4]
call fcn.004045b8
ret
Function at 0x4b13b0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b13b8
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b151c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4b1501
mov eax, dword [ebp - 0xc]
call fcn.00408d98
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4b14f9
test ebx, ebx
je 0x4b14f9
test esi, esi
jne 0x4b14ee
lea edx, [ebp - 0x10]
lea eax, [ebx + 8]
call fcn.00409f74
lea edx, [ebp - 0x18]
mov eax, 0x15
call fcn.004ab8e8
push dword [ebp - 0x18]
push dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
mov eax, 0x17
call fcn.004ab8e8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040494c
lea ecx, [ebp - 0x20]
mov edx, 0x4b1538
mov eax, dword [ebp - 0x14]
call fcn.0046c538
mov edx, dword [ebp - 0x20]
mov eax, edi
call fcn.0040460c
lea eax, [edi + 4]
lea edx, [ebx + 0x1b0]
mov ecx, 0x10
call fcn.00404820
lea eax, [edi + 8]
lea edx, [ebx + 0x1c0]
mov ecx, 0x10
call fcn.00404820
lea eax, [edi + 0xc]
lea edx, [ebx + 0x1d8]
mov ecx, 0x10
call fcn.00404820
lea eax, [edi + 0x10]
call fcn.004045b8
xor esi, esi
lea ecx, [ebp - 0x24]
xor eax, eax
mov al, byte [ebx + esi + 0x194]
mov edx, 2
call fcn.00409454
mov edx, dword [ebp - 0x24]
lea eax, [edi + 0x10]
call fcn.00404894
inc esi
cmp esi, 6
jne 0x4b14c1
mov byte [ebp - 1], 1
jmp 0x4b14f9
dec esi
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4b1421
mov eax, dword [ebp - 8]
call fcn.004027dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1523
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004045dc
ret

Function at 0x4b1a48
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403098
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 0x101
mov ax, word [ebp + 8]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push edi
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4b1ac3
cmp byte [ebp + 0xc], 0
je 0x4b1ac1
jmp 0x4b1abb
push 0x64
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x4b1ac1
cmp byte [esi + 0xd], 0
je 0x4b1aa9
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b36e4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
mov eax, dword [ebp - 8]
call fcn.00404a74
xor eax, eax
push ebp
push 0x4b38d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
mov eax, dword [ebp - 4]
call fcn.0046de04
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b38a8
mov eax, ebx
call fcn.00472154
fstp qword [ebp - 0x18]
wait
mov eax, dword [ebp - 8]
call fcn.0046de04
cmp eax, 0xffffffff
je 0x4b375c
call fcn.00472154
fstp qword [ebp - 0x20]
wait
jmp 0x4b3764
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
fld qword [ebp - 0x18]
fsub qword [ebp - 0x20]
fabs
fstp qword [0x545654]
wait
fld xword [0x4b38e4]
fcomp qword [0x545654]
fnstsw ax
sahf
jae 0x4b37bb
mov edx, 0x20
mov eax, dword [ebp - 8]
call fcn.0040986c
push 0
lea eax, [ebp - 8]
call fcn.00404adc
push eax
lea eax, [ebp - 4]
call fcn.00404adc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4b38a8
mov byte [ebp - 0xa], 2
jmp 0x4b38a8
cmp byte [ebp - 9], 0
je 0x4b38a4
mov dl, 1
mov eax, dword [0x414ebc]
call fcn.0040377c
mov esi, eax
mov dl, 1
mov eax, dword [0x414ebc]
call fcn.0040377c
mov edi, eax
push 0xa
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00404e90
mov eax, dword [ebp - 0x24]
push eax
push esi
call fcn.0046df20
test al, al
je 0x4b3890
push 0xa
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
call fcn.00404e90
mov eax, dword [ebp - 0x28]
push eax
push edi
call fcn.0046df20
test al, al
je 0x4b3890
mov eax, esi
call fcn.004196f0
push edx
push eax
mov eax, edi
call fcn.004196f0
cmp edx, dword [esp + 4]
jne 0x4b3834
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4b3850
mov eax, esi
call fcn.004196f0
mov ecx, eax
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
call fcn.00471e90
test eax, eax
je 0x4b388a
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 8]
call fcn.00404e90
mov eax, dword [ebp - 0x2c]
push eax
push esi
call fcn.0046de68
test al, al
je 0x4b3884
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.00404e90
mov eax, dword [ebp - 0x30]
mov edx, ebx
call fcn.00470bcc
mov byte [ebp - 0xa], 2
jmp 0x4b3894
mov byte [ebp - 0xa], 0
jmp 0x4b3894
mov byte [ebp - 0xa], 1
jmp 0x4b3894
mov byte [ebp - 0xa], 0
mov eax, esi
call fcn.004037ac
mov eax, edi
call fcn.004037ac
jmp 0x4b38a8
mov byte [ebp - 0xa], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b38d7
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404d08
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045dc
ret
Function at 0x4b4fd4
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.00405258
xor eax, eax
push ebp
push 0x4b516e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53d964]
cmp eax, 1
sete byte [ebp - 0xb]
test eax, eax
jne 0x4b5150
mov dword [0x53d964], 0xffffffff
mov byte [0x53d968], 0
call sub.winmm.dll_waveInGetNumDevs
mov ebx, eax
test ebx, ebx
jle 0x4b5150
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1d]
mov ecx, dword [ebp + 0xc]
mov dx, word [ebp - 0xa]
call fcn.004b4f8c
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00404fc8
je 0x4b50b1
mov edi, 2
dec ebx
test ebx, ebx
jl 0x4b50cf
inc ebx
xor esi, esi
push 0x54
lea eax, [ebp - 0x74]
push eax
push esi
call sub.winmm.dll_waveInGetDevCapsW
lea eax, [ebp - 0x78]
lea edx, [ebp - 0x6c]
mov ecx, 0x20
call fcn.00404e74
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 8]
call fcn.00404fc8
jne 0x4b50ab
push 0x30000
push 0
push 0x4b4f44
lea eax, [ebp - 0x1d]
push eax
push esi
push 0x5457d4
call sub.winmm.dll_waveInOpen
mov edi, eax
jmp 0x4b50cf
inc esi
dec ebx
jne 0x4b5063
jmp 0x4b50cf
push 0x30000
push 0
push 0x4b4f44
lea eax, [ebp - 0x1d]
push eax
push 0xffffffffffffffff
push 0x5457d4
call sub.winmm.dll_waveInOpen
mov edi, eax
test edi, edi
jne 0x4b5150
mov eax, dword [ebp - 4]
mov dword [0x53d974], eax
mov esi, 5
mov ebx, 0x5457dc
mov edi, 0x545878
movzx eax, word [ebp - 0xa]
imul eax, eax, 0x780
imul dword [ebp + 0xc]
mov ecx, 0x15888
xor edx, edx
div ecx
mov dword [ebx], eax
mov eax, edi
mov dword [ebx - 4], eax
xor eax, eax
mov dword [ebx + 0xc], eax
push 0x20
lea eax, [ebx - 4]
push eax
mov eax, dword [0x5457d4]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x4b5150
push 0x20
lea eax, [ebx - 4]
push eax
mov eax, dword [0x5457d4]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x4b5150
add edi, 0x780
add ebx, 0x20
dec esi
jne 0x4b50ea
mov dword [0x53d964], 1
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5175
lea eax, [ebp - 0x78]
call fcn.00404cf0
lea eax, [ebp - 8]
call fcn.00404cf0
ret

Function at 0x4b5834
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push esp
push 0x208
call sub.kernel32.dll_GetCurrentDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404e74
add esp, 0x208
pop ebx
ret

Function at 0x4b77ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x54057c]
mov dword [eax], 0x3ef
mov eax, dword [ebx + 0x314]
test eax, eax
je 0x4b780f
cmp byte [eax + 0x57], 0
jne 0x4b780f
call fcn.00444de4
mov eax, dword [0x540b3c]
mov eax, dword [eax]
call fcn.00447d1c
push 0
mov eax, dword [0x540b3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004b7dbc
mov eax, dword [0x54057c]
xor edx, edx
mov dword [eax], edx
pop ebx
ret
Function at 0x4b8578
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x54057c]
mov dword [eax], 0x3f6
cmp dword [0x53d9b8], 0
jne 0x4b85ac
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b4b10]
call fcn.00440ba8
mov dword [0x53d9b8], eax
mov eax, dword [0x53d9b8]
call fcn.004b4d60
mov eax, dword [0x53d9b8]
call fcn.00444de4
mov eax, dword [0x53d9b8]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0xc0]
mov eax, dword [0x540b3c]
mov eax, dword [eax]
call fcn.00447d1c
push 0
mov eax, dword [0x540b3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004b7dbc
mov eax, dword [0x54057c]
xor edx, edx
mov dword [eax], edx
pop ebx
ret

Function at 0x4b8a0c
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
mov eax, dword [0x54057c]
mov dword [eax], 0x3fe
xor ebx, ebx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403098
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 0x101
mov ax, word [ebp + 8]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push esi
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4b8a9e
cmp byte [ebp - 1], 0
je 0x4b8a9c
jmp 0x4b8a93
mov eax, dword [0x540b3c]
mov eax, dword [eax]
call fcn.00448084
push 0x64
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x4b8a9c
cmp byte [0x53d99c], 0
je 0x4b8a75
mov bl, 1
mov eax, dword [0x54057c]
xor edx, edx
mov dword [eax], edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4