joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d5a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push esi
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareAutoIt_v3AutoIt
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401e97
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push 0x415718
push esi
push str.SoftwareAutoIt_v3AU3Info
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
pop ebx
push ebx
push 0x41a060
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.WinX
push dword [ebp - 4]
call esi
push ebx
push 0x41a064
push ebx
push 0
push str.WinY
push dword [ebp - 4]
call esi
push ebx
push 0x41a068
push ebx
push 0
push str.WinW
push dword [ebp - 4]
call esi
push ebx
push 0x41a06c
push ebx
push 0
push str.WinH
push dword [ebp - 4]
call esi
push ebx
push 0x41a050
push ebx
push 0
push str.CoordMode
push dword [ebp - 4]
call esi
push ebx
push 0x41a070
push ebx
push 0
push str.ControlFindMode
push dword [ebp - 4]
call esi
push ebx
push 0x41a054
push ebx
push 0
push str.HighlightControls
push dword [ebp - 4]
call esi
push ebx
push 0x41a05c
push ebx
push 0
push str.Magnify
push dword [ebp - 4]
call esi
push ebx
push 0x41a058
push ebx
push 0
push str.AlwaysOnTop
push dword [ebp - 4]
call esi
push ebx
push 0x41a074
push ebx
push 0
push str.HighlightColor
push dword [ebp - 4]
call esi
push ebx
push 0x41a078
push ebx
push 0
push str.LastTab
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402145
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
xor ebx, ebx
mov esi, 0x220
push ebx
push 0xe
push 0xfd
push 0x196
push 0xbe
push 6
push 0xd
push 0x415718
push str.SysListView32
push esi
call fcn.00401ef9
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push ebx
push 0x1036
push edi
call esi
push 0x20
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00405b40
add esp, 0xc
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x34], ebx
mov ebx, 0x1061
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x40], 0x46
push eax
push 1
push ebx
push edi
mov dword [ebp - 0x3c], str.Property
call esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x40], 0x258
push eax
push 2
push ebx
push edi
mov dword [ebp - 0x3c], str.Value
mov dword [ebp - 0x34], 1
call esi
push 0x28
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00405b40
add esp, 0xc
mov dword [ebp - 0x14], str.Title
xor ecx, ecx
lea eax, [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
inc ebx
mov dword [ebp - 0x24], ecx
push eax
push ecx
push 0x104d
push edi
mov dword [ebp - 0x28], ebx
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], ebx
push eax
push 0
mov ebx, 0x104d
mov dword [ebp - 0x14], str.Class
push ebx
push edi
call esi
mov dword [ebp - 0x14], 0x415b2c
mov dword [ebp - 0x24], 2
lea eax, [ebp - 0x28]
push eax
push 0
push ebx
push edi
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Size
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 3
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Style
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 4
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.ExStyle
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 5
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Handle
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 6
call esi
push 0xfffe
xor ebx, ebx
push ebx
push 0x101e
push edi
call esi
push 0x13
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4022d9
mov ecx, edi
call fcn.004040a3
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4022e2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
push 1
push 0xf
pop ebx
push ebx
push 0xfd
push 0x196
push 0xbe
push 6
push 0xd
push 0x415718
push str.SysListView32
mov esi, 0x220
push esi
call fcn.00401ef9
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 0
push 0x1036
push edi
call esi
push 0x20
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00405b40
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x48]
and dword [ebp - 0x34], 0
add esp, 0xc
mov dword [ebp - 0x48], ebx
mov ebx, 0x1061
mov dword [ebp - 0x40], 0x78
mov dword [ebp - 0x3c], str.Property
push eax
push 1
push ebx
push edi
call esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x40], 0x258
push eax
push 2
push ebx
push edi
mov dword [ebp - 0x3c], str.Value
mov dword [ebp - 0x34], 1
call esi
push 0x28
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00405b40
add esp, 0xc
mov dword [ebp - 0x14], str.Class
xor ecx, ecx
lea eax, [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
inc ebx
mov dword [ebp - 0x24], ecx
push eax
push ecx
push 0x104d
push edi
mov dword [ebp - 0x28], ebx
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], ebx
push eax
push 0
mov ebx, 0x104d
mov dword [ebp - 0x14], str.Instance
push ebx
push edi
call esi
mov dword [ebp - 0x14], str.ClassnameNN
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 2
push eax
push 0
push ebx
push edi
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Name
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 3
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Advanced_Mode
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 4
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0x415bcc
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 5
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Text
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 6
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Position
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 7
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Size
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 8
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.ControlClick_Coords
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 9
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.Style
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 0xa
call esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], str.ExStyle
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x24], 0xb
call esi
mov dword [ebp - 0x14], str.Handle
mov dword [ebp - 0x24], 0xc
lea eax, [ebp - 0x28]
push eax
push 0
push ebx
push edi
call esi
push 0xfffe
xor ebx, ebx
push ebx
push 0x101e
push edi
call esi
push 0x13
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402507
mov ecx, edi
call fcn.004040a3
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
push 4
push 0x12
push 0xfd
push 0x196
push 0xbe
push 6
push 0xd
push 0x415718
push str.SysListView32
mov edi, 0x220
push edi
call fcn.00401ef9
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push edi
xor edi, edi
push edi
push 0x1036
push esi
call ebx
push 0x20
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00405b40
add esp, 0xc
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], edi
mov edi, 0x1061
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x18], 0x46
push eax
push 1
push edi
push esi
mov dword [ebp - 0x14], str.Property
call ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x258
push eax
push 2
push edi
push esi
mov dword [ebp - 0x14], str.Value
mov dword [ebp - 0xc], 1
call ebx
push 0x28
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00405b40
and dword [ebp - 0x40], 0
add esp, 0xc
mov dword [ebp - 0x48], 1
xor edi, edi
mov dword [ebp - 0x34], 0x415718
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], edi
push eax
push 0
push 0x104d
push esi
call ebx
inc edi
cmp edi, 0xa
jl 0x4025d6
push 0x13
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40260f
mov ecx, esi
call fcn.004040a3
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402618
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
push 5
push 0x16
push 0xfd
push 0x196
push 0xbe
push 6
push 0xd
push 0x415718
push str.SysListView32
mov edi, 0x220
push edi
call fcn.00401ef9
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push edi
xor edi, edi
push edi
push 0x1036
push esi
call ebx
push 0x20
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00405b40
add esp, 0xc
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], edi
inc edi
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x18], 0x28
push eax
push edi
push 0x1061
push esi
mov dword [ebp - 0x14], str.Index
call ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], edi
push eax
push 2
pop edi
push edi
push 0x1061
push esi
mov dword [ebp - 0x18], 0x4b
mov dword [ebp - 0x14], str.Command_ID
call ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x258
push eax
push 3
push 0x1061
push esi
mov dword [ebp - 0x14], str.Text
mov dword [ebp - 0xc], edi
call ebx
push 0x28
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00405b40
and dword [ebp - 0x40], 0
add esp, 0xc
mov dword [ebp - 0x48], 1
xor edi, edi
mov dword [ebp - 0x34], 0x415718
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], edi
push eax
push 0
push 0x104d
push esi
call ebx
inc edi
cmp edi, 0xa
jl 0x4026fe
push 0x13
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402737
mov ecx, esi
call fcn.004040a3
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
push 6
push 0x13
push 0xfd
push 0x196
push 0xbe
push 6
push 0xd
push 0x415718
push str.SysListView32
mov esi, 0x220
push esi
call fcn.00401ef9
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
mov edi, eax
push 0x1036
push edi
call esi
push 0x20
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00405b40
add esp, 0xc
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov ebx, 0x1061
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x18], 0x46
push eax
push 1
push ebx
push edi
mov dword [ebp - 0x14], str.Property
call esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x258
push eax
push 2
push ebx
push edi
mov dword [ebp - 0x14], str.Value
mov dword [ebp - 0xc], 1
call esi
push 0x28
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00405b40
add esp, 0xc
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x34], str.Position
push eax
push ebx
mov ebx, 0x104d
push ebx
push edi
call esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x34], str.Cursor_ID
push eax
push 0
push ebx
push edi
mov dword [ebp - 0x44], 1
call esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x34], str.Color
mov dword [ebp - 0x44], 2
push eax
push 0
push ebx
push edi
call esi
push 0xfffe
xor ebx, ebx
push ebx
push 0x101e
push edi
call esi
push 0x13
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402875
mov ecx, edi
call fcn.004040a3
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4028ac
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
cmp dword [0x41a528], esi
jbe 0x402939
mov eax, dword [0x41a524]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x402930
cmp dword [ecx + 0x18], 0xffffffff
je 0x402930
mov edx, dword [ebp + 8]
cmp dword [ecx + 0x18], edx
jne 0x402914
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x41a524]
push 1
mov eax, dword [eax + esi*4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x41a524]
mov eax, dword [eax + esi*4]
mov edi, dword [eax + 4]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402930
mov ecx, edi
call fcn.004040a3
jmp 0x402930
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x41a524]
push 0
mov eax, dword [eax + esi*4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
inc esi
cmp esi, dword [0x41a528]
jb 0x4028bc
pop edi
pop esi
pop ecx
pop ebp
ret 4
Function at 0x403258
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.00405a2b
pop ecx
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4032b9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4032b9
push dword [ebp + 8]
push eax
call fcn.00405b14
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x41a014]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
ret 4
Function at 0x40413e
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetDC]
push edi
push 0
call esi
push dword [0x41a518]
mov dword [ebp - 0x24], eax
call esi
cmp dword [0x41a490], 0
mov edx, dword [0x41a038]
mov ecx, dword [0x41a03c]
mov dword [ebp - 0x20], eax
lea eax, [edx - 3]
mov dword [ebp - 0x1c], eax
lea edi, [edx + 0x20]
lea eax, [ecx - 3]
mov dword [ebp - 0x28], eax
lea esi, [ecx + 0x20]
jne 0x4041a7
push 8
push dword [0x41a518]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x41a490], 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [edi + 0x80]
cmp eax, dword [ebp - 0xc]
jl 0x4041cf
mov edi, dword [0x41a038]
add edi, 0xffffff60
lea eax, [esi + 0x80]
cmp eax, dword [ebp - 8]
jl 0x4041e6
mov esi, dword [0x41a03c]
add esi, 0xffffff60
push 1
mov eax, 0x80
push eax
push eax
push esi
push edi
push dword [0x41a518]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, 0x80
push eax
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x30], eax
call esi
push 0xff0062
mov dword [ebp - 0x34], eax
mov eax, 0x80
push eax
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
push 0xcc0020
push 7
push 7
push dword [ebp - 0x28]
mov eax, 0x80
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push eax
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [0x41a074]
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push edi
mov dword [ebp - 0x2c], eax
call esi
push 6
push edi
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_SetROP2]
push 0
push 0x3f
push 0
push edi
mov edi, dword [sym.imp.GDI32.dll_MoveToEx]
mov dword [ebp - 0x1c], eax
call edi
mov esi, dword [sym.imp.GDI32.dll_LineTo]
push 0x3f
push 0x7f
push dword [ebp - 0x18]
call esi
push 0
push 0
push 0x3f
push dword [ebp - 0x18]
call edi
mov edi, dword [ebp - 0x18]
push 0x7f
push 0x3f
push edi
call esi
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.GDI32.dll_SetROP2]
push dword [ebp - 0x28]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push 0xcc0020
xor ecx, ecx
mov eax, 0x80
push ecx
push ecx
push dword [ebp - 0x18]
push eax
push eax
push ecx
push ecx
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
push dword [0x41a518]
call esi
push dword [ebp - 0x24]
push 0
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00405341
mov esp, ebp
pop ebp
ret
Function at 0x404dce
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], 1
jne 0x404df9
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x404e12
push 1
jmp 0x404dfa
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret 8
Function at 0x40c0f3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004078dc
mov dword [ebp - 0x14], eax
cmp dword [0x419ff0], esi
jne 0x40c1e6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c173
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c2c6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c2c6
push 0x4155c4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c2c6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x419ff0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x419ff4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x419ff8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41a000], eax
test eax, eax
je 0x40c1e3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x419ffc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c20b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c1fe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c220
push 4
pop eax
jmp 0x40c2c8
cmp dword [ebp - 0x14], esi
je 0x40c220
push dword [0x419ff0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c205
mov eax, dword [0x419ffc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c27e
cmp dword [0x41a000], edi
je 0x40c27e
push eax
call ebx
push dword [0x41a000]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c27e
test eax, eax
je 0x40c27e
call ecx
test eax, eax
je 0x40c273
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c273
test byte [ebp - 8], 1
jne 0x40c27e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c2ae
mov eax, dword [0x419ff4]
cmp eax, edi
je 0x40c2ab
push eax
call ebx
test eax, eax
je 0x40c2ab
call eax
mov esi, eax
test esi, esi
je 0x40c2ab
mov eax, dword [0x419ff8]
cmp eax, edi
je 0x40c2ab
push eax
call ebx
test eax, eax
je 0x40c2ab
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x419ff0]
call ebx
test eax, eax
je 0x40c2c6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c2c8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405341
mov esp, ebp
pop ebp
ret
Function at 0x40881c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push esi
push edi
xor ecx, ecx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x100]
lodsb al, byte [esi]
or al, al
je 0x408845
inc ecx
test cl, 3
je 0x408842
shl eax, 8
jmp 0x408832
stosd dword es:[edi], eax
jmp 0x408832
mov al, 0x80
push ecx
inc ecx
test cl, 3
je 0x408853
shl eax, 8
jmp 0x408848
stosd dword es:[edi], eax
xor eax, eax
jmp 0x40885c
stosd dword es:[edi], eax
add ecx, 4
cmp ecx, 0x3c
jb 0x408858
pop eax
shl eax, 3
stosd dword es:[edi], eax
sub ecx, 0xc
mov eax, dword [edi - 0x3c]
push ecx
mov ecx, eax
mov edx, eax
ror eax, 7
ror ecx, 0x12
shr edx, 3
xor eax, ecx
xor eax, edx
push eax
mov eax, dword [edi - 8]
mov ecx, eax
mov edx, eax
ror eax, 0x11
ror ecx, 0x13
shr edx, 0xa
xor eax, ecx
xor eax, edx
add dword [esp], eax
pop eax
add eax, dword [edi - 0x40]
pop ecx
add eax, dword [edi - 0x1c]
stosd dword es:[edi], eax
loop 0x408869
call int.004088c6
out 9, al
push 0xffffffffffffff85
scasb al, byte es:[edi]
mov ebx, 0x3c6ef372
cmp dh, ch
dec edi
movsd dword es:[edi], dword [esi]
jg 0x40890a
push cs
push ecx
mov word [eax + 5], gs
wait
stosd dword es:[edi], eax
fld dword [ebx - 0x1f32e6e1]
pop ebx
invalid