joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3011b5b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
push edi
push eax
call fcn.30208320
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov esi, dword [esp + 0x20]
add esp, 4
cmp esi, edi
je 0x3011b79e
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x3011b5e0
sub eax, edx
inc eax
push ebp
push eax
call fcn.3007a1f0
mov ebp, eax
add esp, 4
cmp ebp, edi
mov dword [esp + 0x20], ebp
jne 0x3011b607
pop ebp
pop edi
xor al, al
pop esi
add esp, 0x10
ret
mov edx, ebp
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x3011b610
xor eax, eax
mov al, byte [ebp]
test al, al
push ebx
mov esi, ebp
je 0x3011b64c
mov bl, byte [ebp + 1]
test bl, bl
je 0x3011b64c
push eax
call fcn.3002ce10
add esp, 4
test al, al
je 0x3011b64c
cmp bl, 0x3a
je 0x3011b736
cmp bl, 0x7c
je 0x3011b736
push 0x30293828
push ebp
call fcn.30074f60
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x3011b736
cmp byte [ebp], 0
je 0x3011b680
mov eax, ebp
lea esp, [esp]
cmp byte [eax], 0x5c
jne 0x3011b678
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x3011b670
mov cl, byte [ebp]
mov dword [esp + 0x14], str.file:____
mov dword [esp + 0x18], str.file:___
mov dword [esp + 0x1c], str.file:__
xor ebx, ebx
mov byte [esp + 0x10], cl
mov esi, dword [esp + ebx*4 + 0x14]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x3011b6b0
sub eax, edx
mov edi, eax
mov al, byte [esp + 0x10]
test al, al
je 0x3011b6ec
mov edx, ebp
mov al, byte [esi]
test al, al
je 0x3011b6ec
movzx ecx, byte [edx]
movzx ebp, byte [ecx + 0x302993c8]
movsx eax, al
xor ebp, ecx
cmp ebp, eax
jne 0x3011b6df
dec edi
mov al, byte [edx + 1]
mov ebp, dword [esp + 0x24]
inc esi
inc edx
test al, al
jne 0x3011b6c5
test edi, edi
je 0x3011b71f
inc ebx
cmp ebx, 3
jl 0x3011b6a1
push 0x3029b084
push ebp
call fcn.30075410
mov esi, eax
add esp, 8
test esi, esi
je 0x3011b734
mov eax, 0x3029b084
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x3011b712
sub eax, edx
add esi, eax
jmp 0x3011b736
mov eax, dword [esp + ebx*4 + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x3011b726
sub eax, edx
lea esi, [eax + ebp]
jmp 0x3011b736
mov esi, ebp
cmp ebp, esi
pop ebx
jae 0x3011b75e
mov edi, ebp
lea ecx, [ecx]
mov al, byte [edi]
movzx ecx, al
xor edx, edx
mov dl, byte [ecx + 0x302993c8]
mov ecx, dword [esp + 0x24]
xor dl, al
push edx
call fcn.30074af0
inc edi
cmp edi, esi
jb 0x3011b740
mov al, byte [esi]
xor edi, edi
test al, al
je 0x3011b78c
mov al, byte [esi]
cmp al, 0x2f
je 0x3011b774
cmp al, 0x5c
je 0x3011b774
xor edi, edi
jmp 0x3011b77a
inc edi
cmp edi, 1
jg 0x3011b784
mov ecx, dword [esp + 0x24]
push eax
call fcn.30074af0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x3011b766
push ebp
call fcn.30208320
add esp, 4
pop ebp
pop edi
mov al, 1
pop esi
add esp, 0x10
ret
pop edi
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x30123620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x2c]
push esi
push edi
mov dword [esp + 0x14], eax
jmp 0x30123635
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x74]
mov ebx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x6c]
sub ebx, edx
mov edx, dword [ebp + 0x2c]
lea edx, [eax + edx - 0x106]
sub ebx, ecx
cmp ecx, edx
jb 0x301236bf
mov edi, dword [ebp + 0x38]
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [edi + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x70]
mov edx, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x5c]
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebp + 0x70], esi
mov esi, dword [ebp + 0x4c]
mov dword [ebp + 0x5c], ecx
mov ecx, dword [ebp + 0x44]
mov dword [ebp + 0x6c], edx
lea edx, [ecx + esi*2]
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x30123696
sub ecx, eax
jmp 0x30123698
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x30123687
mov edx, dword [ebp + 0x40]
mov esi, eax
lea edx, [edx + eax*2]
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x301236b5
sub ecx, eax
jmp 0x301236b7
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x301236a6
add ebx, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x30123728
mov ecx, dword [ebp + 0x74]
mov edx, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x38]
add ecx, edx
add ecx, edi
push ecx
mov ecx, ebx
mov ebx, eax
call fcn.301232e0
mov ecx, dword [ebp + 0x74]
add ecx, eax
mov edx, ecx
add esp, 4
cmp edx, 3
mov dword [ebp + 0x74], ecx
jb 0x30123712
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebp + 0x58]
mov dword [ebp + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebp + 0x54]
mov dword [ebp + 0x48], eax
cmp edx, 0x106
jae 0x30123728
mov edx, dword [ebp]
mov eax, dword [edx + 4]
test eax, eax
jne 0x30123631
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x301287d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x1c], 0xca
jne 0x3012880b
push esi
call fcn.3012d130
add esp, 4
test eax, eax
jl 0x30128885
mov al, byte [esi + 0x48]
test al, al
je 0x30128804
mov dword [esi + 0x1c], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x1c], 0xcb
mov eax, dword [esi + 0x1c]
cmp eax, 0xcb
jne 0x30128887
mov eax, dword [esi + 0x198]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x30128874
mov eax, dword [esi + 8]
test eax, eax
je 0x3012882f
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x198]
push esi
call dword [ecx]
add esp, 4
test eax, eax
jl 0x30128885
je 0x30128870
cmp eax, 2
je 0x30128874
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x30128822
cmp eax, 3
je 0x30128857
cmp eax, 1
jne 0x30128822
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x30128822
mov ecx, dword [esi + 0x124]
add dword [eax + 8], ecx
jmp 0x30128822
xor eax, eax
pop esi
ret
mov edx, dword [esi + 0x84]
mov dword [esi + 0x8c], edx
call fcn.301286b0
pop esi
ret
cmp eax, 0xcc
je 0x30128880
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x1c]
mov dword [ecx + 0x18], edx
mov eax, 0xffffffec
pop esi
ret
Function at 0x30130c50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp]
push edi
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call fcn.30075b00
mov edx, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 0xbac]
push str.defaultcamera
call fcn.3013ca50
mov dword [esp + 0x18], ebx
push 0xa
push ebx
call fcn.300f6580
mov esi, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x820]
add esp, 8
push esi
call fcn.30153ab0
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0x820]
push esi
call fcn.30153c90
push esi
mov edi, eax
call fcn.30208320
add esp, 4
test edi, edi
je 0x30130dd7
mov ecx, dword [ebp]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [edi + 0xa0]
mov dword [esp + 0x18], 2
call fcn.30154600
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x30130d1e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.300ba350
mov ecx, eax
call fcn.30076220
test al, al
je 0x30130da4
mov dword [esp + 0x1c], ebx
jmp 0x30130dd7
lea ecx, [esp + 0x10]
call fcn.300ba450
mov edi, eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x30130d30
sub eax, edx
mov esi, eax
xor eax, eax
test esi, esi
jle 0x30130d57
mov cl, byte [eax + edi]
movzx edx, cl
mov dl, byte [edx + 0x302993c8]
xor dl, cl
mov byte [eax + edi], dl
inc eax
cmp eax, esi
jl 0x30130d41
mov eax, dword [0x302a1f98]
xor ebx, ebx
test eax, eax
je 0x30130d93
mov eax, 0x302a1f98
mov esi, eax
lea esp, [esp]
mov eax, dword [eax]
push eax
push edi
call fcn.30075410
add esp, 8
test eax, eax
jne 0x30130d8e
mov ecx, dword [esi + 4]
add esi, 4
test ecx, ecx
mov eax, esi
jne 0x30130d70
jmp 0x30130d93
mov ebx, 1
push edi
call fcn.30208320
add esp, 4
test ebx, ebx
je 0x30130db7
mov ebx, dword [esp + 0x18]
inc ebx
cmp ebx, 0x270f
mov dword [esp + 0x18], ebx
jl 0x30130c88
jmp 0x30130dd7
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xbac]
lea eax, [esp + 0x10]
push eax
push str.defaultcamera
call fcn.3013ba80
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
push 0xa
push eax
call fcn.300f6580
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x3013e6a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov al, byte [edi]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
cmp al, bl
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
je 0x3013e6f8
nop
movzx esi, al
movzx eax, byte [esi + 0x302993c8]
xor eax, esi
mov esi, ecx
shr esi, 0x1b
shl ecx, 5
or esi, ecx
add esi, eax
mov ecx, esi
mov esi, edx
shr esi, 0x1a
shl edx, 6
or esi, edx
add esi, eax
mov al, byte [edi + 1]
inc edi
cmp al, bl
mov edx, esi
jne 0x3013e6c0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp]
push eax
call fcn.30208320
add esp, 4
push 0x302a2720
mov ecx, ebp
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.30074eb0
lea ecx, [ecx]
mov esi, dword [esp + ebx*4 + 0x10]
mov edi, 8
lea esp, [esp]
mov ecx, esi
shr ecx, 0x1c
push ecx
call fcn.30074950
add esp, 4
push eax
mov ecx, ebp
call fcn.30074af0
shl esi, 4
dec edi
jne 0x3013e730
inc ebx
cmp ebx, 2
jl 0x3013e720
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x30153ab0
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0xe8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x20]
call fcn.300f5c90
mov eax, dword [esp + 0xfc]
push eax
call fcn.30075200
mov ebp, eax
mov eax, dword [ebx + 0x2c]
xor esi, esi
add esp, 4
cmp eax, esi
mov dword [esp + 0x1c], ebp
jne 0x30153b5b
mov eax, dword [ebx + 0x18]
cmp eax, esi
lea edi, [ebx + 0x18]
je 0x30153afd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x10]
push edx
push 0x302c2a54
push 1
push esi
push 0x302a2f54
mov dword [esp + 0x24], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x30153b3f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push edi
push 0x302a2f44
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
call dword [edx + 8]
push esi
push 0x302a1fc0
call fcn.30075200
add esp, 4
push eax
mov ecx, ebx
call fcn.30153a10
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x1c]
jge 0x30153c62
mov eax, dword [ebx + 0x2c]
dec eax
cmp ebp, eax
jle 0x30153c62
mov dword [esp + 0x14], edi
inc dword [ebx + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
call fcn.30153a10
cmp eax, edi
jne 0x30153ba9
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x302c2a04
push esi
push esi
push eax
call dword [edx + 0x20]
cmp dword [esp + 0x10], esi
je 0x30153c3f
mov eax, dword [ebx + 0x28]
cmp eax, esi
lea ebp, [ebx + 0x28]
je 0x30153bc8
lea ecx, [ecx]
mov ebp, dword [ebp]
cmp dword [ebp], esi
jne 0x30153bc0
mov edx, dword [ebx + 0x2c]
push 0xa
push edx
call fcn.300f6580
push 0xa8
mov edi, eax
call fcn.3007a1f0
add esp, 0xc
cmp eax, esi
je 0x30153bf0
push edi
mov ecx, eax
call fcn.30130520
mov esi, eax
push edi
call fcn.30208320
push 0x40
call fcn.3007a1f0
add esp, 8
test eax, eax
je 0x30153c17
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x24]
push ecx
push esi
push edx
mov ecx, eax
call fcn.301535b0
jmp 0x30153c19
xor eax, eax
push eax
mov ecx, esi
mov dword [ebp], eax
call fcn.30130e20
mov esi, dword [ebx + 0x2c]
mov eax, dword [esp + 0x10]
inc esi
mov dword [ebx + 0x2c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x30153c4d
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp ebp, dword [ebx + 0x2c]
jl 0x30153c62
mov eax, dword [ebx + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x30153b77
mov ecx, 0x1b
lea esi, [esp + 0x20]
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
frstor dword [esp + 0x8c]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 4
Function at 0x30155bd0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], edi
jne 0x30155bf0
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0xc]
push ecx
push 0x20000013
push eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x30155d4b
mov ecx, dword [esi + 0x28]
push ebx
push edi
push edi
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
xor ebx, ebx
call dword [0x303367a4]
test eax, eax
je 0x30155cd8
push ebp
nop
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x30155cd7
lea edx, [ebx + eax + 1]
push edx
mov dword [esp + 0x1c], edi
call fcn.3007a1f0
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x30155cd7
cmp ebx, edi
jbe 0x30155c80
mov esi, dword [esi + 0x10]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0x18]
push ecx
push edx
lea edi, [ebx + ebp]
push edi
push eax
call dword [0x303367a8]
test eax, eax
je 0x30155cb1
mov ecx, dword [esp + 0x10]
mov byte [edi + ecx], 0
push ebp
lea ecx, [esi + 0x10]
call fcn.300749e0
add ebx, dword [esp + 0x18]
push ebp
call fcn.30208320
mov eax, dword [esi + 0x28]
add esp, 4
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [0x303367a4]
xor edi, edi
test eax, eax
jne 0x30155c40
pop ebp
mov eax, dword [esi + 0xc]
cmp eax, 0x197
pop ebx
je 0x30155d23
cmp eax, 0x191
je 0x30155d23
cmp eax, 0x12c
jb 0x30155d0a
cmp eax, 0x190
jae 0x30155d0f
mov dword [esp + 0xc], 2
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x18
ret
cmp eax, 0x190
jbe 0x30155d4b
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x18
ret
mov ecx, dword [esi + 0x28]
push edi
push 7
push 0x2eee
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [0x303367b0]
xor edx, edx
cmp eax, 0x2f00
sete dl
inc edx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x18
ret
Function at 0x301568a0
Capabilities:
Capture microphone audio

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 4]
push esi
add ecx, 0x24
call fcn.30156d90
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
inc esi
mov dword [esp + 8], esi
mov byte [eax], 0
je 0x301569b6
mov cl, byte [ebp + 0x2aa]
test cl, cl
jne 0x3015698b
mov ecx, dword [ebp + 0x28c]
test ecx, ecx
jle 0x3015698b
push ebx
mov byte [eax], 1
mov ebx, dword [ebp + 0x24c]
push edi
lea eax, [ebp + 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x48]
mov esi, dword [ebp + ebx*4 + 8]
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x28c]
dec esi
mov eax, esi
xor ecx, ecx
test eax, eax
mov dword [ebp + 0x28c], esi
jle 0x30156943
lea eax, [ebp + 0x24c]
mov edx, dword [eax + 4]
mov dword [eax], edx
mov edx, dword [ebp + 0x28c]
inc ecx
add eax, 4
cmp ecx, edx
jl 0x30156930
lea eax, [ebp + 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp]
push 0x20
shl ebx, 5
lea eax, [ebx + ebp + 0x4c]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov al, byte [ebp + 0x2a8]
test al, al
pop edi
pop ebx
je 0x30156981
mov edx, dword [ebp]
push edx
call dword [sym.imp.WINMM.dll_waveInStart]
mov byte [ebp + 0x2a8], 0
mov eax, dword [esp + 8]
pop esi
pop ebp
pop ecx
ret 8
mov al, byte [ebp + 0x2a9]
test al, al
je 0x301569ae
mov eax, dword [ebp]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov eax, esi
pop esi
mov byte [ebp + 0x2a9], 0
pop ebp
pop ecx
ret 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x30156ba0
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
add ecx, 0x9c
push ecx
call fcn.30156410
mov edx, dword [esp + 0x30]
lea ebx, [edi + 8]
add esp, 8
mov dword [edi + 0x28c], 0
mov byte [edi + 0x2a8], 0
mov dword [edi + 0x48], edx
mov esi, ebx
mov ebp, 0x10
mov eax, dword [esp + 0x28]
push eax
call fcn.3007a1f0
mov dword [esi], eax
add esp, 4
add esi, 4
dec ebp
jne 0x30156be2
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x50]
push 0x30000
push edi
push 0x30156b80
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x30156c7b
xor ebp, ebp
lea esi, [edi + 0x4c]
mov edi, edi
xor ecx, ecx
mov edx, esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x28]
push 0x20
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ebp
mov edx, dword [edi]
push esi
push edx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov eax, dword [edi]
push 0x20
push esi
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
inc ebp
add ebx, 4
add esi, 0x20
cmp ebp, 0x10
jl 0x30156c20
mov byte [edi + 0x2a9], 1
mov byte [edi + 0x2aa], 0
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
add esp, 0x14
ret 4

Function at 0x30156d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov dword [edi], 1
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
lea esp, [esp]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x1c]
test eax, eax
push esi
je 0x30156d73
call ebx
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x30156d40
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
mov edi, 1
call ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x30156e80
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [esi + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
je 0x30156eba
mov dword [esi + 0x28], ebx
jmp 0x30156ed2
lea edx, [esi + 0x28]
push edx
push 0
push esi
push 0x30156e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [esp + 0x18]
dec eax
je 0x30156ee0
dec eax
jne 0x30156ee9
push 1
jmp 0x30156ee2
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test ebx, ebx
jne 0x30156ef8
test edi, edi
je 0x30156ef8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x301588f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
cmp eax, 0x1e
jl 0x30158ae7
push ebx
push ebp
push esi
mov al, 0xd1
mov cl, 0xe8
mov byte [esp + 0x41], al
mov byte [esp + 0x4c], al
mov dl, 0x2a
mov al, 0x58
mov byte [esp + 0x51], cl
mov byte [esp + 0x2d], cl
mov ecx, dword [esp + 0x60]
lea esi, [esp + 0x3d]
sub esi, ecx
mov byte [esp + 0x4f], dl
mov byte [esp + 0x30], dl
mov byte [esp + 0x52], al
mov byte [esp + 0x1f], al
mov al, 0x52
lea edx, [esp + 0x1d]
mov ebp, ecx
mov dword [esp + 0x64], esi
mov bl, 0xc2
sub ebp, edx
lea esi, [esp + 0x1e]
mov byte [esp + 0x2a], al
mov byte [esp + 0x35], al
sub edx, ecx
push edi
mov byte [esp + 0x40], 0x21
mov byte [esp + 0x41], 0x54
mov byte [esp + 0x42], 0x60
mov byte [esp + 0x43], 0x2d
mov byte [esp + 0x44], 0x76
mov byte [esp + 0x46], 0xdc
mov byte [esp + 0x47], 0xd5
mov byte [esp + 0x48], 0x34
mov byte [esp + 0x49], 0x63
mov byte [esp + 0x4a], 0xcb
mov byte [esp + 0x4b], 0x13
mov byte [esp + 0x4c], 0x9c
mov byte [esp + 0x4d], 0x71
mov byte [esp + 0x4e], 0x14
mov byte [esp + 0x4f], bl
mov byte [esp + 0x51], 0x9b
mov byte [esp + 0x52], 0xdb
mov byte [esp + 0x54], 0x7a
mov byte [esp + 0x57], 0x46
mov byte [esp + 0x58], 0xe7
mov byte [esp + 0x59], 0x20
mov byte [esp + 0x5a], 0xda
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], 0xad
mov byte [esp + 0x5d], 0x8f
mov byte [esp + 0x20], 0x66
mov byte [esp + 0x21], 0x31
mov byte [esp + 0x22], 0xe
mov byte [esp + 0x24], 0x1f
mov byte [esp + 0x25], 0xbf
mov byte [esp + 0x26], 0xb9
mov byte [esp + 0x27], 0xf5
mov byte [esp + 0x28], 0x75
mov byte [esp + 0x29], 7
mov byte [esp + 0x2a], 0xa4
mov byte [esp + 0x2b], 0x71
mov byte [esp + 0x2c], 0xf9
mov byte [esp + 0x2d], 0x51
mov byte [esp + 0x2f], 0xae
mov byte [esp + 0x30], 0xb0
mov byte [esp + 0x32], 0xb3
mov byte [esp + 0x33], 0xa
mov byte [esp + 0x35], 0x84
mov byte [esp + 0x36], 0x39
mov byte [esp + 0x37], 0x3f
mov byte [esp + 0x38], 0x82
mov byte [esp + 0x3a], 0xfa
mov byte [esp + 0x3b], 0xf2
mov byte [esp + 0x3c], 0x9d
mov byte [esp + 0x3d], 0xbe
lea eax, [ecx + 2]
sub esi, ecx
mov dword [esp + 0x14], esi
lea esi, [esp + 0x42]
sub esi, ecx
mov dword [esp + 0x10], esi
lea esi, [esp + 0x23]
sub esi, ecx
mov dword [esp + 0x1c], esi
lea esi, [esp + 0x43]
sub esi, ecx
mov dword [esp + 0x18], esi
mov esi, 0xfffffffe
sub esi, ecx
lea ebx, [ebx]
lea ecx, [esi + eax]
mov bl, byte [esp + ecx + 0x20]
xor bl, byte [esp + ecx + 0x40]
lea edi, [esp + ecx + 0x21]
mov byte [edi + ebp], bl
mov bl, byte [esp + ecx + 0x41]
xor bl, byte [edi]
mov edi, dword [esp + 0x14]
mov byte [eax - 1], bl
mov bl, byte [esp + ecx + 0x22]
xor bl, byte [esp + ecx + 0x42]
mov ecx, dword [esp + 0x68]
mov cl, byte [ecx + eax]
mov byte [eax], bl
xor cl, byte [edx + eax]
mov bl, byte [edi + eax]
mov edi, dword [esp + 0x1c]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x10]
mov cl, byte [ecx + eax]
xor cl, bl
mov bl, byte [edi + eax]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + eax]
xor cl, bl
mov byte [eax + 3], cl
add eax, 6
lea ecx, [esi + eax]
cmp ecx, 0x1e
jl 0x30158a80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret