joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42950c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0042893e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004288f3
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0042892e
shr edx, cl
setl byte [eax - 0x5135b]
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0042893e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004288f3
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0042892e
cmpsb byte [esi], byte es:[edi]
xlatb
fsubr qword [esi]
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x429622
cmp dword [ebp - 0x398], 0
je 0x4297ec
cmp dword [ebp + 0xc], 1
je 0x4297ec
cmp dword [ebp + 0xc], 8
jne 0x4297b4
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
call fcn.0042892e
loopne 0x4297f5
inc ecx
push es
and byte [ebp - 0x544], 0
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.0042892e

Function at 0x429648
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
test dword [ecx - 7], edx
invalid
push dword [esi + eax*8]
test dword [edx - 7], edx
invalid
call dword [esi]
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
pop ss

Function at 0x429ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x678], ecx
push 4
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x678]
push eax
lea eax, [ebp - 0x38c]
push eax
call fcn.0042889f
add esp, 0xc
mov eax, dword [ebp - 0x38c]
cld
invalid
dec dword [ebx - 0x67773]
dec dword [ebp - 0x76fbfebc]
test dword [esp + edi*8 - 1], edx
jmp [edx + 4]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x3ac]
push eax
invalid
Function at 0x42d640
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42d671
je 0x42d6cb
sub eax, 7
je 0x42d692
dec eax
je 0x42d6bc
sub eax, 0x17
je 0x42d74c
jmp 0x42d78a
add eax, 0xffffff00
sub eax, 9
jb 0x42d738
add eax, 0xffffff09
sub eax, 0xb
jb 0x42d722
jmp 0x42d78a
mov eax, ebx
call fcn.0043d874
mov edi, eax
test edi, edi
je 0x42d7ea
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42d7f3
jmp 0x42d7ea
test byte [ebx + 0x44], 0x20
jne 0x42d7f3
jmp 0x42d7ea
mov edx, esi
mov eax, ebx
call fcn.0042af2c
cmp dword [esi + 0xc], 0xffffffff
jne 0x42d7f3
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407740
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.004299dc
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042d4f0
test eax, eax
je 0x42d7f3
mov dword [esi + 0xc], 1
jmp 0x42d7f3
mov edx, esi
mov eax, ebx
call fcn.0042d5b4
test al, al
jne 0x42d7f3
jmp 0x42d7ea
mov eax, ebx
call fcn.0042a5a4
test al, al
jne 0x42d7f3
jmp 0x42d7ea
mov eax, ebx
call fcn.0042fb70
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42d7ea
cmp dword [0x474778], 0
je 0x42d7ea
mov eax, dword [0x474778]
cmp ebx, dword [eax + 0x24]
jne 0x42d7ea
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x474778]
call fcn.0042ae48
jmp 0x42d7ea
mov eax, dword [0x476720]
cmp byte [eax + 0x20], 0
je 0x42d7ea
mov eax, dword [0x476720]
cmp dword [eax + 0x1c], 0
je 0x42d7ea
mov eax, dword [esi]
mov edx, dword [0x476720]
cmp eax, dword [edx + 0x1c]
jne 0x42d7ea
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043d788
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.004030f8
jmp 0x42d7f3
mov edx, esi
mov eax, ebx
call fcn.0042af2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dc84
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42dca0
cmp dword [esi + 4], 0
je 0x42dccd
test byte [ebx + 0x45], 1
jne 0x42dcbf
mov eax, ebx
call fcn.0042ccf4
test eax, eax
jne 0x42dcbf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42dddd
mov edx, esi
mov eax, ebx
call fcn.0042d8fc
jmp 0x42dddd
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42ddd6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042fb70
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042ae48
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042dc84
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042fb70
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dddd
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43725c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403b10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4372bd
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x4372bd
cmp byte [ebp - 0x102], 0
je 0x4372bd
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403d3c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d558
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4767d4
cmp dword [edi], 0
jne 0x43d5d4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4767d0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x474904
mov ecx, 2
call fcn.004028bc
mov edx, 0x43d530
lea eax, [esi + 5]
call fcn.0043d550
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043d550
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43d5a9
mov dword [0x4767d0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43d6f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43d748]
test si, 4
je 0x43d70c
or bl, 1
test si, 8
je 0x43d716
or bl, 4
test si, 1
je 0x43d720
or bl, 8
test si, 2
je 0x43d72a
or bl, 0x10
test si, 0x10
je 0x43d734
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43d743
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43d74c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43d784]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43d765
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43d774
or bl, 4
test esi, 0x20000000
je 0x43d77f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x443e28
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443fcd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40f4d4]
call fcn.00402eec
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403b10
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x443fa3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00434214
test al, al
je 0x443f96
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x443fdc
lea eax, [ebp - 0x254]
call fcn.004095c0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x443f96
xor eax, eax
push ebp
push 0x443f8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x444014
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x443f78
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d3c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x443f78
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443f96
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x443e99
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00412f8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443fd4
lea eax, [ebp - 0x260]
call fcn.00403b10
ret
Function at 0x4448d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4448ef
add esp, 0xfffffff0
call fcn.0040325c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004174dc
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40efa8]
call fcn.00402eec
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40efa8]
call fcn.00402eec
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x419268]
call fcn.00420208
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x444a60
mov eax, dword [0x475c04]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004205ac
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x446354
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x475c04]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c73c
test eax, eax
je 0x4449df
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ed8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c764
test eax, eax
je 0x4449f3
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d3c
mov eax, dword [0x475a8c]
cmp byte [eax], 0
jne 0x444a24
mov eax, ebx
call fcn.00444b4c
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444a56
call fcn.004032b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444da8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4767a4]
cmp dword [eax + 0x24], 0
je 0x444e38
cmp dword [ebx + 0x7c], 0
jne 0x444e35
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x444d3c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x444e35
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x444e04
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x444e35
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.004109dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x444e10
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x445788
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x4457bd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bf4
jmp 0x4457c7
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403ba8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x446684
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4466bc
mov eax, esi
call fcn.0042ff98
test al, al
je 0x4466bc
mov eax, dword [ebx + 0x6c]
call fcn.0042fb70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4466bc
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0042fb70
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45e443
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x47584e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e49b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x47586f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45e491
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x45e49f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
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
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x125f0376
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3a072e16
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a8004]
jne 0x40100a
repz ret
jmp fcn.004017af

Function at 0x405d6a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a8004]
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.00403529
and dword [ebp - 0x14], 0
cmp dword [0x4aab6c], 0
mov dword [ebp - 0x18], eax
jne 0x405e1d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405ec5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405ec5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4aab6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4aab70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4aab74], eax
call edi
push eax
call esi
mov dword [0x4aab7c], eax
test eax, eax
je 0x405e1d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4aab78], eax
mov eax, dword [0x4aab78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405e76
cmp dword [0x4aab7c], ecx
je 0x405e76
push eax
call esi
push dword [0x4aab7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405e76
test ebx, ebx
je 0x405e76
call edi
test eax, eax
je 0x405e6d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405e6d
test byte [ebp - 8], 1
jne 0x405e76
or dword [ebp + 0x10], 0x200000
jmp 0x405ea9
mov eax, dword [0x4aab70]
cmp eax, dword [ebp - 0x18]
je 0x405ea9
push eax
call esi
test eax, eax
je 0x405ea9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405ea9
mov eax, dword [0x4aab74]
cmp eax, dword [ebp - 0x18]
je 0x405ea9
push eax
call esi
test eax, eax
je 0x405ea9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4aab6c]
call esi
test eax, eax
je 0x405ec5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405ec7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x401450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x5c], ecx
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.004127e0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.004127e0
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x58]
push eax
push 0x41f228
push 0
push 0
push 0
push 0
push 0
push 0x41f22a
push str.spnsrv9x.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4014ca
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4016d0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
push 0xf01ff
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40170e
xor eax, eax
jmp 0x401750
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 8], 1
jne 0x40174b
cmp dword [ebp - 0x20], 4
jne 0x401747
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
xor eax, eax
jmp 0x401750
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x401760
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
push 0xf01ff
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40178c
xor eax, eax
jmp 0x4017b2
lea edx, [ebp - 0x1c]
push edx
push 1
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
cmp dword [ebp - 0x24], 1
setne al
mov esp, ebp
pop ebp
ret

Function at 0x4017c0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
push 0xf01ff
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4017ec
xor eax, eax
jmp 0x40180c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
cmp dword [ebp - 8], 1
setne al
mov esp, ebp
pop ebp
ret