joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445645
Capabilities:
Create process on windows

Disassembly:
movzx eax, ax
sub eax, 0x8070
js 0x445678
cmp eax, 4
jae 0x445678
push 1
push 0
push 0
push dword [eax*4 + 0x4e2a18]
mov eax, dword [esp + 0x14]
push str.open
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.00499d20
xor eax, eax
ret 4

Function at 0x4472bd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov ebx, ecx
mov esi, eax
lea eax, [ebx - 0x20]
neg ebx
sbb ebx, ebx
and ebx, eax
cmp dword [ebp + 0xc], 0
push edi
mov dword [ebp - 4], 1
je 0x44732b
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
or dword [ebp - 8], 0xffffffff
mov edi, eax
call fcn.00414991
test eax, eax
je 0x447320
lea ecx, [edi + 1]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 8], eax
or eax, 0xffffffff
mov ecx, esi
call fcn.0040310e
cmp dword [ebp - 8], edi
jge 0x447350
and dword [ebp - 4], 0
jmp 0x447340
push dword [esi]
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x44738e
push dword [ebp + 0xc]
lea esi, [ebx + 0x20]
push dword [ebp + 8]
call fcn.0046ad13
jmp 0x44738e
cmp dword [ebp + 0x10], 0
je 0x44738e
mov eax, dword [esi]
mov edx, dword [eax - 8]
mov esi, dword [ebp + 0x14]
cmp edx, esi
jle 0x44738e
push 6
pop ecx
push dword [ebp + 0xc]
xor eax, eax
push dword [ebp + 8]
mov dword [ebp - 0x2c], 1
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], edx
add ebx, 0x20
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x20], esi
call fcn.0046ad50
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x449e7c
Capabilities:
Log keystrokes via polling

Disassembly:
and dword [ebx], 0
push esi
mov esi, eax
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x449ea7
cmp eax, 0x79
jne 0x449e9e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x449ea7
cmp dword [esi + 0xa8], 0x20
jne 0x449f1a
cmp dword [esp + 8], 0xf100
jne 0x449f1a
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x449ed7
mov eax, esi
call fcn.0044f26b
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x449f1a
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x449f1a
test byte [esi + 0x84], 0x40
jne 0x449f0f
mov al, byte [esi + 0x85]
test al, 2
je 0x449f04
test al, 4
jne 0x449f04
test al, 8
je 0x449f04
mov al, 1
call fcn.0044e162
push edi
mov edi, esi
call fcn.0044f246
pop edi
jmp 0x449f14
cmp eax, 0x20
je 0x449f1a
mov dword [ebx], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop esi
ret 4
Function at 0x44d7f7
Capabilities:
Capture webcam image

Disassembly:
push 0
push dword [esp + 8]
push 0x419
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
ret 4
Function at 0x44eb1b
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
push edi
mov edi, dword [ebx + 0xdc]
and dword [ebx + 0xdc], 0
cmp dword [esp + 0x10], 0
jne 0x44eb58
test edi, edi
mov esi, dword [ebx + 0x60]
je 0x44eb4b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
mov eax, 0xff
je 0x44eb4d
mov eax, esi
push 5
push eax
call fcn.00431722
mov dword [ebx + 0x60], esi
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x10], 0
je 0x44eb98
push dword [ebx + 4]
mov esi, dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_BringWindowToTop]
test edi, edi
mov eax, 0xff
jne 0x44eb8b
mov eax, esi
push eax
push 5
call fcn.00431722
mov dword [ebx + 0x60], esi
jmp 0x44eba2
push 0xffffffffffffffff
push dword [ebx + 0x60]
call fcn.00431722
mov dword [ebx + 0xdc], edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x44ebae
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esi + 0xdc]
and dword [esi + 0xdc], 0
cmp dword [esp + 8], 0
push edi
jne 0x44ebe9
test ebx, ebx
mov edi, dword [esi + 0x60]
je 0x44ebdb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
mov eax, 0xff
je 0x44ebdd
mov eax, edi
push 5
push eax
push esi
call fcn.0044f9d2
mov dword [esi + 0x60], edi
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 0
je 0x44ec2a
push dword [esi + 4]
mov edi, dword [esi + 0x60]
call dword [sym.imp.USER32.dll_BringWindowToTop]
test ebx, ebx
mov eax, 0xff
jne 0x44ec1c
mov eax, edi
push eax
push 5
push esi
call fcn.0044f9d2
mov dword [esi + 0x60], edi
jmp 0x44ec35
push 0xffffffffffffffff
push dword [esi + 0x60]
push esi
call fcn.0044f9d2
pop edi
mov dword [esi + 0xdc], ebx
pop ebx
ret 4

Function at 0x44f3a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
push esi
push edi
lea esi, [ebx + 0x1c]
call fcn.004bc839
push esi
push 0x450843
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, ebx
neg eax
sbb eax, eax
lea ecx, [ebx - 0xc0]
and eax, ecx
mov ecx, dword [eax + 0xc]
add eax, 8
dec ecx
push 0
pop esi
js 0x44f3f3
mov eax, dword [eax]
mov ecx, dword [eax + ecx*4]
cmp ecx, esi
je 0x44f3f3
push 0x13
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ecx
call ebp
lea edi, [ebx + 0x18]
push 8
xor eax, eax
xor ecx, ecx
call fcn.00403c0e
push esi
push 1
push 0x401
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x13
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [edi]
call ebp
mov eax, dword [esp + 0x10]
pop edi
mov dword [ebx + 0x14], 1
mov dword [eax], esi
pop esi
xor eax, eax
pop ebp
ret 4
Function at 0x450895
Capabilities:
Hide graphical window

Disassembly:
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
test ebx, ebx
je 0x4508b3
push 0
push dword [esi + 4]
call edi
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassLongA]
cmp dword [esp + 0xc], 0
je 0x4508cc
or eax, 0x20000
jmp 0x4508d1
and eax, 0xfffdffff
push eax
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongA]
test ebx, ebx
je 0x4508e8
push 5
push dword [esi + 4]
call edi
pop edi
pop ebx
ret 4
Function at 0x452f69
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4bfe4e
call fcn.004bf97c
sub esp, 0x108
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
mov esi, ecx
jne 0x452f9b
push dword [esi]
call ebx
cmp eax, 0xffffffff
jne 0x452f9b
xor eax, eax
jmp 0x453119
test al, 0x10
je 0x452fa7
push 5
pop eax
jmp 0x453119
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.MSVCRT.dll__mbsrchr]
push 0x2e
push eax
call edi
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
je 0x453115
push str..lnk
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x453070
and dword [ebp + 8], eax
and dword [ebp - 4], eax
push dword [esi]
lea eax, [ebp + 8]
call fcn.00452c2d
test eax, eax
je 0x45305f
push 2
push 0x104
lea eax, [ebp - 0x114]
push eax
xor ecx, ecx
lea eax, [ebp + 8]
call fcn.00452ca7
test eax, eax
je 0x45305f
lea eax, [ebp - 0x114]
push eax
mov eax, esi
call fcn.0040305d
push dword [esi]
call ebx
cmp eax, 0xffffffff
jne 0x453036
or dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x45302f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x453118
test al, 0x10
je 0x453053
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x45304b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 5
pop eax
jmp 0x453118
mov esi, dword [esi]
push 0x2e
push esi
call edi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x453070
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x453115
lea ecx, [ebp + 8]
push 0
push ecx
call fcn.00401809
mov esi, dword [ebp + 8]
push str..cue
push esi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x10
test eax, eax
jne 0x4530b1
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x4530ad
push eax
call fcn.00401377
push 3
jmp 0x45304d
mov edi, 0x4e6330
push esi
mov eax, edi
call fcn.004a2eb8
test eax, eax
je 0x4530da
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x4530d3
push eax
call fcn.00401377
push 4
jmp 0x45304d
cmp dword [ebp + 0xc], 0
je 0x453104
push esi
mov eax, edi
call fcn.004a2ea6
test eax, eax
je 0x453104
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x4530fd
push eax
call fcn.00401377
push 2
jmp 0x45304d
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x453115
push eax
call fcn.00401377
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4542f8
Capabilities:
Set current directory

Disassembly:
mov eax, 0x4c526e
call fcn.004bf97c
sub esp, 0x160
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
lea edi, [ebx + 0x14]
mov eax, edi
mov dword [ebx + 0x20], 1
call fcn.0040305d
and dword [ebp - 4], 0
mov esi, dword [sym.imp.MSVCRT.dll__mbsrchr]
push 0x2e
push dword [ebp + 8]
call esi
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
je 0x454462
push str..ttbl
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x454363
push eax
push dword [ebp + 8]
push ebx
call fcn.00454fe0
jmp 0x454464
push str..m3u
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x45437a
push eax
jmp 0x454393
push str..m3u8
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x4543ac
push 0xfde9
mov ecx, dword [ebp + 8]
push ebx
call fcn.00456f18
jmp 0x454464
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x16c]
push eax
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebp - 0x16c]
push 0x5c
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x4543eb
mov byte [eax + 1], 0
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebx + 0x10]
lea esi, [ebp + 8]
call fcn.00402f86
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
call fcn.0049bf30
push 0
mov ecx, ebx
lea eax, [ebp - 0x68]
call fcn.00453c6b
mov byte [ebp - 4], 5
mov edi, dword [edi]
lea eax, [ebp - 0x68]
push 0xfde9
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x40]
call fcn.0049bf44
test al, al
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 4
jne 0x454475
call fcn.004544c7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4c8fe0
call fcn.0049b999
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x454462
push eax
call fcn.00401377
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
call fcn.004544c7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4c8fe0
call fcn.0049b999
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x4544a1
lea edi, [ebp + 8]
lea eax, [ebx + 0x10]
call fcn.0040301a
mov esi, ebx
call fcn.00451cbf
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x4544bc
push eax
call fcn.00401377
xor eax, eax
inc eax
jmp 0x454464
Function at 0x45c117
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4c54d6
call fcn.004bf97c
sub esp, 0x174
push ebx
push esi
push edi
push 0x4001
push 0x160
lea eax, [ebp - 0x180]
push eax
xor esi, esi
push esi
push 0x4c91aa
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edi, dword [ebp + 8]
push eax
push 1
add edi, 4
push 0x1003
push dword [edi]
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x2000140
xor eax, eax
xor ecx, ecx
call fcn.00403bc4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push 0x7c
push 5
lea eax, [ebp - 0x20]
push eax
push 0x815c
mov dword [ebp - 4], esi
call fcn.0049945f
add esp, 0x10
cmp dword [ebp - 0x1c], esi
jbe 0x45c1fd
mov edi, dword [ebp - 0x20]
or ebx, 0xffffffff
push ebx
push esi
push dword [edi]
push esi
push dword [ebp - 0x10]
push 0x78
pop edx
call fcn.004059c8
cmp dword [ebp - 0x1c], 1
jbe 0x45c1fd
push ebx
push esi
push dword [edi + 4]
push 1
push dword [ebp - 0x10]
push 0x64
pop edx
call fcn.004059c8
cmp dword [ebp - 0x1c], 2
jbe 0x45c1fd
push ebx
push esi
push dword [edi + 8]
push 2
push dword [ebp - 0x10]
push 0x78
pop edx
call fcn.004059c8
cmp dword [ebp - 0x1c], 3
jbe 0x45c1fd
push ebx
push esi
push dword [edi + 0xc]
push 3
push dword [ebp - 0x10]
push 0x32
pop edx
call fcn.004059c8
cmp dword [ebp - 0x1c], 4
ja 0x45c207
push 0x80070057
call fcn.004010a4
push ebx
push 0
push dword [edi + 0x10]
mov edi, dword [ebp - 0x10]
push 4
push edi
xor esi, esi
mov edx, 0x12c
call fcn.004059c8
mov esi, dword [ebp + 8]
push 0
push 0
push 0x101f
push dword [edi]
add esi, 0x48
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi], eax
push 4
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.00403bc4
lea esi, [ebp - 0x20]
call fcn.004062ad
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x45cf98
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4c05fa
call fcn.004bf97c
sub esp, 0x11c
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, edi
jge 0x45cfd7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x45cfd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x45d129
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push edi
push 0xb
add esi, 0x4c
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x18], edi
push 0x4c90a4
lea edi, [ebp - 0x20]
call fcn.00402faf
mov byte [ebp + 0xb], 0x43
mov dword [ebp - 0x1c], 0x43
lea ebx, [ebp - 0x20]
call fcn.004034a7
mov edi, dword [ebp - 0x20]
mov al, byte [ebp + 0xb]
push edi
mov byte [edi], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x45d0d0
xor ebx, ebx
lea eax, [ebp - 0x24]
push ebx
push eax
mov eax, edi
mov dword [ebp - 0x14], ebx
call fcn.00401809
pop ecx
pop ecx
push ebx
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
lea edi, [ebp - 0x14]
push edi
push ebx
push eax
push ebx
push ebx
push ecx
call dword [edx + 0xc]
mov edi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x45d06b
push eax
call fcn.00401377
cmp edi, ebx
jl 0x45d0d0
mov edx, dword [ebp - 0x10]
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x128], bl
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x14]
call fcn.0048e2bf
push ebx
push dword [ebp - 0x14]
xor eax, eax
inc eax
call fcn.0048e323
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x18]
push esi
call fcn.00405a3d
push dword [ebp - 0x1c]
inc dword [ebp - 0x18]
push eax
push esi
call fcn.0041c4fd
push dword [ebp - 0x14]
call dword [0x4e5974]
inc byte [ebp + 0xb]
inc dword [ebp - 0x1c]
cmp byte [ebp + 0xb], 0x5a
jle 0x45d006
push 0xfffffffffffffffe
xor edi, edi
push edi
push esi
call fcn.00413f65
push edi
push 1
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push esi
call fcn.00413fb5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
pop esi
pop ebx
je 0x45d115
push eax
call fcn.00401377
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x45d126
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x45d52c
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
push ebx
push ebp
mov ebp, dword [esp + 0x16c]
push esi
push edi
push 0x428
push dword [ebp + 4]
lea esi, [ebp + 0x4c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x4020
push 0
push 0x1036
push eax
mov dword [esi], eax
call ebx
mov edi, dword [esi]
call fcn.00499fec
push 0x4001
push 0x160
lea eax, [esp + 0x18]
push eax
push 0
mov edi, 0x4c91aa
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
push 1
push 0x1003
push dword [esi]
call ebx
or ebx, 0xffffffff
push ebx
push 0
push edi
push 0
push esi
xor esi, esi
mov edx, 0x12c
call fcn.004059c8
push ebp
call fcn.0045cf98
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x160
ret 4
Function at 0x460c11
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4c33e1
call fcn.004bf97c
sub esp, 0x168
push ebx
push edi
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebx, eax
jmp 0x460c5b
mov edi, dword [esi + 0x90]
test edi, edi
je 0x460c4a
lea eax, [ebx + 0x7f58]
push eax
call fcn.00469455
push 0x400
push ebx
push dword [ebp + 8]
call fcn.0042ff98
add esp, 0xc
dec ebx
cmp ebx, 2
jge 0x460c34
lea ecx, [esi + 0x234]
or eax, 0xffffffff
xor edi, edi
call fcn.0046bbf2
push 0x4001
mov ebx, 0x160
push ebx
lea eax, [ebp - 0x174]
push eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4c91aa
call edi
cmp dword [esi + 0x90], 0
mov dword [ebp - 0x14], eax
je 0x460d10
lea eax, [ebp - 0x10]
push eax
call fcn.00499c5a
mov dword [esp], 0x4001
push ebx
lea ecx, [ebp - 0x174]
push ecx
push 0
push dword [eax]
call edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x460ccf
push eax
call fcn.00401377
push 0
push dword [ebp - 0x170]
push dword [ebp - 0x14]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x460d10
mov edi, dword [esi + 0x90]
mov ebx, 0x7f58
push ebx
call fcn.00469455
mov eax, dword [esi + 0x90]
push ebx
push dword [ebp - 0x10]
call fcn.0046a5e7
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x14]
mov ecx, esi
push 0x60
push 9
push 0x7f59
push dword [ebp + 8]
call fcn.00460d64
push 0
push 0
push 0x800
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push dword [ebp - 0x14]
lea eax, [edi + 0x7f59]
push 0x20
push 0x11
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.00460d64
mov ecx, dword [ebp - 0xc]
add eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x463cad
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4c51c3
call fcn.004bf97c
sub esp, 0xc
mov eax, dword [ebp + 8]
call fcn.0045f5d4
cmp eax, 0xffffffff
je 0x463d54
push esi
push eax
mov eax, dword [ebp + 8]
lea esi, [ebp + 8]
call fcn.0045f7d3
cmp dword [ebp + 8], 0
je 0x463d53
mov eax, dword [0x4e4150]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
call fcn.0040405d
push dword [eax]
lea eax, [ebp - 0x10]
push str._e__select___s_
push eax
call fcn.004058d5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
add esp, 0xc
cmp eax, dword [0x4e4154]
je 0x463d18
push eax
call fcn.00401377
mov esi, dword [ebp - 0x10]
push 1
push 0
push esi
push str.explorer.exe
push str.open
push dword [0x4e5c18]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x463d47
push eax
call fcn.00401377
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
call fcn.00404037
pop esi
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
leave
ret 4

Function at 0x46486a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4c2ff9
call fcn.004bf97c
sub esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.00499c5a
mov dword [esp], str.Internet_Exploreriexplore.exe
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004031be
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x4648a9
push eax
call fcn.00401377
mov eax, dword [0x4e4150]
mov dword [ebp - 0x10], eax
push 0x8291
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00408a73
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_lrcsearch.html
push eax
call fcn.004058d5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
add esp, 0x10
cmp eax, dword [0x4e4154]
je 0x4648e9
push eax
call fcn.00401377
push esi
mov esi, dword [ebp - 0x10]
push edi
mov edi, dword [ebp - 0x18]
push 1
push 0
push esi
push edi
push str.open
push dword [0x4e5c18]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.00499d20
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x46491e
push eax
call fcn.00401377
lea eax, [edi - 0xc]
cmp eax, dword [0x4e4154]
pop edi
pop esi
je 0x464931
push eax
call fcn.00401377
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
leave
ret
Function at 0x4677c2
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov si, word [eax + 0xc]
cmp si, 0x2e
push edi
mov edi, ecx
jne 0x4677e7
push 0
push 0x7f13
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x467810
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and ax, 0xfffe
je 0x467810
or esi, 0x20
cmp si, 0x61
jne 0x467810
push 0xb
push 2
push 0xffffffffffffffff
add edi, 0x4f8
push edi
call fcn.00413ee5
pop edi
xor eax, eax
pop esi
ret
Function at 0x46a495
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x4e5348]
push edi
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46a51a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46a51a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x46a51a
movzx ecx, word [edi + 2]
lea eax, [edi + 8]
mov dword [ebp - 0xc], eax
movzx eax, word [edi + 6]
mov dword [ebp - 8], eax
movzx eax, word [edi + 4]
mov esi, ebx
call fcn.0046ae4d
xor esi, esi
cmp dword [ebx + 0x48], esi
jne 0x46a523
push dword [ebp + 8]
call fcn.00432f84
pop ecx
shl al, 5
lea ecx, [ebx + 0x85]
xor al, byte [ecx]
mov esi, ebx
and al, 0x20
xor byte [ecx], al
movzx eax, word [edi + 6]
push eax
call fcn.00449284
test eax, eax
jne 0x46a521
xor eax, eax
jmp 0x46a5e1
xor esi, esi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], esi
je 0x46a547
push dword [ebp + 0x18]
movzx eax, word [ebp + 0x10]
push dword [ebp + 0x14]
push eax
movsx eax, word [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0044d7bb
jmp 0x46a580
test byte [ebx + 0x85], 0x20
je 0x46a56c
push 0x2040
push esi
push esi
push esi
push dword [ebp + 8]
push dword [0x4e5348]
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 4], eax
jmp 0x46a580
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
lea eax, [ebp - 4]
mov dword [ebp + 0xc], esp
push eax
call fcn.004057a0
cmp dword [ebp - 4], esi
je 0x46a5d7
push dword [ebx + 0xa0]
push dword [ebp - 4]
push dword [ebx + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x46a5d7
mov eax, dword [ebp - 8]
cmp eax, esi
jle 0x46a5c0
mov edi, dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
cmp word [edi], si
je 0x46a5b9
push edi
lea esi, [ebx + 0x4c]
call fcn.0040a364
xor esi, esi
inc edi
inc edi
dec dword [ebp + 0xc]
jne 0x46a5a9
push dword [ebx + 0x48]
mov esi, dword [ebx + 0x50]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp eax, esi
je 0x46a5d4
xor esi, esi
jmp 0x46a5d7
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.00405787
mov eax, esi
pop edi
pop esi
leave
ret 0x14