joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b65e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push 0x101b2bc
mov dword [ebp - 8], 4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x100a1c0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b6bd
lea eax, [ebp - 8]
push eax
push 0x101b2d4
lea eax, [ebp - 0xc]
push eax
push 0
push 0x100b6c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x100bf63
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x100c080
call fcn.01005db6
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100c076
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100c076
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
jne 0x100f8dd
cmp dword [ecx + 0x74], 0xe
jbe 0x100c076
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x101b7f4], 0xffffffff
or dword [0x101b7f8], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x101b7ec]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x101b7e8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x101b7f0], eax
call fcn.0100c58d
cmp dword [0x101b7a0], edi
je 0x100f902
call fcn.0100d421
push 0x101b798
push 0x101b794
call sub.msvcrt.dll__initterm
mov eax, dword [0x101b7e4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x101b7e0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x101b790
push 0x101b788
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100d01e
jmp 0x100f913
mov dword [ebp - 0x1c], edi
jmp 0x100bfbb
cmp eax, 0x20b
jne 0x100c076
cmp dword [ecx + 0x84], 0xe
jbe 0x100c076
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100bfb5
push fcn.0100c58d
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
jmp 0x100c00e
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x100f927
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100f966
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01005df1
ret
Function at 0x100d2a7
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push 0x20
xor esi, esi
push 0x40
mov dword [ebp - 4], 0x10
mov dword [0x101b354], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, esi
mov dword [0x101b354], eax
je 0x100f2af
mov ecx, dword [ebp - 4]
add ecx, ecx
mov word [0x101b352], cx
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
push dword [0x101b354]
je 0x100f2b6
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push esi
push esi
shl eax, 1
push esi
mov word [0x101b350], ax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
xor ecx, ecx
cmp eax, esi
setne cl
mov dword [0x101b7d8], eax
mov eax, ecx
pop esi
leave
ret
xor eax, eax
jmp 0x100d31f
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x101b354], esi
jmp 0x100f2af

Function at 0x1010559
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x101b124]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24c]
push eax
mov ebx, 0x238
push ebx
lea eax, [ebp - 0x23c]
push eax
push 2
push esi
call dword [sym.imp.ntdll.dll_NtQueryKey]
test eax, eax
jne 0x1010620
mov eax, dword [ebp - 0x228]
and dword [ebp - 0x240], 0
test eax, eax
mov dword [ebp - 0x248], eax
jbe 0x1010620
push edi
push ebx
lea eax, [ebp - 0x23c]
push eax
push 0
push esi
call fcn.01009116
test eax, eax
jne 0x101061f
lea eax, [ebp - 0x244]
push eax
push 0x30019
push 0
lea eax, [ebp - 0x23c]
push eax
push esi
call fcn.01002cdf
test eax, eax
jne 0x101061f
push dword [ebp - 0x244]
call fcn.01010559
lea eax, [ebp - 0x23c]
push eax
push esi
call fcn.010155c8
push dword [ebp - 0x244]
mov edi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
jne 0x101061f
inc dword [ebp - 0x240]
mov eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x248]
jb 0x10105ae
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0100156d
leave
ret 4

Function at 0x10108d5
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push fcn.01010801
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10108fd
call fcn.01010801
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x10130f1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x101b124]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push esi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
jne 0x101315a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1013161
push 0x1e
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x101315a
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
cmp eax, 0xea
je 0x101311a
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0100156d
leave
ret 4

Function at 0x1013174
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0xc]
xor edi, edi
call fcn.01001481
call fcn.01010974
mov ebx, eax
shl eax, 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x10131b1
push 0x101b078
call dword [sym.imp.ntdll.dll_RtlReleaseResource]
jmp 0x101328b
push esi
call fcn.01006369
mov esi, eax
jmp 0x1013203
test byte [esi + 0x28], 0x30
je 0x1013200
mov eax, dword [esi + 0x2c]
cmp eax, 1
je 0x1013200
cmp eax, 3
je 0x1013200
test byte [esi + 0x30], 4
je 0x1013200
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1013200
push 0
push 0
push 0
push 5
push dword [eax + 0x14]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.010060ea
test eax, eax
jne 0x1013200
cmp edi, ebx
jae 0x1013200
mov eax, dword [ebp - 4]
mov dword [eax + edi*4], esi
inc edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x10131bb
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test edi, edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
je 0x1013275
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
xor esi, esi
xor edi, edi
cmp dword [ebp - 8], edx
jbe 0x1013275
mov eax, dword [ebp - 4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x2c]
sub ecx, 3
je 0x1013247
dec ecx
jne 0x101325c
mov eax, 0x7530
jmp 0x1013253
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x1013253
mov eax, 0x4e20
cmp edi, eax
jae 0x1013259
mov edi, eax
xor esi, esi
inc esi
inc edx
cmp edx, dword [ebp - 8]
jb 0x101322f
test esi, esi
je 0x1013275
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, edi
jbe 0x1013271
xor esi, esi
test esi, esi
jne 0x1013219
push 0x1016e5b
call sub.SCESRV.dll_ScesrvTerminateServer
push 0x101b078
call dword [sym.imp.ntdll.dll_RtlReleaseResource]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x1014061
Capabilities:
Unload driver

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi + 8]
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 0x6c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x101408f
push 8
pop eax
jmp 0x101410c
push 0x1006ec8
push esi
call dword [sym.imp.msvcrt.dll_wcscpy]
push dword [edi + 8]
push esi
call dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp + 8]
push eax
push 1
mov dword [ebp + 8], 0xa
call fcn.010015a6
mov edi, eax
test edi, edi
je 0x10140d6
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x101410c
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_NtUnloadDriver]
mov edi, eax
call fcn.010016b6
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
jge 0x101410a
cmp edi, 0xc0000010
jne 0x1014101
mov eax, 0x41c
jmp 0x101410c
push edi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x101410c
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x101608a
Capabilities:
Get user security identifier

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101b124]
and dword [ebp - 0x30], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x28], eax
call esi
pop ecx
lea eax, [eax + eax + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [edi], eax
jne 0x10160d2
push 8
pop eax
jmp 0x10161fa
push dword [ebp - 0x28]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
push 0x5c
push dword [edi]
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x10160ff
push eax
call fcn.0100633d
pop ecx
push 0x1f
pop ebx
jmp 0x10161e2
add eax, 2
push 0x1006a88
mov dword [ebx], eax
call esi
push eax
push 0x1006a88
push dword [edi]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x1016172
lea eax, [ebp - 0x24]
push eax
call fcn.01015d8a
test eax, eax
je 0x10160f7
push dword [ebx]
call esi
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
call esi
pop ecx
add ebx, eax
pop ecx
lea eax, [ebx + ebx + 4]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
mov dword [ebp - 0x30], esi
jne 0x1016157
push 8
jmp 0x10160f9
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcscpy]
push dword [ebp - 0x28]
push esi
call dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0x10
push esi
jmp 0x1016174
push dword [edi]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x2c]
push eax
push 0x801
call fcn.0100b619
test eax, eax
je 0x1016197
mov ebx, 0x421
jmp 0x10161e2
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
push 1
push dword [ebp - 0x2c]
call sub.ADVAPI32.dll_LsaLookupNames
test eax, eax
push dword [ebp - 0x2c]
jge 0x10161bb
call sub.ADVAPI32.dll_LsaClose
jmp 0x1016190
call sub.ADVAPI32.dll_LsaClose
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x10161cf
push dword [ebp - 0x34]
call sub.ADVAPI32.dll_LsaFreeMemory
cmp dword [ebp - 0x38], ebx
je 0x1016190
push dword [ebp - 0x38]
call sub.ADVAPI32.dll_LsaFreeMemory
mov eax, dword [ebp - 0x28]
mov word [eax], bx
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
test ebx, ebx
je 0x10161f8
push dword [edi]
call esi
and dword [edi], 0
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100156d
leave
ret 0xc
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x408ecc
nop
mov ecx, 0x442904b5
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x58bc5191
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40a670
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a0eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046eb02
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a6f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046c3cd
mov eax, dword [eax]
push 0x4f41e0
push eax
call fcn.0045e634
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046ed8d
test bl, bl
je 0x40a6f2
push 0x4f41e0
lea ecx, [esp + 0xc]
call fcn.0046f11d
push 0x4f7d4c
lea ecx, [esp + 0xc]
call fcn.0046f11d
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a72e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046ed8d
jmp 0x40a7f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a7b2
lea edx, [esp + 0x7c]
push 0x4f7d48
push edx
call fcn.0045e634
add esp, 8
test eax, eax
je 0x40a7b2
lea eax, [esp + 0x7c]
push 0x4f7d44
push eax
call fcn.0045e634
add esp, 8
test eax, eax
je 0x40a7b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a742
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046ed8d
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40aff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b052
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40b060
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a16b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x503b90]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b198
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b0c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ed8d
xor eax, eax
jmp 0x40b20f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046eeca
push esi
lea ecx, [esp + 0xc]
call fcn.0046f159
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b1ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040aff0
test eax, eax
jne 0x40b1ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040aff0
test eax, eax
jne 0x40b1ed
lea eax, [esp + 0x14]
push 0x4f7d60
push eax
call fcn.0045f670
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b1cc
lea ecx, [esp + 0x14]
push 0x4f7d5c
push ecx
call fcn.0045f5f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b1cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b1cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046ee7a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b0de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ed8d
xor eax, eax
jmp 0x40b20f
mov byte [esi], 0
push 0x4f7d58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046ed8d
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41b810
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41b87e
cmp si, 0x69
ja 0x41b87e
add esi, 0xffd0
cmp si, 0x11
je 0x41b84e
push 0x11
call edi
test ax, ax
jge 0x41b84e
or esi, 0x2000
cmp si, 0x10
je 0x41b863
push 0x10
call edi
test ax, ax
jge 0x41b863
or esi, 0x4000
cmp si, 0x12
je 0x41b878
push 0x12
call edi
test ax, ax
jge 0x41b878
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41b88b
mov esi, 0xbd
jmp 0x41b83f
cmp si, 0x6e
jne 0x41b898
mov esi, 0xbe
jmp 0x41b83f
cmp si, 0x6f
jne 0x41b839
mov esi, 0xbf
jmp 0x41b83f

Function at 0x41cf30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x514298]
xor edx, edx
cmp eax, edx
jne 0x41cf56
xor eax, eax
mov byte [eax + 0x514198], al
inc eax
cmp eax, 0x100
jl 0x41cf3e
mov dword [0x514298], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x514198
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41cfe7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41cfba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41cf88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41d060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41d0b3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41d09a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret