joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ba0
Capabilities:
Find taskbar

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.Shell_TrayWnd
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
test esi, esi
je 0x406bdd
push 5
push esi
call ebx
push esi
call ebp
test eax, eax
je 0x406bdd
push 0x429f98
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push str.Shell_SecondaryTrayWnd
call edi
mov esi, eax
test esi, esi
je 0x406c04
push 5
push esi
call ebx
push esi
call ebp
test eax, eax
je 0x406c04
push 0x429f98
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406c10
Capabilities:
Find taskbar
Hide the windows taskbar

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.Shell_TrayWnd
call edi
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, eax
test esi, esi
je 0x406c4d
push esi
call ebp
test eax, eax
je 0x406c44
push 0x429f98
push esi
call ebx
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push str.Shell_SecondaryTrayWnd
call edi
mov esi, eax
test esi, esi
je 0x406c74
push esi
call ebp
test eax, eax
je 0x406c6b
push 0x429f98
push esi
call ebx
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406c80
Capabilities:
Hide graphical window
Hide the windows taskbar

Disassembly:
push 0
call fcn.00406f80
mov eax, dword [0x429f8c]
add esp, 4
test eax, eax
je 0x406c98
jmp fcn.00406c10
ret

Function at 0x4070d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40ebf7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.004010c0
fld qword [esp + 0x28]
fld qword [0x40f3e0]
mov dword [esp + 0x1c], 1
call sub.MSVCRT.dll__CIfmod
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x28]
fmul qword [0x40f3d8]
mov esi, eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x28]
fmul qword [0x40f3d0]
mov edi, eax
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fld qword [0x40f3e0]
call sub.MSVCRT.dll__CIfmod
call sub.MSVCRT.dll__ftol
push str._02d:_02d:_02d
lea ecx, [esp + 0x2c]
mov ebp, eax
call fcn.00401190
mov eax, dword [eax]
push esi
push ebp
push edi
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x30], 2
call fcn.004015b0
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.00401b80
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004010d0
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00401b80
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4092c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40ecdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call fcn.004010c0
mov eax, dword [esp + 0x20]
xor edx, edx
mov ecx, eax
mov dl, ah
shr ecx, 0x10
and ecx, 0xff
and edx, 0xff
push ecx
and eax, 0xff
push edx
push eax
lea eax, [esp + 0x10]
push str._02X_02X_02X
push eax
mov dword [esp + 0x28], 1
call fcn.004015b0
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004010d0
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00401b80
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x409760
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x40ed48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push str.AtlMiscX.cpp
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00401190
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
call fcn.00401b80
mov eax, dword [0x427700]
mov ebp, dword [sym.imp.USER32.dll_AppendMenuW]
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x40986c
mov eax, dword [edi*4 + 0x4191cc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jle 0x40985e
lea ecx, [esp + 0x10]
inc ebx
call fcn.004010c0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi*4 + 0x4189cc]
mov edx, dword [edi*4 + 0x4191cc]
cmp eax, 0xffffffff
push ecx
mov dword [esp + 0x50], 0
push edx
jne 0x409819
lea eax, [esp + 0x18]
push str._s____d___
push eax
call fcn.004015b0
add esp, 0x10
jmp 0x40982c
push edi
lea eax, [esp + 0x1c]
push str._d.___s____d___
push eax
call fcn.004015b0
add esp, 0x14
mov ecx, dword [esp + 0x10]
xor eax, eax
push ecx
mov ecx, dword [0x4276f0]
cmp ecx, edi
lea edx, [edi + 0xa]
setne al
dec eax
push edx
and eax, 0xb
or ah, 4
push eax
push esi
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00401b80
mov eax, dword [0x427700]
inc edi
cmp edi, eax
jl 0x4097c3
sar ebx, 1
push 0x4189bc
push 0
add ebx, 2
push 0x4460
push ebx
push esi
call dword [sym.imp.USER32.dll_InsertMenuW]
xor ebx, ebx
push ebx
push ebx
push 0xc00
push esi
call ebp
push str.Translate
push 0x3e8
push 0x400
push esi
call ebp
push 0x4187dc
push 0x3e9
push 0x400
push esi
call ebp
mov ecx, dword [0x42998c]
push 0x7e6
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00403a80
mov ecx, eax
add esp, 0xc
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [0x42998c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [0x42998c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x7e6
push 0x403
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0x100
push eax
push ecx
push esi
mov ecx, 0x429948
mov dword [0x429994], ebx
call fcn.0040ba30
mov edx, dword [0x42998c]
push ebx
push 0x7e6
push 0x403
push edx
mov esi, eax
mov dword [0x429994], ebx
call edi
cmp esi, ebx
je 0x4099b0
cmp esi, 0xa
jl 0x40998f
cmp esi, 0x3d
jg 0x40998f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
add esi, 0xfffffff6
push eax
mov dword [0x4276f0], esi
call fcn.00408c70
mov ecx, dword [0x4276f0]
push ecx
push 0x417ca8
call fcn.00402730
add esp, 8
jmp 0x4099b0
cmp esi, 0x3e8
jne 0x4099a3
push 1
call fcn.004037d0
add esp, 4
jmp 0x4099b0
cmp esi, 0x3e9
jne 0x4099b0
call fcn.00403700
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x409e70
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push ebp
mov ebp, dword [esp + 0x108]
push edi
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409eec
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyboardState]
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x409ec8
test byte [esp + 0x1e], 0x80
jne 0x409ec8
push 0
push 1
push 0
push 0x12
call edi
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [esp + 0xc]
push ecx
call esi
test eax, eax
pop esi
je 0x409eec
test byte [esp + 0x1a], 0x80
jne 0x409eec
push 0
push 3
push 0
push 0x12
call edi
pop edi
pop ebp
add esp, 0x100
ret

Function at 0x409fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x40edbc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.004010c0
mov al, 0x6f
mov ebx, 1
mov byte [esp + 0x11], al
mov byte [esp + 0x18], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0xd8], ebx
mov byte [esp + 0x14], 0x73
mov byte [esp + 0x16], 0x66
mov byte [esp + 0x17], 0x74
mov byte [esp + 0x18], 0x77
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x65
mov byte [esp + 0x1d], 0x6b
mov byte [esp + 0x1e], 0x2e
mov byte [esp + 0x1f], 0
call fcn.004012b0
mov eax, dword [0x4276f0]
test eax, eax
jne 0x40a081
push 0x41886c
lea ecx, [esp + 0xc]
call fcn.00401190
lea ecx, [esp + 8]
mov byte [esp + 0xd4], 2
push ecx
lea ecx, [esp + 0x10]
call fcn.00401300
mov byte [esp + 0xd4], bl
lea ecx, [esp + 8]
jmp 0x40a133
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je 0x40a104
mov eax, dword [esp + 0x20]
cmp eax, 0xffffff10
jl 0x40a0d3
cmp eax, 0xf0
jg 0x40a0d3
push 0x418868
lea ecx, [esp + 0xc]
call fcn.00401190
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0xd8], 3
call fcn.00401300
mov byte [esp + 0xd4], bl
lea ecx, [esp + 8]
jmp 0x40a133
push 0x418864
lea ecx, [esp + 0xc]
call fcn.00401190
lea ecx, [esp + 8]
mov byte [esp + 0xd4], 4
push ecx
lea ecx, [esp + 0x10]
call fcn.00401300
mov byte [esp + 0xd4], bl
lea ecx, [esp + 8]
jmp 0x40a133
push 0x418864
lea ecx, [esp + 0xc]
call fcn.00401190
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0xd8], 5
call fcn.00401300
mov byte [esp + 0xd4], bl
lea ecx, [esp + 8]
call fcn.00401b80
push str.http:__www.
lea ecx, [esp + 0xc]
call fcn.00401190
mov esi, dword [esp + 0xdc]
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
push esi
mov byte [esp + 0xe0], 6
call fcn.0040a420
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 8]
mov byte [esp + 0xd4], bl
call fcn.00401b80
lea ecx, [esp + 0xc]
mov byte [esp + 0xd4], 0
call fcn.00401b80
mov ecx, dword [esp + 0xcc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret
Function at 0x40a1b0
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40ede0
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
push 0x40023
mov esi, ecx
push 0xca
call fcn.004021f0
add esp, 4
push eax
push 0xdf
call fcn.004021f0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40a389
mov eax, dword [0x424a88]
push ebx
push 0
push eax
call fcn.0040d590
add esp, 8
call fcn.00403d50
lea ecx, [esp + 8]
call fcn.004010c0
mov al, 0x6f
mov cl, 0x74
mov byte [esp + 0x1f], al
mov byte [esp + 0x21], al
mov byte [esp + 0x28], al
mov byte [esp + 0x32], al
mov byte [esp + 0x36], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x23], cl
mov byte [esp + 0x27], cl
mov byte [esp + 0x31], cl
mov al, 0x6e
mov byte [esp + 0x3f], cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x37], al
mov byte [esp + 0x3b], al
mov byte [esp + 0x3d], al
mov dl, 0x73
mov bl, 0x69
mov al, 0x6c
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
mov byte [esp + 0x18], 0x3f
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x65
mov byte [esp + 0x1e], 0x3d
mov byte [esp + 0x1f], 0x4d
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0x63
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x24], dl
mov byte [esp + 0x26], 0x66
mov byte [esp + 0x28], 0x2f
mov byte [esp + 0x29], 0x41
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x64
mov byte [esp + 0x30], 0x65
mov byte [esp + 0x31], 0x44
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x6b
mov byte [esp + 0x37], 0x70
mov byte [esp + 0x38], 0x49
mov byte [esp + 0x39], 0x63
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3d], 0x2f
mov byte [esp + 0x3e], 0x55
mov byte [esp + 0x40], bl
mov byte [esp + 0x42], dl
mov byte [esp + 0x44], 0x61
mov byte [esp + 0x45], al
mov byte [esp + 0x46], al
mov byte [esp + 0x47], 0
call fcn.004012b0
lea edx, [esp + 0x10]
push edx
call fcn.00409fc0
add esp, 4
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x58], 1
call fcn.0040a420
mov eax, dword [eax]
push 5
push 0
push 0
push eax
mov eax, dword [esi + 0x1018]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xc]
call fcn.00401b80
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 0
call fcn.00401b80
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00401b80
pop ebx
mov ecx, dword [esp + 0x40]
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x40a4c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x70
push ebp
push esi
push edi
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [0x424a80]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0xc], eax
push 0
lea edx, [eax + 2]
push ecx
mov ecx, dword [esp + 0x8c]
lea eax, [eax + eax*2]
push 0
push ebp
shl eax, 2
push edx
mov edx, dword [esp + 0x94]
push eax
push 0
push 0
push ecx
push 0
push 0x418878
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov eax, dword [0x429fe4]
test eax, eax
jne 0x40a560
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, eax
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
push ecx
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3e], 2
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x429fe4], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x30
push esi
call edi
push 0
push 0x14
push 0x41e
push esi
call edi
push 0xc0000
push 0
push 0x420
push esi
call edi
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x40a60a
push eax
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov edi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], edx
push edx
push edi
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x10]
push ecx
push ebp
call edi
lea edx, [esp + 0x18]
push edx
push ebp
call edi
fild dword [esp + 0xc]
push 0
fmul qword [0x40f410]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
sub ecx, eax
push ecx
push edx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x70
ret

Function at 0x40a690
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
mov eax, dword [esi + 0x814]
mov ecx, dword [esi + 0x820]
push eax
push 7
push 2
push ecx
mov ecx, esi
mov dword [esi], 0x40f418
call fcn.0040a750
mov esi, dword [esi + 0xc]
test esi, esi
je 0x40a6c9
push 0x444
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
ret

Function at 0x40a6d0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
mov eax, dword [esi + 0x814]
mov ecx, dword [esi + 0x820]
push eax
push 7
push 2
push ecx
mov ecx, esi
call fcn.0040a750
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40a70a
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xc], 0
pop esi
ret
Function at 0x40a7f0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.Shell_TrayWnd
push 0
push 0
call esi
test eax, eax
je 0x40a82c
push 0
push str.TrayNotifyWnd
push 0
push eax
call esi
test eax, eax
je 0x40a82c
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
pop esi
add esp, 0x24
ret
lea edx, [esp + 4]
mov dword [esp + 4], 0x24
push edx
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x40a8a5
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x40a852
jmp dword [eax*4 + 0x40a920]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
pop esi
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 8], edx
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
pop esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
add esp, 0x24
ret
push 0
push str.Shell_TrayWnd
push 0
push 0
call esi
test eax, eax
je 0x40a8f4
mov esi, dword [esp + 0x2c]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x96
jle 0x40a8da
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, eax
sub edx, ecx
cmp edx, 0x1e
jle case.default.0x40a852
add eax, 0xffffffe2
mov dword [esi + 4], eax
pop esi
add esp, 0x24
ret
mov esi, dword [esp + 0x2c]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 0x96
sub ecx, 0x1e
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
add esp, 0x24
ret

Function at 0x40a970
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
test eax, eax
push esi
mov esi, dword [esp + 0x28]
je 0x40a9b5
call fcn.0040a930
test eax, eax
je 0x40a9b5
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 4]
push ecx
call fcn.0040a7f0
add esp, 4
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
push 3
push esi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x20
ret 8
Function at 0x40aad0
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push edx
mov dword [esi + 0x814], eax
lea eax, [esi + 0x10]
push eax
mov dword [esi + 0x810], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, esi
call fcn.0040a9f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40ab0b
mov dword [esi + 0x818], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40ab3f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40ab26
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esi + 8]
push ecx
push 0
push esi
push 0x40ab50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
mov eax, 1
pop esi
ret 0x14
Function at 0x40bac0
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x2c
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x38]
push eax
call fcn.0040b9c0
mov ecx, dword [esi + 0x30]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40bc3e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x30]
jne 0x40bc3e
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ebp, eax
xor edi, edi
cmp ebp, edi
je 0x40bc3e
mov ecx, dword [esi + 0x24]
push ebx
push 1
push ecx
mov ecx, esi
mov dword [esi + 0x14], 1
call fcn.0040b6a0
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0040b660
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x2c]
push 1
push eax
push edi
push ecx
mov dword [esp + 0x24], edx
call ebx
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x18]
push 2
push edx
push edi
push eax
call ebx
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [0x429ff8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x40bc50
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x429ffc], eax
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push 0x140
push ebp
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
cmp eax, edi
pop ebx
je 0x40bc0f
mov edx, dword [esi + 0x2c]
push 0xaffe0000
push eax
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x24]
push edi
push eax
mov ecx, esi
mov dword [esi + 0x10], 0xffffffff
call fcn.0040b6a0
mov ecx, dword [0x429ffc]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x429ffc], edi
mov dword [0x429ff8], edi
mov dword [esi + 0x18], edi
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
Function at 0x40bce0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x424a80]
sub esp, 0x260
mov ecx, dword [esp + 0x268]
mov edx, dword [esp + 0x264]
push ebx
push ebp
mov ebp, dword [esp + 0x274]
push esi
push 0
push eax
push 0
push ebp
push 0x14
push 0xb4
push 0
push 0
push ecx
push 0
push 0x418878
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov eax, dword [0x42a010]
test eax, eax
jne 0x40bdac
push edi
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, eax
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, 0x7c
xor eax, eax
lea edi, [esp + 0x80]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0x1f4
push ecx
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x40bd9b
mov ecx, 0x17
lea esi, [esp + 0x15c]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x42a010], eax
pop edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x30
push ebx
call esi
push 0
push 0x14
push 0x41e
push ebx
call esi
push 0x100000
push 0
push 0x420
push ebx
call esi
mov eax, dword [esp + 0x27c]
test eax, eax
je 0x40be48
push eax
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
push eax
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0xc]
push edx
push ebp
call esi
lea eax, [esp + 0x14]
push eax
push ebp
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
sub ecx, eax
push 0x18
push ecx
push edx
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x260
ret