joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1353a81
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1382008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x14], edx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
push eax
xor esi, esi
push 1
push esi
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x1353b16
mov eax, dword [ebp - 8]
mov ecx, esi
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x1353b16
mov edx, dword [ebp - 0x14]
mov edi, esi
mov ebx, dword [ebp - 0xc]
cmp dword [edi + ebx], edx
jne 0x1353b0b
mov edx, dword [edi + ebx + 8]
test edx, edx
je 0x1353b08
push edx
push str.winlogon.exe
call fcn.01361943
pop ecx
pop ecx
test eax, eax
jne 0x1353b02
mov eax, dword [edi + ebx + 0xc]
test eax, eax
je 0x1353b02
push 0x16
push eax
call dword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
test eax, eax
jne 0x1353b3b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
inc ecx
add edi, 0x10
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jb 0x1353acc
mov esi, 0x80070490
cmp dword [ebp - 0xc], 0
je 0x1353b2a
push dword [ebp - 0xc]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0135da4f
leave
ret
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + ebx + 4]
mov dword [ecx], eax
jmp 0x1353b1b
Function at 0x1353c2a
Capabilities:
Create process on windows
Resume thread

Disassembly:
push 0xa8
mov eax, 0x13750b1
call fcn.013737bd
mov esi, edx
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
movzx eax, byte [ebp + 0x18]
shl eax, 4
add eax, 0x404
push 0x44
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.0135f750
or dword [ebp - 0x5c], 1
lea edi, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x88], 0x44
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x80], str.WinSta0Default
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x58], ax
xor eax, eax
mov dword [ebp - 0x34], eax
mov edi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x9c]
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x9c], eax
call fcn.01351a8b
test eax, eax
js 0x1353d98
push 1
push dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x1353d98
and dword [ebp - 0x20], edi
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
push esi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.01352017
lea edx, [ebp - 0xb4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.01351dc1
lea ecx, [ebp - 0xb4]
mov esi, eax
call fcn.013520ff
test esi, esi
js 0x1353d87
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x1353d27
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
xor esi, esi
push ecx
lea ecx, [ebp - 0x88]
push ecx
push dword [ebp - 0x8c]
push dword [ebp - 0x34]
push dword [ebp - 0x90]
push esi
push esi
push esi
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
test edi, edi
je 0x1353d87
push dword [ebp + 0x10]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov ecx, dword [ebp - 0x44]
call fcn.0135117d
mov ecx, dword [ebp - 0x40]
call fcn.0135117d
push dword [ebp - 0x34]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
lea ecx, [ebp - 0x30]
call fcn.013520ff
mov ecx, dword [ebp - 0x14]
test edi, edi
setne bl
cmp ecx, 0xffffffff
je 0x1353daa
call fcn.0135117d
mov al, bl
call fcn.01373778
ret
Function at 0x1354fc7
Capabilities:
Delete file
Delete registry key
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1382008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
jne 0x13550c3
push esi
push edi
lea edi, [ebx + 4]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1354ff3
mov eax, dword [edi]
push 0
push 0x2200000
push 3
push 0
push 7
push 0x110180
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor ecx, ecx
cmp esi, 0xffffffff
mov dword [ebp - 0x54], esi
setne cl
xor edx, edx
call fcn.0135114b
test eax, eax
js 0x1355039
mov ecx, esi
call fcn.013512bb
mov ecx, dword [ebp - 0x54]
mov esi, eax
call fcn.0135117d
test esi, esi
jns 0x135504c
cmp dword [edi + 0x14], 8
jb 0x1355041
mov edi, dword [edi]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [ebp - 0x54], eax
cmp esi, eax
je 0x13550b5
push esi
lea ecx, [ebp - 0x50]
call fcn.013550d0
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
jb 0x1355074
mov eax, dword [ebp - 0x50]
push eax
push dword [ebx + 0x20]
call edi
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x13550a0
call fcn.013520ff
lea ecx, [ebp - 0x38]
call fcn.013520ff
lea ecx, [ebp - 0x50]
call fcn.013520ff
add esi, 0x4c
cmp esi, dword [ebp - 0x54]
jne 0x135505f
jmp 0x13550b5
call fcn.013520ff
lea ecx, [ebp - 0x38]
call fcn.013520ff
lea ecx, [ebp - 0x50]
call fcn.013520ff
push 0x137d1a0
push 0x80000000
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0135da4f
leave
ret
Function at 0x1356845
Capabilities:
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x13756b8
call fcn.013737bd
mov edi, ecx
mov esi, dword [ebp + 0xc]
push ecx
push 0x106
lea ecx, [ebp - 0x28]
call fcn.01351fc6
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 8
pop ebx
cmp dword [ebp - 0x14], ebx
jb 0x1356876
mov eax, dword [ebp - 0x28]
push 0x22
pop ecx
mov word [eax], cx
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffffe
cmp dword [ebp - 0x14], ebx
jb 0x135688d
mov eax, dword [ebp - 0x28]
push ecx
add eax, 2
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
push ecx
inc eax
lea ecx, [ebp - 0x28]
push eax
call fcn.01351ef9
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
jb 0x13568b1
mov eax, dword [ebp - 0x28]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x13568e9
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
jb 0x13568ca
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
push 0x22
pop edx
mov word [ecx + eax*2], dx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
jb 0x13568df
mov eax, dword [ebp - 0x28]
push eax
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
lea ecx, [ebp - 0x28]
call fcn.013520ff
xor eax, eax
call fcn.01373778
ret 0x10
Function at 0x13572eb
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x137583b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1382008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebx + 4]
lea esi, [ebp + 0xc]
mov dword [ebx], eax
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x18]
push 0x137d548
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
call fcn.0135717c
push 0x137cd0f
lea ecx, [ebx + 0x30]
call fcn.0135717c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x136ad16
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0136ab8c
Function at 0xcfaed0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x83c015
lea edi, [esi - 0x43b015]
lea eax, [edi + 0x890fd0]
push dword [eax]
mov dword [eax], 0x2ac9319a
push eax
push edi
or ebp, 0xffffffff
jmp 0xcfaf02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xcfaf09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcfaef8
mov eax, 1
add ebx, ebx
jne 0xcfaf1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xcfaf2c
jne 0xcfaf4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcfaf4b
dec eax
add ebx, ebx
jne 0xcfaf38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xcfaf10
add ebx, ebx
jne 0xcfaf47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xcfaf9d
xor ecx, ecx
sub eax, 3
jb 0xcfaf63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xcfafd2
sar eax, 1
mov ebp, eax
jmp 0xcfaf6e
add ebx, ebx
jne 0xcfaf6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcfaf3c
inc ecx
add ebx, ebx
jne 0xcfaf7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcfaf3c
add ebx, ebx
jne 0xcfaf89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xcfaf7e
jne 0xcfaf9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xcfaf7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xcfafbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xcfafae
jmp 0xcfaefe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xcfafbc
add edi, ecx
jmp 0xcfaefe
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xd041
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xcfafde
cmp byte [edi], 0x42
jne 0xcfafde
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 0xcfafe3
lea edi, [esi + 0x8e8000]
mov eax, dword [edi]
or eax, eax
je 0xcfb052
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91b23c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x91b354]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xcfb010
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x91b35c]
or eax, eax
je 0xcfb04c
mov dword [ebx], eax
add ebx, 4
jmp 0xcfb02d
call dword [esi + 0x91b358]
mov ebp, dword [esi + 0x91b360]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x8fb0ad]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xcfb09e
sub esp, 0xffffff80
jmp 0x401480
Function at 0x4068c5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x41c380]
push ebx
mov dword [ebp - 4], eax
push edi
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0xc], bl
lea edi, [ebp - 0xb]
stosd dword es:[edi], eax
stosb byte es:[edi], al
movzx eax, word [ebp + 0xc]
cmp eax, ebx
jle 0x406a49
cmp eax, 2
jle 0x406a44
cmp eax, 0x3fb
jle 0x406a49
cmp eax, 0x41f
jle 0x406a1c
cmp eax, 0x420
je 0x4069dc
cmp eax, 0x421
je 0x406937
cmp eax, 0x422
jne 0x406a49
push dword [ebp + 8]
call fcn.00405e13
pop ecx
jmp 0x406a4b
cmp dword [0x41c060], ebx
push esi
push 0x1a
mov esi, 0x406
pop edi
jne 0x40698c
push 6
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040c970
add esp, 0xc
push 2
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0xc]
push eax
call fcn.0040e5e5
pop ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
inc esi
dec edi
jne 0x406948
mov dword [0x41c060], 1
jmp 0x4069ca
push 6
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040c970
add esp, 0xc
push 2
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0xc]
push eax
call fcn.0040e4d1
pop ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
inc esi
dec edi
jne 0x40698c
mov dword [0x41c060], ebx
push dword [0x42cce0]
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
inc eax
pop esi
jmp 0x406a4b
push ebx
push 8
push 0x102
push dword [0x42cce0]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xc8
push 0x42cb30
push dword [0x42cce0]
call dword [sym.imp.USER32.dll_GetWindowTextA]
call fcn.004064bc
push dword [0x42cce0]
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
inc eax
jmp 0x406a4b
add eax, 0xfffffc04
cmp word [ebp + 0xc], 0x406
jb 0x406a34
cmp dword [0x41c060], ebx
je 0x406a34
add eax, 0x1a
mov al, byte [eax + 0x41c0a4]
mov byte [ebp - 0xc], al
movsx eax, al
push ebx
push eax
jmp 0x4069df
call fcn.0040688b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0040c95c
leave
ret
Function at 0x10004377
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10004386
pop dword [ebp - 0x38]
mov eax, 0x10004386
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xe8ebd745
add dword [ebp - 0x48], 0x65666e06
mov dword [ebp - 0x44], 0x7ed7844b
add dword [ebp - 0x44], 0xb35bc7fa
mov dword [ebp - 0x40], 0xaaad1c03
add dword [ebp - 0x40], 0xa19f282b
mov dword [ebp - 0x3c], 0x101ca1b3
sub dword [ebp - 0x3c], 0x101ca1b3
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x7a184a73
sub dword [ebp - 0x48], 0x5a5e11d
mov dword [ebp - 0x44], 0xe73ad54b
add dword [ebp - 0x44], 0x5a318c2a
mov dword [ebp - 0x40], 0x1778f7d6
add dword [ebp - 0x40], 0x4bf67496
mov dword [ebp - 0x3c], 0xb126e240
sub dword [ebp - 0x3c], 0xb126e240
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x2339b648
sub eax, 0x133965cc
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x36e00
push 0
call eax
mov ecx, 0x494e
xor edi, edi
add edi, eax
mov ebx, 0xb29164cb
add ebx, 0x5d6f4335
add ebx, dword [ebp - 0x38]
mov esi, 0x6b133e56
xor dword [ebp - 0x18], 0xa7ccb88b
mov edx, dword [ebx]
add dword [ebp - 0x1c], edx
add edx, esi
mov dword [ebp - 0xc], 0x249c5af9
mov dword [edi], edx
xor dword [ebp - 0x2c], 0xb4b10684
add edi, 0xfcb8bcf6
sub edi, 0xfcb8bcf2
add ebx, 0x6445ab03
add ebx, 0x9bba5501
loop 0x10004494
add eax, 0x2bf40239
sub eax, 0x2bf2ea2e
xor ebx, ebx
add ebx, eax
add eax, 0x36191f28
sub eax, 0x36191f23
mov ecx, 0x7399f64e
add ecx, 0x9c6609b2
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4101d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4762fb
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.0046a74b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410252
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00467fad
mov eax, dword [eax]
push 0x4a11f0
push eax
call fcn.0045a474
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046a9d6
test bl, bl
je 0x410252
push 0x4a11f0
lea ecx, [esp + 0xc]
call fcn.0046ad66
push 0x4a4d6c
lea ecx, [esp + 0xc]
call fcn.0046ad66
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 0x41028e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046a9d6
jmp 0x410359
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 0x410312
lea edx, [esp + 0x7c]
push 0x4a4d68
push edx
call fcn.0045a474
add esp, 8
test eax, eax
je 0x410312
lea eax, [esp + 0x7c]
push 0x4a4d64
push eax
call fcn.0045a474
add esp, 8
test eax, eax
je 0x410312
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 0x4102a2
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.0046a9d6
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 0x4115b0
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 0x411612
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 0x411620
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47645b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ab4e4]
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 0x411758
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411686
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046a9d6
xor eax, eax
jmp 0x4117cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046ab13
push esi
lea ecx, [esp + 0xc]
call fcn.0046ada2
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 0x4117ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004115b0
test eax, eax
jne 0x4117ad
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 SysReAllocString
mov ecx, edi
call fcn.004115b0
test eax, eax
jne 0x4117ad
lea eax, [esp + 0x14]
push 0x4a4d80
push eax
call fcn.0045b580
mov esi, eax
add esp, 8
test esi, esi
jne 0x41178c
lea ecx, [esp + 0x14]
push 0x4a4d7c
push ecx
call fcn.0045b500
mov esi, eax
add esp, 8
test esi, esi
jne 0x41178c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41178f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046aac3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41169e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046a9d6
xor eax, eax
jmp 0x4117cf
mov byte [esi], 0
push 0x4a4d78
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.0046a9d6
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 0x423880
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 0x4238ee
cmp si, 0x69
ja 0x4238ee
add esi, 0xffd0
cmp si, 0x11
je 0x4238be
push 0x11
call edi
test ax, ax
jge 0x4238be
or esi, 0x2000
cmp si, 0x10
je 0x4238d3
push 0x10
call edi
test ax, ax
jge 0x4238d3
or esi, 0x4000
cmp si, 0x12
je 0x4238e8
push 0x12
call edi
test ax, ax
jge 0x4238e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4238fb
mov esi, 0xbd
jmp 0x4238af
cmp si, 0x6e
jne 0x423908
mov esi, 0xbe
jmp 0x4238af
cmp si, 0x6f
jne 0x4238a9
mov esi, 0xbf
jmp 0x4238af

Function at 0x425020
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4bbc80]
xor edx, edx
cmp eax, edx
jne 0x425046
xor eax, eax
mov byte [eax + 0x4bbb80], al
inc eax
cmp eax, 0x100
jl 0x42502e
mov dword [0x4bbc80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4bbb80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4250d7
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 0x4250aa
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 0x425078
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425150
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 0x4251a3
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 0x42518a
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