joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4683c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a1767
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0048f52e
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0048f52e
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00468ee0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x468f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a1840
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0049b21f
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x468f63
xor al, al
jmp 0x46908f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x468f85
xor al, al
jmp 0x46908f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x468f98
xor al, al
jmp 0x46908f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x468fac
xor al, al
jmp 0x46908f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0048f5de
test eax, eax
jne 0x468fe0
xor al, al
jmp 0x46908f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4bc054
mov dword [esp + 0x20], ebp
call fcn.0049b21f
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00498111
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.00498168
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x469074
mov ax, word [ebx]
test ax, ax
je 0x469066
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004690b0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x46904a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.00498168
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4695f0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004997c1
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x469636
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.00480408
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x4d7db4
push ecx
call fcn.00481a01
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x470360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4703ac
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4703ac
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x470396
push eax
call ebp
test ax, ax
jl 0x4703a4
inc esi
add edi, 4
cmp esi, 6
jb 0x470388
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00470060
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x474170
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4741d0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4741d0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4741d0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4741d0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4741e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x476e70
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x476eba
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x476ee9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x476f2b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x47cac0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x47cb63
test eax, eax
jbe 0x47cb63
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x47cb63
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47cb0e
xor esi, esi
jmp 0x47cb14
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47cb3f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00466230
add esi, eax
push esi
mov ebx, esi
call fcn.00466230
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x47cb20
pop ebp
test edi, edi
pop edi
jne 0x47cb63
test ebx, ebx
je 0x47cb63
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00480e70
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x47cca5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47cdbd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47cdbd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00492d34
mov esi, eax
test esi, esi
je 0x47cdbd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47cdbd
mov ecx, esi
call fcn.0047cc10
cmp edi, eax
jge 0x47cdbd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x47cd43
mov dword [esp + 0x34], 1
jmp 0x47cd9e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47cdbd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047c210
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4936d7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49370f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049177c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00491754
jmp 0x49371b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x494ed2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x494f14
call fcn.0049b21f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x494f14
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x494f0b
xor eax, eax
jmp 0x494f1c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00494f22
pop edi
pop esi
pop ebx
ret 4

Function at 0x49b74f
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 0x49b77d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49b79b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049b6b5
jmp 0x49b79b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49b79b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049b6b5
test edi, edi
mov eax, edi
jne 0x49b785
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2b241b7f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x74827fd8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1002600
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1006634], esi
jne 0x10026bf
cmp dword [0x1006638], esi
jne 0x10026bf
push ebx
push edi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [sym.imp.KERNEL32.dll_OpenEventW]
push 0x1001498
push esi
mov ebx, 0x100000
push ebx
mov dword [0x100663c], eax
call edi
cmp eax, esi
mov dword [0x1006638], eax
mov dword [0x10062cc], esi
jne 0x1002671
push 0x100146c
push esi
push ebx
call edi
cmp eax, esi
mov dword [0x1006638], eax
mov dword [0x10062cc], 1
je 0x10026b0
cmp dword [0x100663c], esi
je 0x10026b0
mov eax, dword [ebp + 8]
mov dword [0x10062c0], eax
mov eax, dword [ebp + 0xc]
mov dword [0x10062c4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x10062c8], eax
lea eax, [ebp - 4]
push eax
push esi
push 0x10062c0
push 0x1002578
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1006634], eax
cmp dword [0x1006634], esi
pop edi
pop ebx
jne 0x10026bf
call fcn.01002485
pop esi
leave
ret 8
Function at 0x1002d1e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x20006
xor ebx, ebx
push ebx
push 0x10016e8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jl 0x1002eb3
push esi
push edi
call sub.NARRHOOK.dll_int___stdcall_GetTrackCaret_void_
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
pop edi
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x10016d0
push dword [ebp - 4]
call esi
call sub.NARRHOOK.dll_int___stdcall_GetTrackInputFocus_void_
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x10016b0
push dword [ebp - 4]
call esi
call sub.NARRHOOK.dll_int___stdcall_GetEchoChars_void_
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x100169c
push dword [ebp - 4]
call esi
call sub.NARRHOOK.dll_int___stdcall_GetAnnounceWindow_void_
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x100167c
push dword [ebp - 4]
call esi
call sub.NARRHOOK.dll_int___stdcall_GetAnnounceMenu_void_
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x1001660
push dword [ebp - 4]
call esi
call sub.NARRHOOK.dll_int___stdcall_GetAnnouncePopup_void_
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x1001644
push dword [ebp - 4]
call esi
call sub.NARRHOOK.dll_int___stdcall_GetAnnounceToolTips_void_
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x1001620
push dword [ebp - 4]
call esi
call sub.NARRHOOK.dll_int___stdcall_GetReviewLevel_void_
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x1001608
push dword [ebp - 4]
call esi
push edi
push 0x10060d0
push edi
push ebx
push 0x10015ec
push dword [ebp - 4]
call esi
push 2
push 0x10060d8
push edi
push ebx
push 0x10015d0
push dword [ebp - 4]
call esi
push edi
push 0x10060e0
push edi
push ebx
push 0x10015b4
push dword [ebp - 4]
call esi
mov eax, dword [0x10060c8]
push dword [eax*4 + 0x10062d8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [0x10060c8]
push dword [eax*4 + 0x10062d8]
push 1
push ebx
push 0x1001598
push dword [ebp - 4]
call esi
push edi
push 0x1006640
push edi
push ebx
push 0x1001584
push dword [ebp - 4]
call esi
push edi
push 0x10060c4
push edi
push ebx
push 0x100156c
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10032f6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x1006164]
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x260]
push eax
push 0x20019
xor edi, edi
push edi
push 0x100177c
push 0x80000002
mov dword [ebp - 0x268], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jl 0x100337a
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
push edi
push edi
push 0x1001524
push dword [ebp - 0x260]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x260]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x100337a
cmp dword [ebp - 0x264], edi
je 0x100337a
xor eax, eax
jmp 0x100342e
push ebx
mov esi, 0x2000000
push esi
push edi
push edi
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov ebx, eax
cmp ebx, edi
jne 0x10033a3
push esi
push edi
push edi
push 0x1001458
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov ebx, eax
cmp ebx, edi
je 0x10033f7
lea eax, [ebp - 0x26c]
push eax
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
push ebx
call dword [sym.imp.USER32.dll_CloseDesktop]
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
lea eax, [ebp - 0x25c]
push 0x1001448
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10033e3
inc eax
jmp 0x100342d
lea eax, [ebp - 0x25c]
push 0x1001458
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10033fc
push 3
pop eax
jmp 0x100342d
lea eax, [ebp - 0x25c]
push 0x1001750
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x1003414
push 2
jmp 0x10033f9
lea eax, [ebp - 0x25c]
push 0x1001728
push eax
call esi
neg eax
sbb eax, eax
pop ecx
neg eax
pop ecx
add eax, 4
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.010049fb
leave
ret
Function at 0x1004793
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x1006164]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x260], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x10047f4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10047f4
push 0x2f
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
cmp eax, edi
pop ecx
pop ecx
je 0x10047f4
push 0x1001988
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10047f4
mov dword [0x1010294], 1
xor esi, esi
push 0x1001960
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, edi
mov dword [0x1006418], eax
je 0x100482d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1004846
mov eax, dword [0x1006418]
cmp eax, edi
je 0x100482d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1006418], edi
cmp dword [0x1010294], edi
je 0x1004846
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 4
jl 0x10047f6
cmp dword [0x1006418], edi
je 0x1004972
cmp esi, 4
jge 0x1004972
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call sub.SHELL32.dll_Ordinal_258
push 0x1001924
mov dword [0x1006624], ebx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push 0x2000000
push edi
push 0x100176c
mov dword [0x101029c], eax
call dword [sym.imp.USER32.dll_OpenWindowStationW]
cmp eax, edi
mov dword [0x10102a0], eax
je 0x10048a5
push eax
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
lea eax, [ebp - 0x25c]
push eax
mov edi, 0x100617c
call fcn.010031b6
push dword [ebp + 0x14]
push dword [ebp - 0x260]
call fcn.010045b2
test eax, eax
je 0x100492c
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
xor edi, edi
jmp 0x100491a
lea eax, [ebp - 0x27c]
push eax
push dword [0x1010288]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x100491a
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x278], ebx
jne 0x100491a
mov dword [0x101028c], 1
call fcn.01003804
push edi
push edi
lea eax, [ebp - 0x27c]
push edi
push eax
call esi
test eax, eax
jne 0x10048d2
jmp 0x100494c
mov eax, dword [0x1006418]
test eax, eax
je 0x100493c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 3
push 0
push 0
push 0x47
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
xor edi, edi
mov eax, dword [0x101029c]
cmp eax, edi
je 0x100495c
push eax
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov eax, dword [0x10102a0]
cmp eax, edi
je 0x1004972
push eax
call dword [sym.imp.USER32.dll_CloseWindowStation]
mov dword [0x10102a0], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.010049fb
leave
ret 0x10