joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ede4
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 0x48ef8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x48ef70
mov dl, 1
mov eax, dword [0x43059c]
call fcn.0043c2ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.004069a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48ef5f
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.004bca08
test al, al
je 0x48ef52
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, 0x48efa0
lea eax, [ebp - 0x394]
call fcn.0041afbc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x48ef52
xor eax, eax
push ebp
push 0x48ef4b
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 0x48f010
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x48ef34
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004073f8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x48ef34
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004073f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ef52
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48ee55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0043c1e8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ef96
lea eax, [ebp - 0x3a0]
call fcn.004069a8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e41cc]
cmp byte [eax + 0xad], 0
jne 0x48fb5e
cmp dword [0x4e41e4], 0
jne 0x48fb1e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4de248]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4e41e4], eax
cmp dword [0x4e41e0], 0
jne 0x48fb39
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4e41e0], eax
cmp dword [0x4e41e8], 0
jne 0x48fb5e
push esp
push 0
push 0
mov eax, dword [0x4de244]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e41e8], eax
pop edx
ret
Function at 0x48fe24
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x48fe3b
add esp, 0xfffffff0
call fcn.00405438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00443774
mov eax, dword [0x4de63c]
cmp byte [eax], 0
jne 0x48fe68
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4de8b0]
cmp word [eax + 2], 0
jne 0x48fe82
mov eax, dword [0x4de8b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00491c18
mov eax, dword [0x4de988]
cmp word [eax + 2], 0
jne 0x48fe9c
mov eax, dword [0x4de988]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00491e1c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x460e8c]
call fcn.0046753c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x492298
mov dl, 1
mov eax, dword [0x42ddd8]
call fcn.00404ee0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42ddd8]
call fcn.00404ee0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x465700]
call fcn.004704f4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x49007c
mov eax, dword [0x4de7a4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004708f4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x492558
mov dl, 1
mov eax, dword [0x42ddd8]
call fcn.00404ee0
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4de7a4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041ad90
test eax, eax
je 0x48ffad
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041aba8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041ad74
test eax, eax
je 0x48ffc5
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004073f8
push ebx
push 0x4918a4
call fcn.004861d0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4de63c]
cmp byte [eax], 0
jne 0x490016
mov eax, ebx
call fcn.004901f0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00492784
mov eax, ebx
call fcn.004933b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x490073
call fcn.00405490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4904bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x49055e
cmp dword [ebx + 0x94], 0
jne 0x490558
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x490408
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x490558
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 0x49051e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x490558
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00438d94
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49052d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e41cc]
cmp dword [eax + 0x170], 0
je 0x4908e1
test bl, bl
jne 0x49082f
cmp dword [esi + 0x9c], 0
jne 0x490824
mov eax, esi
call fcn.00493204
push eax
push 0x490688
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4907f5
mov eax, dword [0x4e41cc]
cmp byte [eax + 0xd3], 0
je 0x4907f5
mov eax, dword [esi + 0xd8]
call fcn.00408238
mov edi, eax
cmp edi, 0
jl 0x4907f5
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4907de
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x490824
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00438d94
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x490804
inc dword [esi + 0x9c]
jmp 0x4908e1
cmp dword [esi + 0x9c], 0
jle 0x4908e1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4908e1
cmp dword [esi + 0x44], 0
je 0x49088c
mov eax, dword [0x4e41cc]
cmp byte [eax + 0xd3], 0
je 0x49088c
mov eax, dword [esi + 0xd8]
call fcn.00408238
mov edi, eax
cmp edi, 0
jl 0x49088c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x490875
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4908bb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00438d94
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49089b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4840a8]
call fcn.004083f8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4914f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x49155b
cmp byte [ebx + 0xd3], 0
jne 0x49155b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406b00
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x491548
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x491568
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d58
jmp 0x491568
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d58
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x49296c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4929da
mov eax, esi
call fcn.004b6bfc
test al, al
je 0x4929da
mov eax, dword [ebx + 0x84]
call fcn.004b687c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4929da
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4929ce
push 0
mov eax, dword [ebx + 0x84]
call fcn.004b687c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004adcec
jmp 0x4929da
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004927a4
pop esi
pop ebx
ret

Function at 0x498b54
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004069a8
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x498b99
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004073f8
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x49ddd0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49df09
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x449164]
call fcn.0044a1bc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x49dedf
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0044a268
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004073f8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x49df24
call fcn.004075a8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0044a400
test al, al
je 0x49dec9
lea ecx, [ebp - 4]
mov edx, 0x49df98
mov eax, dword [ebp - 0xc]
call fcn.0044aa60
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00420ecc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x49dec2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x49dfb0
mov eax, dword [ebp - 8]
push eax
call fcn.0040b3a0
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4de3f8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dec9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dee6
mov eax, dword [ebp - 0xc]
call fcn.00404f10
ret

Function at 0x49e014
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea 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]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x49e05b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49e03e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49e04f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x49e05b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4ab38c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4e4258], 0
je 0x4ab4cd
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4de960]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4ab4cd
mov eax, dword [0x4e425c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e4258]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4ab49c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4e4258]
call fcn.00438d94
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4ab494
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x4ab494
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x4ab494
mov eax, dword [ebp - 0x14]
call fcn.004b687c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ab494
push ebp
call fcn.004ab348
pop ecx
test al, al
jne 0x4ab494
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00405190
test al, al
je 0x4ab494
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00405190
cmp byte [ebp - 1], 0
je 0x4ab494
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040a8d8
test al, al
je 0x4ab494
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e425c]
call fcn.004aaaa4
inc edi
dec ebx
jne 0x4ab3f1
mov eax, dword [0x4e425c]
cmp dword [eax + 8], 0
jle 0x4ab4b4
mov eax, dword [0x4e425c]
call fcn.004aab5c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ab4cd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004ab1ac
pop ecx
test al, al
jne 0x4ab4cd
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b34cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040a8c0
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.004ad90c
test ebx, ebx
jne 0x4b351f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004b3348
mov ebx, eax
test ebx, ebx
je 0x4b3615
cmp esi, ebx
je 0x4b3548
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 0x4b355d
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 0x4b3595
add eax, 0xffffff5f
sub eax, 2
jb 0x4b35ad
dec eax
sub eax, 2
jb 0x4b35c1
dec eax
sub eax, 2
jb 0x4b35b7
jmp 0x4b35cb
add eax, 0xfffffdff
sub eax, 2
jb 0x4b35ad
dec eax
sub eax, 2
jb 0x4b35c1
dec eax
sub eax, 2
jb 0x4b35b7
jmp 0x4b35cb
mov byte [esp + 0x120], 0
jmp 0x4b35d3
mov byte [esp + 0x120], 2
jmp 0x4b35d3
mov byte [esp + 0x120], 1
jmp 0x4b35d3
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00486280
mov esi, eax
call fcn.004aa258
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004af124
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4b3617
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4c6290
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a8c
xor eax, eax
push ebp
push 0x4c637c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e42c4]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0xc]
mov ecx, 0x4c6394
call fcn.004075a8
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0041a630
test al, al
jne 0x4c62e0
mov eax, dword [ebp - 0xc]
call fcn.0041a6fc
lea eax, [ebp - 8]
mov ecx, 0x4c63b4
mov edx, dword [ebp - 0xc]
call fcn.004075a8
mov edx, 0x4c63d0
mov eax, dword [ebp - 8]
call fcn.004600d4
test al, al
je 0x4c6361
lea eax, [ebp - 0x10]
mov ecx, 0x4c63e8
mov edx, dword [ebp - 0xc]
call fcn.004075a8
mov eax, dword [ebp - 0x10]
mov edx, 0x4c640c
call fcn.004600d4
test al, al
je 0x4c6361
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4c6428
call fcn.0041b080
mov eax, dword [ebp - 0x14]
call fcn.0040736c
push eax
mov eax, dword [ebp - 8]
call fcn.0040736c
push eax
push 0x4c643c
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6383
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00406a08
ret
Function at 0x4c6448
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c654c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x449164]
call fcn.0044a1bc
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x43059c]
call fcn.0043c2ac
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c651a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0044a268
mov cl, 1
mov edx, 0x4c6568
mov eax, dword [ebp - 4]
call fcn.0044a2cc
test al, al
je 0x4c6510
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044a8e8
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4c6508
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0041a1e0
test al, al
je 0x4c6504
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0044a5e8
inc ebx
dec esi
jne 0x4c64d0
mov eax, dword [ebp - 4]
call fcn.0044a238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c6524
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 4], edx
call fcn.00404f10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6553
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406a08
ret

Function at 0x4c65c4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4c66b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov dl, 1
mov eax, dword [0x449164]
call fcn.0044a1bc
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x43059c]
call fcn.0043c2ac
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c6685
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.0044a268
mov cl, 1
mov edx, 0x4c66d0
mov eax, dword [ebp - 8]
call fcn.0044a2cc
test al, al
je 0x4c667b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0044a8e8
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4c6673
inc ebx
xor esi, esi
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0041a1e0
test al, al
je 0x4c666f
mov byte [ebp - 1], 1
jmp 0x4c6673
inc esi
dec ebx
jne 0x4c664d
mov eax, dword [ebp - 8]
call fcn.0044a238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c668f
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00404f10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c66b9
lea eax, [ebp - 0x14]
call fcn.004069a8
ret
Function at 0x4c672c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x4c67a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e42c4]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4c67bc
call fcn.004075a8
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041a598
test al, al
jne 0x4c678e
mov edx, 0x4c67d8
mov eax, dword [ebp - 4]
call fcn.004600d4
test al, al
je 0x4c678e
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040736c
push eax
push 0x4c67e8
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c67ab
lea eax, [ebp - 4]
call fcn.004069a8
ret
Function at 0x1000ae94
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000aec0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.1000bba9
add esp, 0xc
jmp 0x1000af14
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1000aef0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000aeee
push 0x1ae3
push 0xdab
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x1000af14
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1000af14
push 0x48
push 0
push 0x236c
push 0x218e
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x1000bf99
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000bfd2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push dword [ebp - 8]
push 0x1eee
push 1
push 0x6805
call fcn.1000c05e
add esp, 0x14
jmp 0x1000c05a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1000c019
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1000c017
push 0xfed
push 0x756
push 0
push 0x600
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x1000c05a
push 0x1973
push 0x1dc4
push 0
push 0
push 0xac8
push 0x3cb
push 0x246b
push 0x1652
push 0x1f27
push 0x1346
push 0x256f
push 0x151e
push 0x1abd
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov esp, ebp
pop ebp
ret