joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
mov byte [eax + 0x31], cl
movzx edx, byte [ebp + 8]
test edx, edx
je 0x4029b9
push 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4029c8
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4

Function at 0x404c60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00402b30
push 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xa
mov dword [ebp - 8], 1
jmp 0x404c9b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jg 0x404ccd
mov eax, 0xbe
cdq
idiv dword [ebp - 4]
imul eax, dword [ebp - 8]
add eax, 0x3c
mov dword [ebp - 0xc], eax
movzx ecx, byte [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00402b30
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404c92
mov esp, ebp
pop ebp
ret

Function at 0x4059b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov byte [edx + 0xc7], 1
push 0
push 0
push 0x200
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret

Function at 0x406260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4062d3
push 0
push 0
push 0x200
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x472
push 0x46b580
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
push edx
call sym.Install_style.exe_int___cdecl_ShowTray_struct_HWND_____struct_HICON_____wchar_t_const___unsigned_int_
add esp, 0x10
push 2
push 0x46b810
push 0x46b630
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call sym.Install_style.exe_int___cdecl_ShowBalloon_struct_HWND_____wchar_t_const___wchar_t_const___int_
add esp, 0x10
mov esp, ebp
pop ebp
ret 4
Function at 0x408e70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x31]
test ecx, ecx
jne 0x408e87
jmp 0x408f4f
cmp dword [ebp + 8], 0
jne 0x408e92
jmp 0x408f4f
mov edx, dword [ebp - 4]
cmp dword [edx + 0x54], 0
jle 0x408eeb
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x70]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x6c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x455988
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x408f4f
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.00414010
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408f4f
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x70]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.00414010
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4098c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x54], 0
je 0x40993d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40993d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp - 8]
jne 0x40993d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 4]
jne 0x40993d
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x100
call fcn.00406560
test eax, eax
jne 0x40993d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x104], eax
jmp 0x409a41
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x100
call fcn.004063e0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x108], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x10c], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00409870
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x54], 0
je 0x409997
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp - 0xc], SysReAllocString
mov edx, dword [ebp + 8]
push edx
push 1
push 0x80
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00409210
push 0
push 0
push 0xf
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
mov edx, dword [ebp - 0x14]
push edx
push 0x4094d0
call fcn.00402bb0
mov ecx, eax
call sym.Install_style.exe_public:_void____thiscall_CNsThread::StartThread_unsigned_int____stdcall___void____void___int_
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x104], eax
mov edx, dword [ebp - 0x14]
mov al, byte [ebp + 0x20]
mov byte [edx + 0x111], al
mov dword [ebp - 0x10], 0xffffffff
movzx ecx, byte [ebp + 0x20]
test ecx, ecx
je 0x409a2c
mov dword [ebp - 0x10], 1
push 4
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x60]
call eax
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40aa80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452328
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x464080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.0040bb80
movzx eax, al
test eax, eax
jne 0x40aac0
jmp 0x40ac79
cmp dword [ebp + 8], 0x25
jne 0x40ab12
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x13c], 0
jle 0x40aae7
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x13c]
sub eax, 1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x13c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x130]
cmp ecx, dword [eax + 0x13c]
jle 0x40ab0d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x13c]
mov dword [edx + 0x130], ecx
jmp 0x40abc1
cmp dword [ebp + 8], 0x27
jne 0x40ab48
mov ecx, dword [ebp - 0x14]
add ecx, 0x134
call fcn.00419570
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x13c], eax
jge 0x40ab46
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x13c]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x13c], ecx
jmp 0x40abc1
cmp dword [ebp + 8], 0x2e
jne 0x40ab5b
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.0040a9d0
jmp 0x40abc1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x40abc1
cmp dword [ebp + 8], 0x43
jne 0x40ab8a
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x154], 0
jle 0x40ab8a
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.0040a860
jmp 0x40abc1
cmp dword [ebp + 8], 0x58
jne 0x40ab9d
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.0040a7a0
jmp 0x40abc1
cmp dword [ebp + 8], 0x56
jne 0x40abb0
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.0040a8e0
jmp 0x40abc1
cmp dword [ebp + 8], 0x41
jne 0x40abc1
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.0040aa30
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.00401600
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.0040a300
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x13c]
sub ecx, dword [eax + 0x130]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x130]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x134
call fcn.00410910
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
call fcn.0040a040
mov esi, eax
mov eax, dword [ebp - 0x14]
add esi, dword [eax + 0x140]
mov ecx, dword [ebp - 0x14]
add esi, dword [ecx - 0x48]
call fcn.00401000
mov dword [eax + 0x3a4], esi
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0x28]
push eax
call fcn.00401000
mov ecx, eax
call sym.Install_style.exe_public:_void___thiscall_CNsApp::DrawCaret_struct_HWND____
mov ecx, dword [ebp - 0x14]
sub ecx, 0x54
push ecx
mov edx, dword [ebp + 8]
push edx
push 0xfb9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0x28]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004063a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x415e60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451d6b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x464080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00406300
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00406300
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x419dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
xor eax, eax
cmp dword [ebp + 0x10], 0
setne al
mov dword [ebp - 0xc], eax
xor ecx, ecx
jne 0x419dd5
xor edx, edx
jne 0x419dd5
cmp dword [ebp - 0xc], 0
jne 0x419ded
push 0x80004005
call fcn.004078b0
xor eax, eax
jne 0x419dc9
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x419f00
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jbe 0x419ef8
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jbe 0x419ee7
cmp dword [ebp - 0x14], 2
jbe 0x419e50
cmp dword [ebp - 0x14], 7
je 0x419e86
jmp 0x419ee7
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x419e75
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x419e84
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov eax, 0xd
jmp 0x419f03
jmp 0x419ef6
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x419ed6
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jb 0x419ed6
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
jne 0x419ed6
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jbe 0x419ee5
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 4]
test ecx, ecx
je 0x419ee5
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax], dx
mov eax, 0xd
jmp 0x419f03
jmp 0x419ef6
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx], cx
mov eax, 0xd
jmp 0x419f03
jmp 0x419f00
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x419f19
xor ecx, ecx
jne 0x419f19
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x419f60
mov eax, dword [ebp - 0xc]
jmp 0x419fbd
cmp dword [ebp - 4], 1
je 0x419f73
cmp dword [ebp - 4], 2
je 0x419f73
mov eax, 0xd
jmp 0x419fbd
cmp dword [ebp + 0xc], 0
je 0x419fb1
cmp dword [ebp - 8], 0
je 0x419fa9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x419fa0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x419fa7
mov eax, 0xd
jmp 0x419fbd
jmp 0x419fb1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41fa50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x41fa59
xor ecx, ecx
jne 0x41fa59
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41fa92
call fcn.0041ffa0
jmp 0x41faa8
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x41faa6
push 0x26
call fcn.004110b0
add esp, 4
jmp 0x41faa8
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x42047a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x464080]
jne 0x420484
repz ret
jmp fcn.00421474

Function at 0x428c04
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00424b2a
and dword [ebp - 0x14], 0
cmp dword [0x466f74], 0
mov dword [ebp - 0x18], eax
jne 0x428cb7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x428d5f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x428d5f
mov esi, dword [0x464e60]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x466f74], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x466f78], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x466f7c], eax
call edi
push eax
call esi
mov dword [0x466f84], eax
test eax, eax
je 0x428cb7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x466f80], eax
mov eax, dword [0x466f80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x464e64]
cmp eax, ecx
je 0x428d10
cmp dword [0x466f84], ecx
je 0x428d10
push eax
call esi
push dword [0x466f84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x428d10
test ebx, ebx
je 0x428d10
call edi
test eax, eax
je 0x428d07
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x428d07
test byte [ebp - 8], 1
jne 0x428d10
or dword [ebp + 0x10], 0x200000
jmp 0x428d43
mov eax, dword [0x466f78]
cmp eax, dword [ebp - 0x18]
je 0x428d43
push eax
call esi
test eax, eax
je 0x428d43
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428d43
mov eax, dword [0x466f7c]
cmp eax, dword [ebp - 0x18]
je 0x428d43
push eax
call esi
test eax, eax
je 0x428d43
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x466f74]
call esi
test eax, eax
je 0x428d5f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x428d61
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042047a
leave
ret
Function at 0x436540
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x218], ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x436584
xor eax, eax
jmp 0x436640
cmp dword [ebp + 0xc], 0
je 0x436623
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00421340
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x4365c9
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4365da
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x436621
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x436640
jmp 0x436631
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042047a
mov esp, ebp
pop ebp
ret 0xc

Function at 0x436780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0xc], 7
mov dword [ebp - 4], 0xf003f
cmp dword [ebp + 0x14], 0
je 0x4367ba
mov eax, dword [ebp - 4]
or eax, 0x100
mov dword [ebp - 4], eax
jmp 0x4367cf
call sym.Install_style.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x4367cf
mov ecx, dword [ebp - 4]
or ecx, 0x200
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436857
mov dword [ebp - 0x10], 0x104
push 0x20a
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.00421340
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43684d
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x436859
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042047a
mov esp, ebp
pop ebp
ret 0x14
Function at 0x436ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 0x26c
call fcn.00420b86
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x25c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x260], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x264], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x268], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push sym.Install_style.exe_public:_static_unsigned_long_int___stdcall_CNsReg::MonitorThread_void__
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x436b5d
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0x14