joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bb8c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b9fd

Function at 0x41bf87
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040cef0
mov eax, dword [0x481600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041abf2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41bfc9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c125
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00428070
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x483d18]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041cf7e
mov ecx, dword [esi*4 + 0x483d18]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41c11e
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c11e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c11e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cf7e
add esp, 0x14
test edx, edx
jl 0x41c11e
jg 0x41c094
test eax, eax
jb 0x41c11e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c11e
jl 0x41c0ae
cmp dword [ebp - 0x1008], eax
ja 0x41c11e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c0cc
test ebx, ebx
je 0x41c105
cmp ecx, edi
jae 0x41c105
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c0e6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c0f2
cmp byte [ecx + 1], 0xa
jne 0x41c0f2
inc ecx
jmp 0x41c0f2
movzx eax, al
movsx eax, byte [eax + 0x4818d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c0cc
cmp edx, ebx
jne 0x41c0cc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c123
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040c539
leave
ret
Function at 0x41c41c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x483d18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c45c
cmp byte [ebx], 0xa
jne 0x41c45c
or byte [eax + edi + 0x28], 4
jmp 0x41c461
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c55f
mov al, byte [edx]
cmp al, 0x1a
je 0x41c541
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c490
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c4b5
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c4bf
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41c472
jmp 0x41c55f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c53c
cmp dword [ebp - 0xc], 0
je 0x41c53c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x483d18]
test byte [eax + edi + 0x28], 0x48
je 0x41c516
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c501
mov byte [esi], dl
jmp 0x41c512
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x483d18]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c55f
cmp byte [ebp - 1], 0xa
jne 0x41c525
cmp esi, ebx
jne 0x41c525
mov byte [esi], 0xa
jmp 0x41c55e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041cf9c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c55f
mov byte [esi], 0xd
jmp 0x41c55e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x483d18]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c55b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c55f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c568
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x483d18]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c5ab
cmp word [esi], dx
jne 0x41c5ab
or byte [edi + eax + 0x28], 4
jmp 0x41c5b0
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41c703
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41c6e3
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c5f2
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c628
cmp eax, edx
jae 0x41c634
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c5ca
jmp 0x41c703
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c6df
cmp dword [ebp - 0x14], 0
je 0x41c6df
mov eax, dword [ebx*4 + 0x483d18]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c6b7
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41c680
mov word [esi], cx
jmp 0x41c6b3
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x483d18]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x483d18]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x483d18]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41c703
pop ebx
cmp word [ebp - 4], bx
jne 0x41c6c8
cmp esi, dword [ebp + 0xc]
jne 0x41c6c8
mov word [esi], bx
jmp 0x41c700
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041cf9c
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c703
push 0xd
jmp 0x41c6fc
mov ecx, dword [ebx*4 + 0x483d18]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c6fa
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c703
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10001b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10031740]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
call fcn.10001b00
mov eax, dword [0x10033ae0]
mov dword [ebp - 0x10], eax
push 0x1002d874
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x14], 0
jne 0x10001b89
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
jmp 0x10001bf4
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10001bb7
cmp dword [ebp - 0x18], 0
ja 0x10001bca
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
jmp 0x10001bf4
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e582
mov esp, ebp
pop ebp
ret
Function at 0x1000b0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10031740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x1000b120
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x1000b12c
mov al, 1
jmp 0x1000b2cf
mov dword [ebp - 0x54], 8
call fcn.100055d0
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.100055d0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.10005550
add esp, 8
movzx eax, al
test eax, eax
je 0x1000b16f
xor al, al
jmp 0x1000b2cf
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.10008410
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.10007900
mov ecx, eax
call fcn.10008fb0
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.10002cc0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007900
mov ecx, eax
call fcn.10008fb0
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.1000b670
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x1000b1ea
cmp dword [ebp - 0x3c], 1
je 0x1000b1f1
cmp dword [ebp - 0x3c], 3
je 0x1000b28b
jmp 0x1000b2a3
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10007900
mov ecx, eax
call fcn.10008fb0
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x1000b254
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007900
mov ecx, eax
call fcn.10008fb0
push eax
call fcn.1000fc1f
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1000b254
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b60
mov al, byte [ebp - 0x34]
jmp 0x1000b2cf
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x1000b277
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b60
mov al, byte [ebp - 0x31]
jmp 0x1000b2cf
cmp dword [ebp - 0x38], 0
jne 0x1000b289
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.10008aa0
jmp 0x1000b2bb
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b60
mov al, byte [ebp - 0x33]
jmp 0x1000b2cf
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b60
mov al, byte [ebp - 0x32]
jmp 0x1000b2cf
jmp 0x1000b182
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000e582
mov esp, ebp
pop ebp
ret
Function at 0x1000ba80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10031740]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000bb3d
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp dword [ebp + 8], 0
je 0x1000bae5
mov dword [ebp - 0x24], 2
jmp 0x1000baec
mov dword [ebp - 0x24], 0
mov ecx, 0xc
imul edx, ecx, 0
mov eax, dword [ebp - 0x24]
mov dword [ebp + edx - 8], eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1000bb24
mov dword [ebp - 0x20], 1
jmp 0x1000bb2b
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000bb41
xor eax, eax
jmp 0x1000bb44
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e582
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d080
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026150
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x10031740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
call fcn.1000d4a0
mov dword [ebp - 0x2a0], 0xffffffff
mov byte [ebp - 0x285], 1
push 0x1002d8af
lea eax, [ebp + 8]
push eax
call fcn.10008e00
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1000d0f7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002b60
jmp 0x1000d239
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.10006890
add esp, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x29c], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x284], 0x22c
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x290], eax
xor eax, eax
mov word [ebp - 0x4ac], ax
push 0x208
push 0
lea ecx, [ebp - 0x4aa]
push ecx
call fcn.10013500
add esp, 0xc
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x298], 0
cmp dword [ebp - 0x290], 0
je 0x1000d211
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.100067e0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.10006890
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.10008e30
add esp, 8
movzx edx, al
test edx, edx
je 0x1000d1da
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.1000d390
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10002b60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10002b60
jmp 0x1000d17c
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10002b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000e582
mov esp, ebp
pop ebp
ret

Function at 0x1000d260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x470700
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5443cb
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.0053810a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x470782
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00535790
mov eax, dword [eax]
push 0xe5cd98
push eax
call fcn.00525f54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00538395
test bl, bl
je 0x470782
push 0xe5cd98
lea ecx, [esp + 0xc]
call fcn.00538725
push 0xe5cda4
lea ecx, [esp + 0xc]
call fcn.00538725
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 0x4707be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00538395
jmp 0x470889
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 0x470842
lea edx, [esp + 0x7c]
push 0xe5cda0
push edx
call fcn.00525f54
add esp, 8
test eax, eax
je 0x470842
lea eax, [esp + 0x7c]
push 0xe5cd9c
push eax
call fcn.00525f54
add esp, 8
test eax, eax
je 0x470842
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 0x4707d2
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.00538395
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 0x471080
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x54444b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xe70b9c]
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 0x4711b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4710e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00538395
xor eax, eax
jmp 0x47122f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005384d2
push esi
lea ecx, [esp + 0xc]
call fcn.00538761
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xe5cdd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x47120d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0xe5cdd0
push closesocket
call fcn.004fc090
test eax, eax
jne 0x47120d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0xe5cdbc
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004fc090
test eax, eax
jne 0x47120d
lea eax, [esp + 0x14]
push 0xe5cdb4
push eax
call fcn.00527130
mov esi, eax
add esp, 8
test esi, esi
jne 0x4711ec
lea ecx, [esp + 0x14]
push 0xe5cdb0
push ecx
call fcn.005270b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4711ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4711ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00538482
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4710fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00538395
xor eax, eax
jmp 0x47122f
mov byte [esi], 0
push 0xe5cdac
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.00538395
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 0x486fa0
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 0x48700e
cmp si, 0x69
ja 0x48700e
add esi, 0xffd0
cmp si, 0x11
je 0x486fde
push 0x11
call edi
test ax, ax
jge 0x486fde
or esi, 0x2000
cmp si, 0x10
je 0x486ff3
push 0x10
call edi
test ax, ax
jge 0x486ff3
or esi, 0x4000
cmp si, 0x12
je 0x487008
push 0x12
call edi
test ax, ax
jge 0x487008
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x48701b
mov esi, 0xbd
jmp 0x486fcf
cmp si, 0x6e
jne 0x487028
mov esi, 0xbe
jmp 0x486fcf
cmp si, 0x6f
jne 0x486fc9
mov esi, 0xbf
jmp 0x486fcf

Function at 0x4889b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xe81878]
xor edx, edx
cmp eax, edx
jne 0x4889d6
xor eax, eax
mov byte [eax + 0xe81778], al
inc eax
cmp eax, 0x100
jl 0x4889be
mov dword [0xe81878], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xe81778
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x488a67
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 0x488a3a
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 0x488a08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x488ae0
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 0x488b33
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 0x488b1a
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