joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4267da
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509a39
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00426920
test eax, eax
je 0x426906
xor ebx, ebx
inc ebx
cmp dword [0xd5b274], 0
jne 0x426866
push 0x90
lea eax, [ebp - 0xa0]
mov dword [0xd5b274], ebx
push 0
push eax
mov dword [ebp - 0xa4], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
imul eax, dword [ebp - 0xa0], 0xa
add eax, dword [ebp - 0x9c]
mov dword [0xd5b270], eax
jmp 0x42686b
mov eax, dword [0xd5b270]
cmp eax, 0x3c
jl 0x426906
push dword [0xd5aa80]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
dec eax
push eax
push dword [0xd5aa80]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [0xd5aa80]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x426906
call fcn.00426920
test eax, eax
je 0x426906
cmp dword [0xd5b274], 0
jne 0x4268f7
push 0x90
lea eax, [ebp - 0xa0]
mov dword [0xd5b274], ebx
push 0
push eax
mov dword [ebp - 0xa4], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
imul eax, dword [ebp - 0xa0], 0xa
add eax, dword [ebp - 0x9c]
mov dword [0xd5b270], eax
jmp 0x4268fc
mov eax, dword [0xd5b270]
cmp eax, 0x3c
jl 0x426906
call fcn.0042665f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004efcea
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
lea eax, [ebx + 0x4214]
mov esi, dword [eax]
mov dword [ebp - 4], eax
cmp esi, dword [ebx + 0x4218]
je 0x428190
push edi
xor edi, edi
inc edi
cmp dword [esi], 0
mov dword [ebp - 8], edi
jne 0x42810e
push dword [esi + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x428123
jmp 0x428126
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
call fcn.004d5d1d
xor ecx, ecx
test ax, ax
cmove edi, ecx
jmp 0x428126
mov edi, dword [ebp - 8]
mov eax, dword [esi + 0x14]
test edi, edi
je 0x428175
test eax, eax
jne 0x428164
mov edi, dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0xbb8
jbe 0x428164
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428182
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov ecx, ebx
mov dword [esi + 0x10], eax
call fcn.00428035
mov dword [esi + 0x14], eax
add esi, 0x18
cmp esi, dword [ebx + 0x4218]
jne 0x4280e8
jmp 0x42818f
test eax, eax
je 0x428182
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push esi
push eax
call fcn.00429d22
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a04d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x444], eax
push esi
add eax, 0xffffffd0
mov dword [ebp - 0x450], ecx
push edi
neg ebx
mov esi, 0x400
push esi
sbb ebx, ebx
xor edi, edi
and ebx, eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x448], ebx
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
add ebx, 4
mov dword [ebp - 0x44c], ebx
push esi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push dword [ebx]
call edi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x3c
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp - 0x43c], 0
jle 0x42a101
push 0
push 0x4375ef
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x444]
push ecx
push ecx
mov eax, esp
xor ecx, ecx
push ecx
push 2
push ecx
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
push dword [ebx]
call fcn.004167be
push dword [ebp - 0x448]
push 0x416354
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0
push 0
push 0x418
push dword [esi]
call edi
push 0
push 1
push 0x401
push dword [esi]
call edi
push 0
push 1
push 0x7f
push dword [ebx]
call edi
test eax, eax
jne 0x42a1d7
mov eax, dword [0xd59fbc]
test eax, eax
jne 0x42a1bd
mov esi, dword [0xd584c8]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 1
push esi
call edi
mov esi, dword [0xd584c8]
push 0
push 0x32
mov dword [0xd59fbc], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 1
push esi
call edi
mov ebx, dword [ebp - 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0xd59fb8], eax
mov eax, dword [0xd59fbc]
push eax
push 1
mov esi, 0x80
push esi
push dword [ebx]
call edi
push dword [0xd59fb8]
push 0
push esi
push dword [ebx]
call edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004165da
mov ecx, dword [ebp - 0x450]
xor eax, eax
pop edi
pop esi
inc eax
and dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42aede
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xc
mov eax, 0x509e5a
call fcn.00506098
mov edi, ecx
mov ebx, dword [edi + 0x80]
test ebx, ebx
je 0x42af05
cmp ebx, 2
je 0x42af05
cmp ebx, 3
je 0x42af05
cmp ebx, 4
jne 0x42af20
push pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x42af20
sub esp, 0x10
mov ecx, edi
call fcn.0042beb2
jmp 0x42b056
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
movsx ecx, ax
shr eax, 0x10
movsx esi, ax
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x10], esi
cmp ecx, 0xffffffff
jne 0x42af5f
cmp esi, ecx
jne 0x42af5f
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp + 0x10]
push eax
mov eax, dword [edi]
call dword [eax + 0x14]
lea edx, [edi + 4]
mov ecx, eax
call fcn.0046bf56
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
jmp 0x42af7f
lea eax, [edi + 4]
mov ecx, edi
push eax
mov eax, dword [edi]
call dword [eax + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, esi
push eax
call fcn.0046be72
pop ecx
pop ecx
test eax, eax
je 0x42b056
and dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
cmp eax, 1
jne 0x42afb1
mov eax, dword [0xd58f54]
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push 2
mov eax, dword [eax + 0x104c]
push dword [eax + 0x44]
call edi
push esi
push eax
call edi
mov edi, eax
jmp 0x42b012
mov eax, dword [ebx*4 + 0x51ecd8]
movzx eax, ax
push eax
push dword [0xd584c8]
call dword [sym.imp.USER32.dll_LoadMenuA]
mov esi, eax
push 1
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.004e1b62
test ebx, ebx
je 0x42affa
cmp ebx, 1
je 0x42affa
cmp ebx, 2
je 0x42affa
cmp ebx, 3
je 0x42affa
cmp ebx, 4
jne 0x42b012
push ecx
lea edx, [ebp - 0x18]
call fcn.0046c2a2
pop ecx
push 0
push 0x8005
push edi
call dword [sym.imp.USER32.dll_DeleteMenu]
mov ecx, dword [0xd58f54]
call fcn.004353da
mov eax, dword [0xd58f54]
mov dword [eax + 0x1188], 1
push ecx
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push 2
push edi
call fcn.00435548
mov eax, dword [0xd58f54]
and dword [eax + 0x1188], 0
test esi, esi
je 0x42b056
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
xor eax, eax
call fcn.00506061
ret 0x10
Function at 0x42c28d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0xaba010]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x42c2c2
push edi
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x42c481
cmp dword [esi + 0x44], 0
je 0x42c2d7
test byte [esi + 0x58], 2
jne 0x42c2d7
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_DestroyMenu]
test byte [esi + 0x84], 2
mov dword [esi + 0x44], edi
jne 0x42c47e
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push dword [esi + 4]
call ebx
push 0
push 0
push 0x418
push dword [esi + 4]
call ebx
mov edi, eax
test edi, edi
jle 0x42c31f
push 0
push 0
push 0x416
push dword [esi + 4]
call ebx
sub edi, 1
jne 0x42c30c
cmp dword [esi + 0x44], 0
je 0x42c45d
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push 0x64
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.004f1a90
xor edi, edi
add esp, 0xc
mov dword [esp + 0xc], edi
cmp dword [esp + 0x10], edi
jle 0x42c45d
push 0x30
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004f1a90
and dword [esp + 0x28], 0
lea eax, [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 0x15
mov dword [esp + 0x3c], 0x64
push eax
push 1
push edi
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x63
jle 0x42c3cf
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 4
push eax
push 1
push edi
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
mov byte [esp + 0x78], 0
xor eax, eax
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [esp + 0x64], 0
test byte [esp + 0x20], 3
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
setne al
and dword [esp + 0x70], 0
dec al
and dword [esp + 0x74], 0
and al, 4
mov byte [esp + 0x6c], al
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
push 0x415
push dword [esi + 4]
mov byte [esp + 0x7d], 0x18
call ebx
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x78]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x44]
push eax
push edi
push 0x442
push dword [esi + 4]
mov dword [esp + 0x54], 0x20
mov dword [esp + 0x58], 2
call ebx
inc edi
mov dword [esp + 0xc], edi
cmp edi, dword [esp + 0x10]
jl 0x42c357
push 0
push 1
push 0xb
push dword [esi + 4]
call ebx
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004efcea
mov esp, ebp
pop ebp
ret 4
Function at 0x42dbc9
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push 0xd5aa84
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x4204]
cmp eax, dword [ebx + 0x4208]
je 0x42dd92
mov ecx, dword [0xd58f54]
push edi
xor edi, edi
mov eax, edi
test ecx, ecx
je 0x42dc03
lea eax, [ecx + 0x5c]
cmp dword [eax + 0x374], edi
je 0x42dd91
mov eax, edi
test ecx, ecx
je 0x42dc18
lea eax, [ecx + 0x5c]
mov eax, dword [eax + 0x378]
cmp dword [eax - 0xc], edi
je 0x42dd91
or dword [ebp - 4], 0xffffffff
test ecx, ecx
jne 0x42dc33
mov ecx, edi
jmp 0x42dc36
add ecx, 0x5c
push esi
push 0x80
push 4
push 1
push 0x40000000
push dword [ecx + 0x378]
lea ecx, [ebp - 4]
call fcn.0040b961
mov esi, dword [ebp - 4]
test eax, eax
je 0x42dd52
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x42dd52
test ecx, ecx
jne 0x42dc8d
mov edi, str.Log_file_created_by_AnVir_Task_Manager_r_n
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
lea ecx, [ebp - 4]
call fcn.0040b34a
jmp 0x42dca5
push 2
pop eax
xor edx, edx
cmp ecx, 0x1400000
cmovg eax, edx
push eax
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebx + 0x4204]
cmp edi, dword [ebx + 0x4208]
je 0x42dd4b
mov esi, ebx
mov ebx, dword [edi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
lea ecx, [ebp - 4]
call fcn.0040b34a
mov ebx, 0x556f80
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
lea ecx, [ebp - 4]
call fcn.0040b34a
mov ebx, dword [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
lea ecx, [ebp - 4]
call fcn.0040b34a
mov ebx, 0x556f80
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
lea ecx, [ebp - 4]
call fcn.0040b34a
mov ebx, dword [edi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
lea ecx, [ebp - 4]
call fcn.0040b34a
mov ebx, 0x51eb64
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
lea ecx, [ebp - 4]
call fcn.0040b34a
add edi, 0x18
cmp edi, dword [esi + 0x4208]
jne 0x42dcb9
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebx + 0x4208]
mov edi, dword [ebx + 0x4204]
mov dword [ebp - 8], eax
cmp edi, eax
je 0x42dd7e
mov esi, eax
mov ecx, edi
call fcn.0042d949
add edi, 0x18
cmp edi, esi
jne 0x42dd67
mov edi, dword [ebx + 0x4204]
mov esi, dword [ebp - 4]
mov dword [ebx + 0x4208], edi
cmp esi, 0xffffffff
je 0x42dd90
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
push 0xd5aa84
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433a74
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [0xd58f54]
push esi
push edi
mov edi, ecx
test eax, eax
jne 0x433a86
xor esi, esi
jmp 0x433a89
lea esi, [eax + 0x5c]
mov esi, dword [esi + 0x38c]
mov eax, esi
neg eax
sbb eax, eax
and eax, 4
push eax
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
push 0xe801
lea ecx, [edi + 0x38]
call fcn.0040de42
push 1
mov ecx, edi
call fcn.00439a5f
pop edi
pop esi
pop ecx
ret

Function at 0x4345bd
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0xd58f58]
mov ebx, ecx
test esi, esi
je 0x434612
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x927c0
jae 0x434612
xor ecx, ecx
call fcn.0041f7e5
mov esi, dword [0xd58f58]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
sub eax, esi
mov ecx, 0x3e8
div ecx
xor edx, edx
mov ecx, str.TaskbarRestart_TrayIcons
push eax
call fcn.0041f9bc
add esp, 0x18
mov ecx, ebx
call fcn.00434666
mov ecx, dword [0xd58f54]
push 1
mov ecx, dword [ecx + 0x58]
call fcn.004560cf
mov ecx, eax
lea eax, [ecx - 0x58]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.00427405
cmp dword [0xd58f68], 0
pop esi
pop ebx
je 0x43465a
call fcn.0048ddda
push dword [0xd58f68]
push 0x410b67
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp edi, 7
jne 0x434ca2
cmp dword [ebp + 0x10], 0x405
je 0x434c98
cmp dword [ebp + 0x10], 0x202
je 0x434c98
cmp dword [ebp + 0x10], 0x404
jne 0x434d35
call fcn.004849fb
jmp 0x434d35
mov eax, dword [ebp + 0x10]
sub eax, 0x202
je 0x434cd4
sub eax, 1
je 0x434cbf
dec eax
sub eax, 1
jne 0x434d35
push ecx
call fcn.00434d8d
jmp 0x434d35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ecx, ebx
mov dword [0xd5b5e4], eax
call fcn.00434d3d
jmp 0x434d35
push esi
mov esi, dword [0xd5b5e8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x1f4
jae 0x434cfd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ecx, ebx
mov dword [0xd5b5e4], eax
call fcn.00434d3d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0xd5b5e4]
mov dword [0xd5b5e8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
pop esi
cmp eax, 0x1f4
jbe 0x434d35
cmp edi, 6
ja 0x434d35
mov ecx, dword [ebx + edi*4 + 0x102c]
test ecx, ecx
je 0x434d35
push 1
call fcn.004757e0
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x434d3d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 6
ja 0x434d5e
mov ecx, dword [edi + esi*4 + 0x102c]
test ecx, ecx
je 0x434d5e
push 0
call fcn.004757e0
cmp esi, 4
jne 0x434d80
push 1
push 0
push str.shell32.dll_Control_RunDLL_powercfg.cpl
push 0x5545ac
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x434d87
mov ecx, edi
call fcn.004354da
pop edi
pop esi
pop ebp
ret 4

Function at 0x4351e5
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1010]
test ecx, ecx
je 0x43520b
call fcn.00422570
mov eax, dword [esi + 0x1098]
xor ebx, ebx
test eax, eax
je 0x43522a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esi + 0x1094]
call fcn.0040b9cb
mov eax, dword [0xd58f54]
test eax, eax
jne 0x435237
mov eax, ebx
jmp 0x43523a
add eax, 0x5c
cmp dword [eax + 0x278], ebx
je 0x43530a
mov ecx, dword [0xd5b274]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
test ecx, ecx
jne 0x4352a2
push 0x90
lea eax, [ebp - 0x94]
mov dword [0xd5b274], 1
push ebx
push eax
mov dword [ebp - 0x98], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call esi
imul eax, dword [ebp - 0x94], 0xa
mov ecx, dword [0xd5b274]
add eax, dword [ebp - 0x90]
mov dword [0xd5b270], eax
jmp 0x4352a7
mov eax, dword [0xd5b270]
cmp eax, 0x33
je 0x435302
test ecx, ecx
jne 0x4352f4
push 0x90
lea eax, [ebp - 0x128]
mov dword [0xd5b274], 1
push ebx
push eax
mov dword [ebp - 0x12c], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
call esi
imul eax, dword [ebp - 0x128], 0xa
add eax, dword [ebp - 0x124]
mov dword [0xd5b270], eax
cmp eax, 0x34
jne 0x43530a
call fcn.00426920
test eax, eax
je 0x43530a
xor ecx, ecx
inc ecx
call fcn.004df2fa
mov eax, dword [0xd506c4]
test eax, eax
je 0x43531b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x438b46
Capabilities:
Capture webcam image

Disassembly:
push pe_nt_image_headers32
push 0xaa5fb8
call fcn.004f0bc0
mov esi, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x1c]
sub eax, ebx
je 0x438c08
sub eax, ecx
je 0x438b8b
sub eax, ecx
je 0x438b84
sub eax, ecx
jne 0x438c95
push 3
jmp 0x438c4d
push 2
jmp 0x438c4d
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 0xc], 0x4e
jne 0x438c05
cmp dword [eax + 8], 0xfffffff4
jne 0x438bbb
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push ecx
mov ecx, esi
call fcn.0043b175
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebp - 0x1c], 0
jne 0x438c2a
mov eax, dword [ebp + 0x14]
xor ecx, ecx
inc ecx
cmp dword [ebp + 0xc], 0x4e
jne 0x438c05
cmp dword [eax + 8], 0xfffffd3a
jne 0x438c05
mov dword [ebp - 0x1c], ecx
mov esi, dword [eax]
push ebx
push dword [eax + 0xc]
push 0x419
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xd5b634
push eax
push 0x41d
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
inc ecx
mov byte [0xd5b600], cl
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov esi, dword [ebp - 0x20]
push ecx
jmp 0x438c4d
mov eax, 0x122
cmp dword [ebp + 0xc], eax
jne 0x438c36
mov dword [ebp - 0x1c], ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
jmp 0x438c9e
cmp dword [ebp + 0xc], 0x1a
jne 0x438c4c
mov dword [ebp - 0x1c], ecx
call fcn.0043b60b
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, esi
call fcn.00437dee
test eax, eax
je 0x438c95
jmp 0x438c2a
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004f0c06
ret 0x18

Function at 0x43a1f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
and dword [edi], 0
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x43a22a
cmp eax, 0x79
jne 0x43a221
push pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x43a22a
cmp dword [esi + 0xa8], 0x20
jne 0x43a294
cmp dword [ebp + 0xc], 0xf100
jne 0x43a294
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x43a259
mov ecx, esi
call fcn.0043be34
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x43a294
cmp dword [esi + 0xa8], 0x20
je 0x43a294
test byte [esi + 0x84], 0x40
jne 0x43a28e
mov cl, byte [esi + 0x85]
mov al, cl
and al, 6
cmp al, 2
jne 0x43a287
test cl, 8
je 0x43a287
push 1
mov ecx, esi
call fcn.0043bdda
mov ecx, esi
call fcn.0043beb9
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x43a2a3
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov eax, dword [ebx]
cmp eax, dword [esi + 4]
je 0x43a2c0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x43a2fb
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x43a2d7
mov ecx, esi
call fcn.0043beb9
mov edi, dword [esi + 4]
push 0
push dword [ebx + 0xc]
push 0x419
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
and byte [esi + 0x84], 0xcf
mov ecx, esi
push 1
push eax
call fcn.0043c4b5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x43ec49
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x43ec94
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
jmp 0x43ecbc
shr ecx, 2
test cl, 1
je 0x43ecc5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
movzx ecx, si
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x43ecf2
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
seta bl
jbe 0x43ecf2
or byte [edi + 0x58], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43f508
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov eax, dword [ebx]
cmp eax, dword [esi + 4]
je 0x43f525
mov eax, dword [ebp + 0x10]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x43f560
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x43f53c
mov ecx, esi
call fcn.0043beb9
mov edi, dword [esi + 4]
push 0
push dword [ebx + 0xc]
push 0x419
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
and byte [esi + 0x84], 0xcf
mov ecx, esi
push 1
push eax
call fcn.0043f2d5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc