joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454934
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xc0], edx
mov esi, eax
xor eax, eax
push ebp
push 0x454af5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x8c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x9c]
cmp dword [ebp - 0x70], 0
jne 0x4549e0
test byte [ebp - 0x85], 0x40
je 0x4549e0
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x4549a0
test byte [ebx + 0x1c], 2
je 0x4549a0
mov eax, ebx
mov edx, dword [0x44c860]
call fcn.004047dc
test al, al
je 0x4549a0
mov eax, ebx
call fcn.004585f8
mov dword [ebp - 0x70], eax
jmp 0x4549e0
mov eax, dword [esi + 8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb8], 0xb
lea eax, [ebp - 0xbc]
push eax
push 0
lea edx, [ebp - 0xc0]
mov eax, dword [0x494b74]
call fcn.00407550
mov ecx, dword [ebp - 0xc0]
mov dl, 1
mov eax, dword [0x4173b0]
call fcn.0040db38
call fcn.00404ec4
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x1a8], eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.00408100
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x454a14
mov edx, 0x44d1b0
cmp edx, dword [ebp - 0xb0]
je 0x454a45
test al, al
je 0x454a25
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [ebp - 0x64], 0x44d1b0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x68]
push eax
call sub.KERNEL32.DLL_GlobalAddAtomA
test ax, ax
jne 0x454a45
call fcn.0040f26c
mov dword [0x492650], esi
lea edx, [ebp - 0x8c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xa0]
cmp dword [esi + 0x1b4], 0
jne 0x454a69
call fcn.0040f26c
push 0xfffffffffffffff0
mov eax, dword [esi + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
test eax, 0x40000000
je 0x454a9f
push 0xfffffffffffffff4
mov eax, dword [esi + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
test eax, eax
jne 0x454a9f
mov eax, dword [esi + 0x1b4]
push eax
push 0xfffffffffffffff4
push eax
call sub.KERNEL32.DLL_SetEndOfFile
mov eax, dword [esi + 0x64]
call fcn.0040ab08
xor eax, eax
mov dword [esi + 0x64], eax
mov eax, esi
call fcn.00458910
push 1
mov eax, dword [esi + 0x68]
call fcn.0042473c
mov ecx, eax
mov edx, 0x30
mov eax, esi
call fcn.00451b4c
cmp byte [esi + 0x5c], 0
je 0x454adc
mov eax, esi
mov si, 0xffee
call fcn.0040484c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454afc
lea eax, [ebp - 0xc0]
call fcn.00405530
ret
Function at 0x455364
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx + 4]
sub edx, dword [ebx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
sub eax, dword [ebx + 0x40]
call fcn.00418420
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax - 0xc], edx
mov edx, dword [ebp - 8]
mov dword [eax - 8], edx
mov eax, dword [ebp + 8]
push dword [eax - 8]
push dword [eax - 0xc]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x45541e
test byte [ebx + 0x1c], 0x10
je 0x4553d1
cmp byte [ebx + 0x57], 0
jne 0x4553cd
test byte [ebx + 0x51], 4
jne 0x4553d1
mov al, 1
jmp 0x455420
cmp byte [ebx + 0x57], 0
je 0x45541a
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4553eb
mov eax, dword [ebp + 8]
cmp byte [eax - 0xd], 0
je 0x45541a
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xc]
mov word [ebp - 4], ax
mov eax, dword [ebp + 8]
movzx eax, word [eax - 8]
mov word [ebp - 2], ax
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov edx, 0xb00a
mov eax, ebx
call fcn.00451b4c
test eax, eax
setne al
jmp 0x455420
xor eax, eax
jmp 0x455420
xor eax, eax
test al, al
je 0x45542a
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4554f4
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.KERNEL32.DLL_CreateRemoteThread
call fcn.0040773c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004503d4
test ebx, ebx
jne 0x455547
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00455430
mov ebx, eax
test ebx, ebx
je 0x455632
cmp esi, ebx
je 0x455570
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x455585
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4555bd
add eax, 0xffffff5f
sub eax, 2
jb 0x4555d5
dec eax
sub eax, 2
jb 0x4555e9
dec eax
sub eax, 2
jb 0x4555df
jmp 0x4555f3
add eax, 0xfffffdff
sub eax, 2
jb 0x4555d5
dec eax
sub eax, 2
jb 0x4555e9
dec eax
sub eax, 2
jb 0x4555df
jmp 0x4555f3
mov byte [esp + 0x120], 0
jmp 0x4555fb
mov byte [esp + 0x120], 2
jmp 0x4555fb
mov byte [esp + 0x120], 1
jmp 0x4555fb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.KERNEL32.DLL_CloseHandle
lea eax, [esp + 0x14]
call fcn.0043bc90
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00451b4c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x455634
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x4581a4
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
mov ebx, dword [edi + 0x1b4]
test ebx, ebx
je 0x4581c8
push ebx
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
jne 0x4581cc
xor eax, eax
jmp 0x4581ce
mov al, 1
mov byte [esp + 8], al
cmp byte [esp + 8], 0
je 0x4581f3
push 0
push 0
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [edi + 0x1b4]
push eax
call sub.KERNEL32.DLL_HeapAlloc
mov eax, edi
call fcn.004546e8
mov esi, eax
dec esi
test esi, esi
jl 0x45826d
inc esi
xor ebp, ebp
mov edx, ebp
mov eax, edi
call fcn.004546ac
mov ebx, eax
mov eax, ebx
mov edx, dword [0x44c860]
call fcn.004047dc
test al, al
je 0x458229
cmp dword [ebx + 0x1b4], 0
jne 0x458238
mov eax, dword [esp]
add dword [ebx + 0x40], eax
mov eax, dword [esp + 4]
add dword [ebx + 0x44], eax
jmp 0x458269
cmp byte [esp + 8], 0
jne 0x458269
push 0x14
mov eax, ebx
mov edx, dword [eax + 0x4c]
push edx
mov edx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x44]
add edx, dword [esp + 0x10]
push edx
mov edx, dword [eax + 0x40]
add edx, dword [esp + 0x10]
push edx
push 0
mov eax, dword [eax + 0x1b4]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
inc ebp
dec esi
jne 0x458204
mov eax, edi
call fcn.0045422c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x458294
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x458366
mov edx, dword [eax + 0x1cc]
test edx, edx
je 0x4582b4
sub esi, dword [edx + 8]
mov eax, dword [eax + 0x1d0]
mov edx, ebx
call fcn.004198f4
mov edi, eax
test edi, edi
jl 0x4582ff
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x1d0]
mov eax, dword [edx + 8]
test esi, esi
jge 0x4582d9
xor esi, esi
cmp eax, esi
jg 0x4582e0
mov esi, eax
dec esi
cmp edi, esi
je 0x4582ff
mov eax, edx
mov edx, edi
call fcn.0041978c
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x1d0]
mov ecx, ebx
mov edx, esi
call fcn.00419914
cmp dword [ebx + 0x1b4], 0
je 0x458366
test esi, esi
jne 0x458313
mov eax, 1
jmp 0x45834f
mov eax, dword [ebx + 0x30]
mov ebp, dword [eax + 0x1d0]
mov eax, dword [ebp + 8]
dec eax
cmp esi, eax
jne 0x458328
xor eax, eax
jmp 0x45834f
cmp edi, esi
jge 0x45833d
lea edx, [esi + 1]
mov eax, ebp
call fcn.00419898
call fcn.004585f8
jmp 0x45834f
cmp edi, esi
jle 0x458366
mov eax, ebp
mov edx, esi
call fcn.00419898
call fcn.004585f8
push 3
push 0
push 0
push 0
push 0
push eax
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x458910
Capabilities:
Get disk size

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov ebx, eax
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
test eax, eax
je 0x45894d
mov dword [esp + 0x10], 0x2c
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindResourceA
lea esi, [esp + 0x2c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x45895a
push esp
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_FormatMessageA
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
test eax, 0x40000000
je 0x458995
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov esi, eax
test esi, esi
je 0x458995
push esp
push esi
call sub.KERNEL32.DLL_GlobalUnlock
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [esp]
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 8]
sub eax, dword [esp]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 4]
mov dword [ebx + 0x4c], eax
mov eax, ebx
call fcn.0044fda0
add esp, 0x3c
pop edi
pop esi
pop ebx
ret
Function at 0x45b3f0
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov edi, edx
mov ebp, eax
mov eax, dword [ebp + 0x14]
call fcn.004546e8
mov esi, eax
dec esi
cmp esi, 0
jl 0x45b470
mov eax, dword [ebp + 0x14]
mov edx, esi
call fcn.004546ac
mov ebx, eax
cmp byte [ebx + 0x57], 0
je 0x45b46a
mov eax, ebx
mov edx, dword [0x44c860]
call fcn.004047dc
test al, al
je 0x45b437
cmp byte [ebx + 0x1da], 0
je 0x45b46a
mov edx, dword [edi + 4]
sub edx, dword [ebx + 0x44]
mov eax, dword [edi]
sub eax, dword [ebx + 0x40]
mov ecx, esp
call fcn.00418420
push dword [esp + 4]
push dword [esp + 4]
lea edx, [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [esp + 0x10]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
jne 0x45b472
dec esi
cmp esi, 0xffffffff
jne 0x45b40b
xor ebx, ebx
mov eax, ebx
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4606cc
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.00405530
test ebx, ebx
je 0x46076a
movzx eax, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x460709
mov eax, ebx
call fcn.004059dc
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x460776
mov eax, esi
mov edx, ebx
call fcn.00405584
jmp 0x460776
mov eax, ebx
call fcn.004059dc
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x460776
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
movzx eax, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
movzx eax, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
movzx eax, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
movzx eax, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x460788
call fcn.0040af98
jmp 0x460776
mov eax, esi
mov edx, 0x46079c
call fcn.00405584
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x4607e0
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00405530
push 0x100
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
jne 0x46081d
mov eax, esi
mov edx, esp
mov ecx, 0x100
call fcn.004057a0
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x463244
Capabilities:
Get thread local storage value

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
cmp dword [ebx + 8], 0
je 0x463274
push esp
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
push 0
push 0
mov eax, dword [ebx + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x9c]
add esp, 0x10
pop ebx
ret

Function at 0x46587c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x465891
or edx, 0x200
test eax, 0x20000000
je 0x4658c4
test eax, 0x40000000
je 0x4658b0
test eax, 0x80000000
je 0x4658ab
or edx, 0x40
jmp 0x4658eb
or edx, 0x20
jmp 0x4658eb
test eax, 0x80000000
je 0x4658bf
or edx, 0x80
jmp 0x4658eb
or edx, 0x10
jmp 0x4658eb
test eax, 0x40000000
je 0x4658dc
test eax, 0x80000000
je 0x4658d7
or edx, 4
jmp 0x4658eb
or edx, 2
jmp 0x4658eb
test eax, 0x80000000
je 0x4658e8
or edx, 8
jmp 0x4658eb
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x466888
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov eax, dword [0x4977f8]
mov dword [0x492ad8], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x492aec]
push eax
mov eax, dword [0x4977f8]
push eax
call fcn.00408100
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4668c2
mov edx, fcn.00408000
cmp edx, dword [ebp - 0x24]
je 0x4668e1
test al, al
je 0x4668d7
mov eax, dword [0x4977f8]
push eax
mov eax, dword [0x492aec]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
push 0x492ac8
call sub.KERNEL32.DLL_GlobalAddAtomA
push 0x80000000
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x4977f8]
push eax
push 0
mov ecx, 0x466938
mov edx, dword [0x492aec]
mov eax, 0x80
call fcn.0040857c
mov ebx, eax
cmp word [ebp + 0xa], 0
je 0x46692c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004667dc
push eax
push 0xfffffffffffffffc
push ebx
call sub.KERNEL32.DLL_SetEndOfFile
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4669d4
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 0x466aea
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 0x466af5
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
cmp word [eax + 0xa2], 0
je 0x466a78
mov eax, ebx
call fcn.00402f00
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x466a71
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.004030fc
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 0x466a78
mov eax, dword [ebp - 0xc]
call fcn.00402f1c
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.00408568
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 0x466af5
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 0x466af5
jmp 0x466af5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00466ca8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466afc
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 0x466b75
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 0x466b75
movzx esi, byte [ebx + 0x91]
test esi, esi
jle 0x466b54
mov eax, ebx
call fcn.00466c40
dec esi
jne 0x466b4a
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInStart
test eax, eax
jne 0x466b75
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 0x466c40
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x20
call fcn.00402f00
mov edi, eax
mov edx, edi
mov eax, dword [ebx + 8]
call fcn.004661b8
mov esi, edi
mov eax, dword [ebx + 0xc]
call fcn.00402f00
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 0x466ca0
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 0x46dc70
Capabilities:
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46dd2b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46dd10
xor eax, eax
push ebp
push 0x46dd09
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
call sub.advapi32.dll_RegEnumKeyExA
push ebx
call sub.advapi32.dll_RegDeleteValueA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dd10
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dd32
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x46dd38
Capabilities:
Delete registry value
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46ddf8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46dddd
xor eax, eax
push ebp
push 0x46ddd6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.advapi32.dll_RegSetValueExA
push ebx
call sub.advapi32.dll_RegDeleteValueA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dddd
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ddff
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x46e3f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46e55e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0x10
push 0
call sub.shell32.dll_ShellExecuteExA
test eax, eax
jne 0x46e51a
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.shell32.dll_ShellExecuteA
lea edx, [ebp - 0x124]
mov eax, dword [0x494a38]
call fcn.0042be44
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x14]
mov ecx, 0x46e56c
call fcn.00407050
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push 5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.004057a0
push dword [ebp - 0x128]
push 0x46e584
push dword [ebp - 8]
push 0x46e590
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004058e0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
call fcn.0040646c
push eax
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 0x14]
mov ecx, 0x46e598
call fcn.00407050
mov eax, dword [ebp - 0x12c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e565
lea eax, [ebp - 0x12c]
call fcn.0040700c
lea eax, [ebp - 0x128]
call fcn.00405530
lea eax, [ebp - 0x124]
call fcn.0040700c
lea eax, [ebp - 0x14]
call fcn.0040700c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret
Function at 0x46e5b0
Capabilities:
Get system information on windows

Disassembly:
push ebx
add esp, 0xfffffe68
xor ebx, ebx
push 0
push 0x2c
lea eax, [esp + 0x160]
push eax
push 0
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e6f7
push 0
push 0x20
lea eax, [esp + 0x140]
push eax
push 3
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e6f7
push 0
push 0x138
lea eax, [esp + 8]
push eax
push 2
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e6f7
cmp dword [0x494218], 0
jne 0x46e61a
cmp dword [0x494214], 0
je 0x46e6ca
mov eax, dword [esp]
mov edx, dword [esp + 4]
sub eax, dword [0x494214]
sbb edx, dword [0x494218]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], edx
fild qword [esp + 0x184]
mov eax, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
sub eax, dword [0x49421c]
sbb edx, dword [0x494220]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], edx
fild qword [esp + 0x18c]
fdivp st(1)
fmul dword [0x46e704]
movzx eax, byte [esp + 0x180]
mov dword [esp + 0x194], eax
fild dword [esp + 0x194]
fdivp st(1)
fsubr dword [0x46e704]
fadd dword [0x46e708]
call fcn.0040345c
mov dword [0x494224], eax
mov eax, dword [0x494224]
xor edx, edx
cmp edx, dword [0x494218]
jne 0x46e6c2
cmp eax, dword [0x494214]
je 0x46e6ca
mov ebx, dword [0x494224]
mov eax, dword [esp]
mov dword [0x494214], eax
mov eax, dword [esp + 4]
mov dword [0x494218], eax
mov eax, dword [esp + 0x140]
mov dword [0x49421c], eax
mov eax, dword [esp + 0x144]
mov dword [0x494220], eax
mov eax, ebx
add esp, 0x198
pop ebx
ret

Function at 0x46f148
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, 0x494228
xor edx, edx
mov dword [esi], edx
push 5
push eax
call sub.KERNEL32.DLL_CreateThread
mov ebx, eax
test ebx, ebx
je 0x46f171
push 2
push ebx
call sub.KERNEL32.DLL_CreateThread
mov ebx, eax
inc dword [esi]
test ebx, ebx
jne 0x46f161
mov eax, dword [esi]
xor edx, edx
mov dword [esi], edx
pop esi
pop ebx
ret