joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b6640
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5b6661
test edi, 0x40000
je 0x5b667b
test bl, bl
jne 0x5b66fc
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5b66fc
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5b66ae
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5b66c3
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5b66d2
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5b66e3
cmp byte [esp + 2], 0
je 0x5b66fc
cmp byte [esp + 2], 0
je 0x5b66f4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5b66fc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5b69a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x5b69ca
mov eax, esp
push eax
push 0x5b696c
call sub.user32.dll_EnumWindows
jmp 0x5b69dd
mov eax, esp
push eax
push 0x5b694c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5b6aa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5b6af0]
test bl, 4
je 0x5b6ab4
or si, 1
test bl, 8
je 0x5b6abd
or si, 4
test bl, 1
je 0x5b6ac6
or si, 8
test bl, 2
je 0x5b6acf
or si, 0x10
test bl, 0x10
je 0x5b6ad8
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b6ae8
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5b6af4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5b6b30]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b6b0f
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b6b1f
or bx, 4
test esi, 0x20000000
je 0x5b6b2b
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5bfb18
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5bfb2a
add esp, 0xfffffff0
call fcn.00408040
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004bbaec
mov eax, dword [0x5dcad0]
mov dword [eax + 4], ebx
mov dword [eax], 0x5bffe0
mov eax, dword [0x5dcae0]
mov dword [eax + 4], ebx
mov dword [eax], 0x5bffec
mov eax, ebx
call fcn.005bfff8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4848ec]
call fcn.004079a4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4848ec]
call fcn.004079a4
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4848ec]
call fcn.004079a4
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x4848ec]
call fcn.004079a4
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x4848ec]
call fcn.004079a4
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5ba6a4
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4ecdb8]
call fcn.004f2f1c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4ecdb8]
call fcn.004f2f1c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4ecdb8]
call fcn.004f2f1c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4ecdb8]
call fcn.004f2f1c
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4ecdb8]
call fcn.004f2f1c
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005c05d4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c0404
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c0404
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c0404
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c0404
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c0404
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5bfcaa
call fcn.00408098
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5c01a4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c034f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5c0330
mov dl, 1
mov eax, dword [0x4880a8]
call fcn.004ab430
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409754
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5c031f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.005251a8
test al, al
je 0x5c0312
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5c0360
lea eax, [ebp - 0x394]
call fcn.00421f9c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5c0312
xor eax, eax
push ebp
push 0x5c030b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5c03d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5c02f4
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a338
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5c02f4
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c0312
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5c0215
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004ab380
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c0356
lea eax, [ebp - 0x3a0]
call fcn.00409754
ret

Function at 0x5c0efc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5e3770]
cmp byte [eax + 0xc5], 0
jne 0x5c0f6e
cmp dword [0x5e3794], 0
jne 0x5c0f2e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5dc924]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5e3794], eax
cmp dword [0x5e3790], 0
jne 0x5c0f49
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5e3790], eax
cmp dword [0x5e3798], 0
jne 0x5c0f6e
push esp
push 0
push 0
mov eax, dword [0x5dc920]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5e3798], eax
pop edx
ret
Function at 0x5c1390
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5c13a7
add esp, 0xfffffff0
call fcn.00408040
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004bbaec
mov eax, dword [0x5dc994]
cmp byte [eax], 0
jne 0x5c13d4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x5dccc4]
cmp word [eax + 2], 0
jne 0x5c13ee
mov eax, dword [0x5dccc4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005c3664
mov eax, dword [0x5dcdf0]
cmp word [eax + 2], 0
jne 0x5c1408
mov eax, dword [0x5dcdf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005c3868
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4ecdb8]
call fcn.004f2f1c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5c3de0
mov dl, 1
mov eax, dword [0x4848ec]
call fcn.004079a4
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x4848ec]
call fcn.004079a4
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f17e0]
call fcn.004fc52c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5c15f0
mov eax, dword [0x5dcb7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004fc9c4
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5c40c8
mov dl, 1
mov eax, dword [0x4848ec]
call fcn.004079a4
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5dcb7c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00421d9c
test eax, eax
je 0x5c1522
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00421bd8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00421d80
test eax, eax
je 0x5c153a
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a338
push ebx
push 0x5c3040
call fcn.005b6a84
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x5dc994]
cmp byte [eax], 0
jne 0x5c158b
mov eax, ebx
call fcn.005c17d4
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005c4300
mov eax, ebx
call fcn.005c4f6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c15e8
call fcn.00408098
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c1b18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5c1bba
cmp dword [ebx + 0xac], 0
jne 0x5c1bb4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c1a54
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5c1bb4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5c1b7a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c1bb4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.004a6ad0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c1b89
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5c1df8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x5e3770]
cmp dword [eax + 0x188], 0
je 0x5c1f72
test bl, bl
jne 0x5c1ebd
cmp dword [esi + 0xb4], 0
jne 0x5c1eb2
mov eax, esi
call fcn.005c4dbc
push eax
push 0x5c1cec
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c1e83
mov eax, dword [0x5e3770]
cmp byte [eax + 0xeb], 0
je 0x5c1e83
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5c1e64
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c1e83
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c1e6c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c1eb2
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004a6ad0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c1e92
inc dword [esi + 0xb4]
jmp 0x5c1f72
cmp dword [esi + 0xb4], 0
jle 0x5c1f72
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5c1f72
cmp dword [esi + 0x58], 0
je 0x5c1f27
mov eax, dword [0x5e3770]
cmp byte [eax + 0xeb], 0
je 0x5c1f27
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5c1f08
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c1f27
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c1f10
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c1f56
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004a6ad0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c1f36
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5b3308]
call fcn.0040b834
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5c2bcc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5c2c29
cmp byte [ebx + 0xeb], 0
jne 0x5c2c29
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004098dc
mov eax, dword [esi]
test eax, eax
je 0x5c2c16
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5c2c36
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409b34
jmp 0x5c2c36
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409b34
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5c44e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5c4559
mov eax, esi
call fcn.0051ec94
test al, al
je 0x5c4559
mov eax, dword [ebx + 0x98]
call fcn.0051e8c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5c4559
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
je 0x5c454a
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051e8c4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.00515508
jmp 0x5c4559
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005c4320
pop esi
pop ebx
ret
Function at 0x5cb30c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5cb386
mov eax, dword [ebx + 8]
call fcn.0051e8c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x52cac4]
call fcn.00518bc4
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00532b30
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5cabdc
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0051e8c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0051e8c4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5cb3fc
mov eax, dword [ebx + 8]
call fcn.0051e8c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x52cac4]
call fcn.00518bc4
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00532b30
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5cac28
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0051e8c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0051e8c4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5cb468
mov eax, dword [ebx + 8]
call fcn.0051e8c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x52d544]
call fcn.00518bc4
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0051e8c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0051e8c4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x404140
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x456728]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x130], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xffffffff
jne 0x40419a
push 0x404280
push str.CreateToolhelp32Snapshot_
push 0x45a788
call fcn.004065b0
add esp, 8
mov ecx, eax
call fcn.00404b40
xor al, al
jmp 0x404272
mov byte [ebp - 1], 0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x404262
mov eax, dword [ebp - 0x134]
add eax, 0x24
push eax
push 0x104
lea ecx, [ebp - 0x240]
push ecx
call fcn.00428a06
add esp, 0xc
lea edx, [ebp - 0x240]
mov dword [ebp - 0x244], edx
jmp 0x404200
mov eax, dword [ebp - 0x244]
add eax, 1
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
movsx edx, byte [ecx]
test edx, edx
je 0x404229
mov eax, dword [ebp - 0x244]
movsx ecx, byte [eax]
push ecx
call fcn.004289df
add esp, 4
mov edx, dword [ebp - 0x244]
mov byte [edx], al
jmp 0x4041f1
push str.360safe.exe
lea eax, [ebp - 0x240]
push eax
call fcn.00428840
add esp, 8
test eax, eax
jne 0x404247
mov byte [ebp - 1], 1
jmp 0x404262
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4041c5
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00428020
mov esp, ebp
pop ebp
ret

Function at 0x4042a0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4042fb
push 0x404280
mov ecx, dword [ebp - 8]
push ecx
push 0x445008
push 0x45a788
call fcn.004065b0
add esp, 8
mov ecx, eax
call fcn.00404b60
mov ecx, eax
call fcn.00404b40
xor al, al
jmp 0x404373
mov ecx, dword [ebp + 0xc]
call fcn.00404b20
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404b00
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.00404b00
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x404367
push 0x404280
mov eax, dword [ebp - 8]
push eax
push 0x444fe8
push 0x45a788
call fcn.004065b0
add esp, 8
mov ecx, eax
call fcn.00404b60
mov ecx, eax
call fcn.00404b40
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x404373
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x40fe79
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40feb2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040c08e
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040c069
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x411a34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x411a77
call fcn.00414ebf
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x411a77
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x411a92
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004115eb
test ebx, ebx
mov esi, eax
je 0x411a90
test edi, edi
je 0x411a90
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4158f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x415919
cmp dword [edi + 0x54], 0
jne 0x415919
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00414ebf
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004158c0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x41790f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x417955
call fcn.00414ebf
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x417955
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x417998
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x417981
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x417981
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x417995
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x418ddf
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 0x418e0d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x418e2b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00418d49
jmp 0x418e2b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x418e2b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00418d49
test edi, edi
mov eax, edi
jne 0x418e15
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x459ba8]
test ecx, ecx
je 0x418eee
jmp 0x418dde
ret 8

Function at 0x428020
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456728]
jne 0x42802a
repz ret
jmp fcn.0042e28c