joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e990
Capabilities:
Access peb ldr_data
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x434020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0x800f
je 0x40e9eb
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x800f
push 0x419
push esi
call ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0x41d
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x40ea2a
lea eax, [esp + 0x24]
push eax
push esi
call edi
mov dword [esp + 0x38], 0
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, dword [ebp + 8]
push 0
push 1
push 1
push 1
push 0xa
lea ecx, [esi + 0x174]
mov ebx, eax
push ecx
mov dword [esp + 0x30], ebx
call fcn.004118c0
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
push ebx
mov dword [esp + 0x18], edx
add esi, 0xb4
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x40eaa9
mov al, byte [esi + 0x85]
or byte [esi + 0x84], 0x10
test al, 2
je 0x40ea97
mov cl, al
shr cl, 2
xor cl, al
and cl, 4
xor cl, al
mov byte [esi + 0x85], cl
mov edx, dword [esp + 0x14]
push 0
push edx
push 0x40
push ebx
push esi
mov ecx, edi
call fcn.004143e0
test ebx, ebx
je 0x40eab4
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ead0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x425a2c
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x434020]
xor eax, esp
mov dword [esp + 0xa8], eax
push esi
mov eax, dword [0x434020]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor esi, esi
push str.SOFTWAREClassesCLSID_
lea ecx, [esp + 0x18]
mov dword [esp + 0xc0], esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0
lea ecx, [esp + 0x18]
call dword [0x428238]
push str.Implemented_Categories_
lea ecx, [esp + 0x18]
call dword [0x428238]
push str.A5F7140E_4311_4ef9_AABC_F55941B5EBE5
lea ecx, [esp + 0x18]
call dword [0x428238]
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
mov dword [esp + 8], esi
jae 0x40eb6a
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push ecx
push 1
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x40eb9b
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
jmp 0x40ec14
push 0x7e
lea edx, [esp + 0x36]
push esi
push edx
mov word [esp + 0x3c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push str.idex
push eax
mov dword [esp + 0x28], 0x80
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x40ebf2
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00424bfa
add esp, 0xb8
ret
Function at 0x40ed00
Capabilities:
Create thread

Disassembly:
push edi
push str.kdump.dll
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40ed53
push str.KxEOpenDumpMonitorEx2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ed53
push esi
push 0
push 0
push eax
push 0x40ec40
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
push 0xa
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x40ed52
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
ret

Function at 0x40ed60
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x427128
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x434020]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
xor edi, edi
cmp dword [eax + 0x18], 8
mov dword [esp + 0x10], edi
jb 0x40ed99
mov eax, dword [eax + 4]
jmp 0x40ed9c
add eax, 4
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x10], 1
jne 0x40ee2a
mov ebx, dword [eax]
cmp ebx, edi
je 0x40ee2a
lea esi, [esp + 0x24]
call fcn.0040aa00
mov eax, esi
mov dword [esp + 0x1c], edi
call fcn.0040aac0
mov eax, esi
call fcn.0040aa60
mov esi, dword [esp + 0x24]
mov edi, dword [sym.imp.MSVCR80.dll_wcsncmp]
push 6
push 0x42a590
push esi
call edi
add esp, 0xc
test eax, eax
je 0x40edfc
push 7
push 0x42a5a0
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x40ee08
push esi
mov ecx, 0x436614
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea edx, [esi - 0xc]
cmp edx, 0x43546c
je 0x40ee2a
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40ee2a
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40f390
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x434020]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x40f3d2
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x30]
push eax
call fcn.0040ed60
add esp, 4
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [0x436628], ebx
jne 0x40f3f0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00424bfa
mov esp, ebp
pop ebp
ret 0x10
push str.ks_npbrowse_mutex_12345
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x40f40e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40f3da
call fcn.0040ed00
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x604
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.004058e0
call fcn.0040a180
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call sub.gdiplus.dll_GdiplusStartup
mov esi, dword [0x43653c]
cmp esi, ebx
mov byte [esp + 0x18], 1
jne 0x40f4a7
push 0x78
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x40f495
call fcn.0040af90
jmp 0x40f497
xor eax, eax
mov esi, eax
cmp esi, ebx
mov dword [0x43653c], esi
je 0x40f3da
call fcn.0041d4c0
call fcn.0040ee40
mov edi, dword [0x43653c]
cmp edi, ebx
mov dword [esp + 0x10], eax
je 0x40f4d5
mov esi, edi
call fcn.0040aff0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [0x43653c], ebx
cmp byte [esp + 0x18], bl
je 0x40f4e9
mov ecx, dword [esp + 0x2c]
push ecx
call sub.gdiplus.dll_GdiplusShutdown
mov byte [esp + 0x18], bl
call fcn.004059a0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424bfa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x410ea0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x410ebb
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x24]
push ebx
push edi
xor edi, edi
push edi
push edi
push 0x1304
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jle 0x410f48
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl al
cmp dword [ebp + 4], 0x100
jne 0x410f48
cmp dword [ebp + 8], 9
jne 0x410f48
test al, al
je 0x410f48
cmp ebx, 1
jle 0x410f3a
mov edi, dword [esi + 0x50]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x410f1a
test edi, edi
jle 0x410f15
sub edi, 1
jmp 0x410f2c
lea edi, [ebx - 1]
jmp 0x410f2c
test edi, edi
jl 0x410f2a
add ebx, 0xffffffff
cmp edi, ebx
jge 0x410f2a
add edi, 1
jmp 0x410f2c
xor edi, edi
push edi
call fcn.00410fa0
mov edi, dword [esi + 0x50]
call fcn.0040b2f0
mov edi, 1
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret 4
test byte [esi + 0x7c], 0x40
je 0x410f71
cmp dword [ebp + 4], 0x100
jne 0x410f71
cmp dword [ebp + 8], 0x1b
jne 0x410f71
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edi, 1
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x50]
cmp ecx, 0xffffffff
je 0x410f91
push ebp
push 0
push 0x37f
mov edx, esi
call fcn.00411200
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x410fa0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push eax
call edi
mov ecx, dword [esi + 0x50]
cmp ecx, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x41100e
xor eax, eax
lea edx, [esp + 0xc]
push edx
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x24]
push 0x133c
push eax
mov dword [esp + 0x1c], 8
call edi
mov ecx, dword [esp + 0x24]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x24]
push 0
push ebp
push 0x130c
push edx
mov dword [esi + 0x50], ebp
call edi
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push eax
push ecx
push 0x133c
mov ebp, 8
push edx
mov dword [esp + 0x1c], ebp
call edi
mov eax, dword [esp + 0x24]
push 1
push eax
call ebx
mov eax, esi
call fcn.0040c450
mov ecx, dword [esi + 4]
push 0
push 1
push 0xb
push ecx
call edi
mov edx, dword [esi + 4]
push 0x581
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ebx, dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
je 0x4110dc
mov ecx, dword [esi + 0x50]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push eax
push ecx
push 0x133c
push ebx
mov dword [esp + 0x1c], ebp
call edi
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.00414f20
mov ebx, dword [esi + 0x60]
test ebx, ebx
je 0x411126
mov al, byte [esi + 0x7c]
movzx ecx, al
shr cl, 3
movzx edx, al
shr dl, 2
and ecx, 0xffffff01
push ecx
movzx ecx, al
shr cl, 5
shr al, 4
and edx, 0xffffff01
push edx
mov edx, dword [esi + 0x68]
and ecx, 0xffffff01
push ecx
and eax, 0xffffff01
push eax
push edx
push esi
call fcn.004118c0
pop edi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x411130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426f10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x434020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x70]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
xor ebx, ebx
add esp, 4
cmp edi, ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], edi
je 0x4111df
mov eax, edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
add edi, 1
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00424aa5
add esp, 4
mov dword [esi + 0x70], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x4111c6
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4111df
push edi
push eax
mov eax, dword [esi + 0x6c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call fcn.00414f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4114d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov ebx, eax
mov eax, dword [esi + 4]
push 0xb
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0
push 0
push 0x1304
push ecx
call edi
cmp eax, 1
jne 0x41150c
mov edx, dword [esi + 0x24]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x24]
xor eax, eax
test byte [esi + 0x7c], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0x133c
mov dword [esp + 0x18], 8
push ecx
je 0x41155a
call edi
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x411569
call edi
mov edx, dword [esp + 0x24]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0x133c
push ecx
mov dword [esp + 0x1c], 8
call edi
neg eax
sbb eax, eax
and eax, dword [esp + 0x28]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov edx, dword [esi + 0x24]
add esp, 4
push 0
push ebx
push 0x1308
push edx
call edi
mov eax, dword [esi + 0x50]
cmp ebx, eax
jne 0x411640
test ebx, ebx
mov dword [esi + 0x50], 0xffffffff
jle 0x4115ed
add ebx, 0xffffffff
push ebx
call fcn.00410fa0
mov edi, dword [esi + 0x50]
call fcn.0040b2f0
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov eax, dword [esi + 0x24]
push 0
push 0
push 0x1304
push eax
call edi
test eax, eax
jg 0x4115d8
mov ecx, dword [esi + 4]
push 0
push 1
push 0xb
push ecx
call edi
mov edx, dword [esi + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call fcn.00414f20
mov ecx, esi
call fcn.00414ed0
mov edi, dword [esi + 0x50]
call fcn.0040b2f0
pop edi
pop esi
pop ebx
add esp, 0x24
ret
jge 0x411645
add eax, 0xffffffff
push eax
mov dword [esi + 0x50], 0xffffffff
call fcn.00410fa0
mov edi, dword [esi + 0x50]
call fcn.0040b2f0
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x411670
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push 0
mov esi, eax
mov eax, dword [esi + 0x24]
push 0x1304
push eax
call ebp
test eax, eax
je 0x411813
mov ecx, dword [esi + 4]
push 0
push 0
push 0xb
push ecx
call ebp
mov edx, dword [esi + 0x24]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x24]
xor edi, edi
push edi
push edi
push 0x1304
push eax
call ebp
test eax, eax
jle 0x41178b
mov ebx, 8
lea ebx, [ebx]
mov edx, dword [esi + 0x24]
xor eax, eax
test byte [esi + 0x7c], 1
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x133c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push edx
je 0x41171a
call ebp
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x411729
call ebp
mov eax, dword [esp + 0x28]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x24]
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x133c
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], ebx
call ebp
neg eax
sbb eax, eax
and eax, dword [esp + 0x2c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esi + 0x24]
add esp, 4
push 0
push 0
push 0x1304
push eax
add edi, 1
call ebp
cmp edi, eax
jl 0x4116d0
mov ecx, dword [esi + 0x24]
push 0
push 0
push 0x1309
push ecx
call ebp
or edi, 0xffffffff
mov dword [esi + 0x50], edi
call fcn.0040b2f0
mov edx, dword [esi + 4]
push 0
push 1
push 0xb
push edx
call ebp
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call fcn.00414f20
mov ebx, dword [esi + 0x60]
test ebx, ebx
je 0x411813
mov al, byte [esi + 0x7c]
movzx edx, al
shr dl, 3
movzx ecx, al
shr cl, 2
and edx, 0xffffff01
push edx
movzx edx, al
shr dl, 5
shr al, 4
and ecx, 0xffffff01
push ecx
and edx, 0xffffff01
push edx
and eax, 0xffffff01
push eax
mov eax, dword [esi + 0x68]
push eax
push esi
call fcn.004118c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x413b00
Capabilities:
Capture webcam image

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
call edi
cmp eax, dword [esi + 4]
je 0x413b32
test byte [esi + 0x58], 4
je 0x413b28
cmp dword [esi + 0xac], 0
jne 0x413b28
call edi
mov dword [esi + 0xac], eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
mov edx, dword [esi + 4]
push 0
push eax
push 0x419
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x84], 0xcf
push 1
push eax
call fcn.00416130
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x413b70
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
mov dword [edi], 0
je 0x413ba2
cmp eax, 0x79
jne 0x413b95
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x413ba2
cmp dword [esi + 0xa8], 0x20
jne 0x413c32
cmp dword [esp + 8], 0xf100
jne 0x413c32
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x413be2
mov eax, esi
call fcn.00416b90
mov eax, dword [esi + 4]
push 0
push 0xffffffffffffffff
push 0x448
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
and byte [esi + 0x84], 0xbf
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x413c32
test byte [esi + 0x84], 0x40
jne 0x413c27
mov al, byte [esi + 0x85]
test al, 2
je 0x413c0f
test al, 4
jne 0x413c0f
test al, 8
je 0x413c0f
mov al, 1
call fcn.00416c20
call fcn.00416b60
and byte [esi + 0x84], 0xbf
mov dword [edi], 1
xor eax, eax
pop esi
ret 4
cmp eax, 0x20
je 0x413c32
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop esi
ret 4
Function at 0x41d250
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x434020]
xor eax, esp
mov dword [esp + 0x208], eax
push 0
push 0x26
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d296
push str.internet_exploreriexplore.exe
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp]
push edx
lea ecx, [esi + 4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00424bfa
add esp, 0x20c
ret

Function at 0x41dd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push 0x42bcd0
mov ebx, eax
mov eax, dword [esp + 0x18]
push ecx
xor ebp, ebp
push ebx
mov dword [eax], 0
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41dde2
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41dde9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41dde9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esp + 0x1c]
mov ebp, eax
lea eax, [edi + 1]
push eax
mov dword [edx], eax
call fcn.00424aa5
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
test esi, esi
mov dword [eax], esi
je 0x41ddcf
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push edx
push 0
push esi
call sub.MSVCR80.dll_memset
push edi
push ebp
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0x18
push ebx
mov esi, 1
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov esi, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret