joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bde0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x495a76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x6eed74]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.00485b35
push str..
lea ecx, [esp + 0x10]
call fcn.00485d88
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x46be83
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.004859ac
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004859ac
xor eax, eax
jmp 0x46bfc8
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x6eecec
push edx
call fcn.004757e4
add esp, 8
test eax, eax
je 0x46bf79
lea eax, [esp + 0x48]
push 0x6eece8
push eax
call fcn.004757e4
add esp, 8
test eax, eax
je 0x46bf79
test ebp, ebp
jne 0x46bee5
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.00475893
add esp, 8
test eax, eax
je 0x46bf79
push esi
lea ecx, [esp + 0x14]
call fcn.00485b35
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00485daf
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.00485d88
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
test al, 1
je 0x46bf25
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x46bf47
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.0046bde0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
jmp 0x46bf79
test edi, edi
je 0x46bf6e
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.00475893
add esp, 8
test eax, eax
jne 0x46bf6e
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.0046bff0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x46be93
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004859ac
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004859ac
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x46bff0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x495a8b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.004760e0
mov eax, dword [0x6eed74]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.00485b35
push 0x5c
lea ecx, [esp + 8]
call fcn.00485daf
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.00485d88
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46c096
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004859ac
xor eax, eax
jmp 0x46c113
push ebx
push esi
push 0
push edi
call dword [sym.imp.kernel32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.kernel32.dll_SetFilePointer]
test esi, esi
jbe 0x46c0f1
mov ebx, dword [sym.imp.kernel32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x46c0e3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x46c0bd
jmp 0x46c0f1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004859ac
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x487d9c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x487dd4
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00485e53
push eax
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00485e2b
jmp 0x487de0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x489491
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4894d3
call fcn.0048f178
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
cmp eax, edi
je 0x4894d3
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, edi
jne 0x4894ca
xor eax, eax
jmp 0x4894db
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004894e1
pop edi
pop esi
pop ebx
ret 4
Function at 0x48f6a8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48f6d6
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x48f6f4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f60e
jmp 0x48f6f4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48f6f4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f60e
test edi, edi
mov eax, edi
jne 0x48f6de
pop edi
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4cf2f7
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
jmp 0x4cf275
pushfd
mov dword [esp], esi
pop word [esp]
jmp 0x4cf2c2
mov ecx, dword [esp + 4]
call fcn.004cf2ba
invalid
mov word [esp], di
lea esp, [esp + 2]
jmp 0x4cf2f0
neg ch
lea ecx, [ecx + 0x25ec3406]
bt ecx, ebx
bsr ecx, ebp
jmp 0x4cf2b0
dec eax
call 0x4cf2f7
leave
mov byte [esp + 2], bl
lea esp, [esp + 4]
and al, 4
jns 0x4cf2d8
js 0x4cf312
xlatb
inc esi
aam 0xb3
dec esi
cld
xor eax, 0xa35031a1
adc dword [edx - 0x7f], ecx
jns 0x4cf2fc
jmp 0x4cf3b5
sahf
add byte [eax], al
add byte [edi - 0x7699dbfc], cl
add al, 0x24
pop dword [esp]
mov word [esp], ax
jmp 0x4cf387
lea esp, [esp + 4]
ret
push esp
lea esp, [esp + 4]
inc eax
pushfd
push edx
jmp 0x4cf317

Function at 0x4db79e
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
push word [esp + 5]
lea esp, [esp + 2]
jmp 0x4db7df
lea esp, [esp + 8]
jne 0x4a8bef
push es
aam 0xfc
invalid
call fcn.004db86d
push ss
pushfd
xor dl, byte [ebp - 0x5c]
pop ss
js 0x4db7e5
mov dword [eax - 0x33], edi
ror dword [esi + esi], 0xc7
pop esp
jae 0x4db78e
and al, 4

Function at 0x4f53c6
Capabilities:
Encode data using xor

Disassembly:
call fcn.004f5651
mov ebp, esi
sbb eax, 0x1b8b17ac
push ebx
imul edx, eax, 0xffffffc9
ret 0x40a6
lea esp, [esp + 4]
jne 0x4aafd8
sti
push dword [eax + 3]
nop
push es
popal
nop
push ebx
je 0x4f5432
add edx, dword [eax + 0x53906106]
jae 0x4f53bb
jno 0x4f53ec
jecxz 0x4f5401
out dx, al
jge 0x4f53ce
je 0x4f536a
aaa
inc eax
push ds
sal byte [ebx - 0x58a77563], 0xbf
add ch, bh
inc esi
fcomi st(3)
iretd
mov edi, 0xdb46ef02
iretd
invalid
xor eax, eax
pushal
push eax
mov dword [esp + 0x1d], edi
push word [esp + 9]
jmp 0x4f5681
mov ax, 0x634e
jmp 0x4f541c
lea esp, [esp + 2]
lea esp, [esp + 0x24]
leave
ret
Function at 0x4075cc
Capabilities:
Capture microphone audio

Disassembly:
mov ecx, dword [esp + 4]
push 0x20
push dword [esp + 0xc]
cmp word [ecx + 2], 1
jne 0x4075eb
push dword [ecx + 0x9e]
call dword [sym.imp.WINMM.dll_waveOutWrite]
jmp 0x4075f7
push dword [ecx + 0xa2]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
ret 8
Function at 0x40fde2
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4100d5
call fcn.0042f00c
sub esp, 8
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esi + 0x18]
call fcn.00446623
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], edi
call fcn.00446623
mov byte [ebp - 4], 1
lea ecx, [esi + 0x20]
call fcn.00446623
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.00446623
push 0x47e980
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.004467f0
push 0x47e97c
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call fcn.004467f0
push 0x47e978
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
lea ebx, [esi + 0x4c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], edi
call fcn.004467f0
push 0x47e974
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.004467f0
lea ecx, [esi + 0x50]
push str.M_d_yy
mov byte [ebp - 4], 7
call fcn.004467f0
lea ecx, [esi + 0x54]
push str.intl
mov byte [ebp - 4], 8
call fcn.004467f0
lea ecx, [esi + 0x58]
push str.iDate
mov byte [ebp - 4], 9
call fcn.004467f0
lea ecx, [esi + 0x5c]
push str.iTime
mov byte [ebp - 4], 0xa
call fcn.004467f0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x60]
push str.iTLZero
call fcn.004467f0
lea ecx, [esi + 0x64]
push str.s1159
mov byte [ebp - 4], 0xc
call fcn.004467f0
lea ecx, [esi + 0x68]
push str.s2359
mov byte [ebp - 4], 0xd
call fcn.004467f0
lea ecx, [esi + 0x6c]
push str.sDate
mov byte [ebp - 4], 0xe
call fcn.004467f0
lea ecx, [esi + 0x70]
push str.sTime
mov byte [ebp - 4], 0xf
call fcn.004467f0
lea ecx, [esi + 0x74]
push 0x47e928
mov byte [ebp - 4], 0x10
call fcn.004467f0
lea ecx, [esi + 0x78]
push 0x47e924
mov byte [ebp - 4], 0x11
call fcn.004467f0
lea ecx, [esi + 0x7c]
push 0x47e920
mov byte [ebp - 4], 0x12
call fcn.004467f0
lea ecx, [esi + 0x80]
push 0x47e91c
mov byte [ebp - 4], 0x13
call fcn.004467f0
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edx
call fcn.0044687b
lea eax, [esi + 0x38]
lea ecx, [esi + 0x1c]
push eax
call fcn.0044687b
lea eax, [esi + 0x48]
lea ecx, [esi + 0x20]
push eax
call fcn.0044687b
push ebx
lea ecx, [esi + 0x24]
call fcn.0044687b
sub esp, 4
mov dword [ebp - 0x14], esp
push 1
push edi
mov ecx, dword [ebp - 0x14]
call fcn.00440ac4
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.004100ea
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b21a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x41b47d
call fcn.0042f00c
sub esp, 0x140
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x10], esp
call fcn.0041b1e1
lea ecx, [ebp - 0x34]
call fcn.00447f56
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00446623
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00446623
mov byte [ebp - 4], 3
call fcn.0040209c
lea ecx, [eax + 0x128]
call fcn.0041b48f
push eax
lea ecx, [ebp - 0x18]
call fcn.004467f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00446703
lea ebx, [edi + 0x1c]
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00446b05
push eax
push esi
mov ecx, ebx
call fcn.00401a58
push eax
lea ecx, [ebp - 0x18]
call fcn.00401a58
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00446b5a
cmp dword [ebp - 0x24], esi
je 0x41b2ce
lea ecx, [ebp - 0x14]
call fcn.00401a58
push eax
call fcn.0044725c
cmp dword [ebp - 0x24], 0
jne 0x41b337
lea ecx, [ebp - 0x18]
call fcn.00446703
mov esi, 0x104
push esi
lea ecx, [ebp - 0x18]
call fcn.00446b05
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00446b5a
push esi
lea ecx, [ebp - 0x14]
call fcn.00446b05
push eax
push 0
mov ecx, ebx
call fcn.00401a58
push eax
lea ecx, [ebp - 0x18]
call fcn.00401a58
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00446b5a
lea ecx, [ebp - 0x14]
call fcn.00401a58
push eax
call fcn.0044725c
mov esi, dword [ebp + 8]
test esi, esi
je 0x41b407
lea ecx, [ebp - 0x14c]
call fcn.004020a5
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.00440daf
push eax
lea ecx, [ebp - 0x14]
call fcn.00446b82
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00446b5a
push esi
lea ecx, [ebp - 0x14]
call fcn.00446ab0
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401a58
push eax
call fcn.00447c47
test eax, eax
je 0x41b407
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00446b05
push eax
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.00401a58
push eax
lea ecx, [ebp - 0x18]
call fcn.00401a58
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00446b5a
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.00440daf
push eax
lea ecx, [ebp - 0x14]
call fcn.00446b82
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00446b5a
push esi
lea ecx, [ebp - 0x14]
call fcn.00446ab0
inc dword [ebp - 0x20]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401a58
push eax
call fcn.00447c47
test eax, eax
jne 0x41b393
lea ecx, [ebp - 0x14]
call fcn.00401a58
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
push 1
mov ecx, edi
call fcn.004171aa
mov byte [ebp - 4], 3
call fcn.0041b459
mov byte [ebp - 4], 2
call fcn.0041b461
mov byte [ebp - 4], 1
call fcn.0041b469
mov dword [ebp - 4], 0xffffffff
call fcn.0041b487
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426acb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], pe_nt_image_headers32
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
lea edi, [ebx + 0x17c]
push edi
lea ecx, [ebx + 0x184]
push 0xf003f
push esi
call fcn.00401a58
push eax
push dword [ebx + 0x180]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x426b48
lea eax, [ebp - 4]
mov ecx, dword [ebp + 0xc]
push eax
push pe_nt_image_headers32
call fcn.00446b05
push eax
push esi
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x426b30
mov esi, 1
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00446b5a
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x426b48
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x426b53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 4
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
lea edi, [ebx + 0x17c]
push edi
lea ecx, [ebx + 0x184]
push 0xf003f
push esi
call fcn.00401a58
push eax
push dword [ebx + 0x180]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x426bbb
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x426bad
mov esi, 1
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x426bbb
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x426c82
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
lea eax, [ebp - 4]
push esi
mov ebx, ecx
push edi
xor esi, esi
lea edi, [ebx + 0x17c]
push eax
push edi
lea ecx, [ebx + 0x184]
push esi
push 0xf003f
push esi
push esi
push esi
call fcn.00401a58
push eax
push dword [ebx + 0x180]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x426cf2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x426ce4
mov esi, 1
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x426cf2
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x426cfd
Capabilities:
Set registry value

Disassembly:
sub esp, 4
lea eax, [esp]
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
lea edi, [ebx + 0x17c]
push eax
push edi
lea ecx, [ebx + 0x184]
push esi
push 0xf003f
push esi
push esi
push esi
call fcn.00401a58
push eax
push dword [ebx + 0x180]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x426d65
lea eax, [esp + 0x18]
push 4
push eax
push 4
push esi
push dword [esp + 0x24]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x426d57
mov esi, 1
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x426d65
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 4
ret 8

Function at 0x42c3b2
Capabilities:
Capture microphone audio

Disassembly:
cmp dword [ecx + 0x14], 0
mov eax, 0xffffffec
je 0x406ed9
jmp 0x4072d1
ret
add ecx, 0xd4
mov eax, dword [ecx]
test eax, eax
je 0x407324
cmp word [eax], 3
jne 0x407324
cmp word [eax + 2], 1
jne 0x407308
mov word [eax], 1
mov eax, dword [ecx]
push dword [eax + 0x9e]
call dword [sym.imp.WINMM.dll_waveOutRestart]
test eax, eax
je 0x407324
mov eax, 0xffffff9d
jmp 0x407326
mov word [eax], 2
mov eax, dword [ecx]
push dword [eax + 0xa2]
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
mov eax, 0xffffff9d
jne 0x407326
xor eax, eax
ret
cmp dword [ecx + 0x5a], 0
je 0x42c3c0
mov ecx, dword [ecx + 0x62]
jmp 0x406ec9
ret
Function at 0x42d6b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [ebp - 0x2bc]
jmp 0x421955
Function at 0x42f970
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e498
push 0x4332c4
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x48126c], eax
xor eax, eax
mov al, byte [0x48126d]
mov dword [0x481278], eax
mov eax, dword [0x48126c]
shr dword [0x48126c], 0x10
and eax, 0xff
mov dword [0x481274], eax
shl eax, 8
add eax, dword [0x481278]
mov dword [0x481270], eax
call fcn.00432020
call fcn.00431c20
test eax, eax
jne 0x42f9e9
push 0x10
call fcn.0042fb10
add esp, 4
mov dword [ebp - 4], 0
call fcn.004330e0
call fcn.00430130
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x486760], eax
call fcn.00432f40
mov dword [0x480de0], eax
test eax, eax
je 0x42fa1c
cmp dword [0x486760], 0
jne 0x42fa26
push 0xffffffffffffffff
call fcn.00430d50
add esp, 4
call fcn.00432cd0
call fcn.00432bf0
call fcn.00430d20
mov esi, dword [0x486760]
mov al, byte [esi]
cmp al, 0x22
je 0x42fa4d
cmp al, 0x20
jbe 0x42fa7a
inc esi
cmp byte [esi], 0x20
ja 0x42fa45
jmp 0x42fa7a
inc esi
cmp byte [esi], 0x22
je 0x42fa79
mov bl, byte [ebp - 0x28]
mov bl, byte [esi]
test bl, bl
je 0x42fa74
xor eax, eax
mov al, bl
push eax
call fcn.00432b90
add esp, 4
test eax, eax
je 0x42fa6e
inc esi
inc esi
cmp byte [esi], 0x22
jne 0x42fa56
cmp byte [esi], 0x22
jne 0x42fa7a
inc esi
cmp byte [esi], 0
je 0x42fa8a
cmp byte [esi], 0x20
ja 0x42fa8a
inc esi
cmp byte [esi], 0
jne 0x42fa7f
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
je 0x42faae
mov eax, dword [ebp - 0x40]
and eax, 0xffff
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00430d50
jmp 0x42faef
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430d90
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.00430e50
cmp dword [0x4812a8], 1
mov esi, dword [esp + 0x10]
jne 0x430db3
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x4812a4], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x4812a0], bl
jne 0x430e0d
cmp dword [0x48675c], 0
je 0x430dfb
mov edi, dword [0x486758]
sub edi, 4
cmp dword [0x48675c], edi
ja 0x430dfb
mov eax, dword [edi]
test eax, eax
je 0x430df0
call eax
sub edi, 4
cmp dword [0x48675c], edi
jbe 0x430de8
push 0x47e250
push 0x47e248
call fcn.00430e70
add esp, 8
push 0x47e258
push 0x47e254
call fcn.00430e70
add esp, 8
test ebx, ebx
je 0x430e2c
call fcn.00430e60
pop edi
pop esi
pop ebx
ret
mov dword [0x4812a8], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x431c20
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.00431d10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4812c0], eax
cmp eax, 0xffffffff
jne 0x431c3a
xor eax, eax
pop esi
ret
push 0x74
push 1
call fcn.00431090
add esp, 8
mov esi, eax
test esi, esi
je 0x431c7c
push esi
mov eax, dword [0x4812c0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x431c7c
push esi
call fcn.00431c80
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x431ca0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x4812c0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x431d03
push 0x74
push 1
call fcn.00431090
add esp, 8
mov edi, eax
test edi, edi
je 0x431cf9
push edi
mov eax, dword [0x4812c0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x431cf9
push edi
call fcn.00431c80
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi], eax
mov dword [edi + 4], 0xffffffff
jmp 0x431d03
push 0x10
call fcn.0042fb10
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
ret