joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x44b4ba
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44b494
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x44b47a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x44b478
push 0
call fcn.004546ae
pop ecx
jmp 0x44b492
push 0
push 0x19a1
push 0
push 0
push 0x12b1
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x44b4b8
push 1
push 0x6f80
push 0x3f10
push 1
push 0
push 0x688
push 0x75ff
push 1
call fcn.0043e845
add esp, 0x20
jmp 0x44b50d
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x3c68
push 1
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
push eax
push 0x22f9
push 0x179d
push dword [ebp - 0x28]
call fcn.0043c5b4
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x44db0a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x44dbc9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44db85
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x44db71
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x44db6f
push 1
push 0
push 1
push 0x6a8c
push 1
call fcn.004465f8
add esp, 0x14
jmp 0x44db83
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x44db83
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x44dbc7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x471e
push 1
push 1
push 1
push 0x50bd
push 0x60e4
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x2e1c
push 0x725c
push 0x642e
push 1
call fcn.0045c541
add esp, 0x34
jmp 0x44dbdb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0
call fcn.004444b9
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44ead9
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x44ebdc
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x44eb83
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x44eb79
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x44eb5d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x44eb77
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.0043454e
or dword [eax], 0xffffffff
jmp 0x44eb52
jmp 0x44eb81
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x44ebd7
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 1
push 1
push 0xe52
push 0x62ab
push 0x6006
push 0x7e
push 0
push 0x7212
push 0x49a3
push 0x703e
push 1
push 0x72f0
push dword [ebp - 0x38]
push 0x589f
push 1
push 0x20ca
push 0x3664
push 0x192e
call fcn.004409dd
add esp, 0x48
jmp 0x44ec79
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x44ec23
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
push 0x1eac
push 0x3129
push 1
push dword [ebp - 0x44]
call fcn.00440d95
add esp, 0x10
jmp 0x44ec79
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x44ec63
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x44ec79
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x44ec79
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esp, ebp
pop ebp
ret
Function at 0x45d3f5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 8]
test eax, eax
je 0x45d471
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 0x227e
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x28]
push 0x72b8
call fcn.0045d52f
add esp, 0x30
jmp 0x45d52b
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x45d4b7
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.0044f738
add esp, 0xc
jmp 0x45d52b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x45d512
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x45d510
push 1
push 1
push 0x3da7
push 1
push 1
push 0
push 0x6324
push 0
push 0x7e30
push 0x6ea4
push 0x6e4e
call fcn.00454dad
add esp, 0x2c
jmp 0x45d52b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x45d52b
push 0x551
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x492ed6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4a0e3f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b4484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00490d44
mov dword [ebp - 0x14], eax
cmp dword [0xaae990], esi
jne 0x4a0f32
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a0ebf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a1012
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a1012
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a1012
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaae990], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaae994], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaae998], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaae9a0], eax
test eax, eax
je 0x4a0f2f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaae99c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a0f57
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a0f4a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a0f6c
push 4
pop eax
jmp 0x4a1014
cmp dword [ebp - 0x14], esi
je 0x4a0f6c
push dword [0xaae990]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a0f51
mov eax, dword [0xaae99c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a0fca
cmp dword [0xaae9a0], edi
je 0x4a0fca
push eax
call ebx
push dword [0xaae9a0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a0fca
test eax, eax
je 0x4a0fca
call ecx
test eax, eax
je 0x4a0fbf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a0fbf
test byte [ebp - 8], 1
jne 0x4a0fca
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a0ffa
mov eax, dword [0xaae994]
cmp eax, edi
je 0x4a0ff7
push eax
call ebx
test eax, eax
je 0x4a0ff7
call eax
mov esi, eax
test esi, esi
je 0x4a0ff7
mov eax, dword [0xaae998]
cmp eax, edi
je 0x4a0ff7
push eax
call ebx
test eax, eax
je 0x4a0ff7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaae990]
call ebx
test eax, eax
je 0x4a1012
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a1014
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004901eb
mov esp, ebp
pop ebp
ret
Function at 0x716103
Capabilities:
Encode data using xor

Disassembly:
fst dword [esi + 0x604d7dde]
imul edi, edi, 0xa9529701
sub esi, ebp
mov ebp, dword [esp + ebp]
xor al, 0x8d
add eax, 0xe227d4d5
ror byte [ecx + edx*4 - 0x40], cl
std
jb fcn.00716057
jge 0x7160dc
and byte [edx + 0x12], 0x9b
add ecx, esp
xor eax, 0x58c1910b
pop esi
sub byte [esp + ecx*8 + 0x55], dh
aas
cmp byte [ecx], bh
xchg ebx, eax
push ecx
fst dword [eax]
dec esp
inc ebx
and ah, cl
popal
xor dword [esi], 0x41f5e397
lahf
cmp al, 0xee
xor al, 0x46
inc esi
out dx, eax
nop
test byte [eax - 0x43], al
add eax, 0x77ab4704
outsd dx, dword [esi]
pop edi
and esp, 0x38dc80a0
shr dword [edx], 0xe3
or byte [edx + 0x2e], al
sub ebx, 0x11
add dword [ebp + esi*2 - 0x61], 0x79
int1
xor eax, 0x243833dc
pop ecx
sbb dword [ecx], ecx
loopne 0x7160cf
inc esp
clc
add al, 0x52
push 0x813a780b
mov ebx, dword [edx]
fld xword [eax]
loop 0x71609e
or edi, dword [eax + 0x3a]
or dword [ebx - 0x1dd724e6], 0xd66985c5
test dword [ecx - 0x2a], ebp
out dx, al
fsub dword [eax]
xchg esi, eax
pop esp
sbb ch, cl
cdq
call 0xa5f6c12
xchg dword [ebx + 0x36335e3b], esp
xor dword [esi], eax
or eax, 0x29525c55
pop ds
adc dword [edx - 0x25], ebp
les eax, [ecx*8 + 0xebf2371]
or dword [ebp - 0x77], edx
in eax, 0x89
invalid
Function at 0x401754
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00401904
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x401852
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4017f5
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401838
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40180c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x401827
test al, 0x40
je 0x40181e
mov ecx, dword [edi + 0x20]
jmp 0x401825
test al, 0x80
je 0x401838
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401838
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4017c4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40e870
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a03b
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.0046e0d5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40e8f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046bd62
mov eax, dword [eax]
push 0x548270
push eax
call fcn.0045b3d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046e360
test bl, bl
je 0x40e8f2
push 0x548270
lea ecx, [esp + 0xc]
call fcn.0046e6f0
push 0x54be00
lea ecx, [esp + 0xc]
call fcn.0046e6f0
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 0x40e92e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046e360
jmp 0x40e9f9
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 0x40e9b2
lea edx, [esp + 0x7c]
push 0x54bdfc
push edx
call fcn.0045b3d4
add esp, 8
test eax, eax
je 0x40e9b2
lea eax, [esp + 0x7c]
push 0x54bdf8
push eax
call fcn.0045b3d4
add esp, 8
test eax, eax
je 0x40e9b2
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 0x40e942
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.0046e360
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 0x40fc70
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 0x40fcd2
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 0x40fce0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a19b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x553818]
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 0x40fe18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40fd46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046e360
xor eax, eax
jmp 0x40fe8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046e49d
push esi
lea ecx, [esp + 0xc]
call fcn.0046e72c
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 0x40fe6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040fc70
test eax, eax
jne 0x40fe6d
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 closesocket
mov ecx, edi
call fcn.0040fc70
test eax, eax
jne 0x40fe6d
lea eax, [esp + 0x14]
push 0x54be14
push eax
call fcn.0045c4f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fe4c
lea ecx, [esp + 0x14]
push 0x54be10
push ecx
call fcn.0045c470
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fe4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40fe4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046e44d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40fd5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046e360
xor eax, eax
jmp 0x40fe8f
mov byte [esi], 0
push 0x54be0c
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.0046e360
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 0x4233e0
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 0x42344e
cmp si, 0x69
ja 0x42344e
add esi, 0xffd0
cmp si, 0x11
je 0x42341e
push 0x11
call edi
test ax, ax
jge 0x42341e
or esi, 0x2000
cmp si, 0x10
je 0x423433
push 0x10
call edi
test ax, ax
jge 0x423433
or esi, 0x4000
cmp si, 0x12
je 0x423448
push 0x12
call edi
test ax, ax
jge 0x423448
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42345b
mov esi, 0xbd
jmp 0x42340f
cmp si, 0x6e
jne 0x423468
mov esi, 0xbe
jmp 0x42340f
cmp si, 0x6f
jne 0x423409
mov esi, 0xbf
jmp 0x42340f

Function at 0x424b00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x564278]
xor edx, edx
cmp eax, edx
jne 0x424b26
xor eax, eax
mov byte [eax + 0x564178], al
inc eax
cmp eax, 0x100
jl 0x424b0e
mov dword [0x564278], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x564178
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424bb7
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 0x424b8a
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 0x424b58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424c30
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 0x424c83
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 0x424c6a
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