joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019800
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b778
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
lea esp, [esp]
mov bl, byte [eax + 0x10020c60]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x20], bl
jns 0x1001985d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x10019840
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], edx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
push edx
call fcn.100195c0
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x100198b1
xor eax, eax
jmp 0x100198e8
push esi
push eax
call fcn.100195c0
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x100198ad
test edi, edi
jle 0x100198df
lea eax, [ebp + 0xc]
mov ecx, edi
jmp 0x100198d0
mov edx, dword [eax + 4]
add eax, 4
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
dec ecx
jne 0x100198d0
call dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019ba5
mov esp, ebp
pop ebp
ret

Function at 0x10019910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b810
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x8b
xor eax, eax
mov dl, byte [eax + 0x10020c70]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x1c], dl
jns 0x1001995f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xb
jl 0x10019942
mov byte [ebp - 0x11], 0
mov ecx, 0x3e9c43aa
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10019a90
push 0
push esi
push edi
push 0x10
push 4
push eax
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10019800
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019ba5
mov esp, ebp
pop ebp
ret

Function at 0x10019ba5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10025018]
jne 0x10019baf
repz ret
jmp fcn.1001a06d
Function at 0x9305ec
Capabilities:
Encode data using xor

Disassembly:
jns 0x930638
pop esi
adc eax, 0x15426d75
popal
insd dword es:[edi], dx
jbe 0x9305e9
pop ebp
call 0x9dcffd8
outsb dx, byte [esi]
pop edx
in al, dx
mov eax, dword [0x9f5d9612]
and bh, byte [ecx - 0x192861b6]
add byte [eax], al
add bl, ch
jmp 0x9305f6
add byte [esi], ah
push cs
add byte [eax], al
add byte [eax], al
add byte [eax - 0x18], ah
add byte [eax], al
add byte [eax], al
jmp 0x9305f6
pushal
call 0x9305fc
pop ebp
sub ebp, 0x10
sub ebp, 0x5305ec
jmp 0x930612
mov eax, 0x5305ec
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f4
mov edx, 0x7ac5b881
xor byte [eax], dl
inc eax
dec ecx
jne 0x930629
jmp 0x93063c
int 0xe6
mov ecx, 0xa4c0adb
or byte [ebp + 0x818181], bh
or cl, byte [edx + ecx + 8]
mov ebp, 0x818181
inc eax
jns 0x9305c9
add dword [ecx - 0x78c6b37e], 0x3b818181
test eax, 0x76818181
arpl word [edx - 0x72fff5b7], ax
add dword [ecx + 0xc448281], 0x87da5e5
test dword [ebp + 0x7da5e50c], esp
or byte [ebp + 0x310de9a5], al
pop dword [ecx - 0x3a2b2317]
add dword [eax + 0x7be9a5ad], 0x6967561f
test byte [ecx - 0x50977e7f], al
add dword [ecx - 0x232a2b7f], 0x8189040a
add dword [ecx - 0x7e72ebf6], 0xc0a8181
xchg ecx, eax
add dword [ecx - 0x7c97bf7f], 0x430283b0
test eax, ecx
mov es, word [esi*2 + 0xa7e7e7e]
lodsd eax, dword [esi]
movsd dword es:[edi], dword [esi]
or al, 0xe5
movsd dword es:[edi], dword [esi]
test dword [ebx - 0x73], eax
or dword [edx], 0x8185a50d
add dword [ecx - 0x70cef217], 0xd4dce981
lds eax, [ecx - 0x2f5a5280]
imul eax, dword [ecx + eax*4 - 0x41977e7f], 0xc818183
in eax, 0xa5
jge 0x9306e6
or dword [0xad087da5], 0x7edcd5a5
hlt
lodsd eax, dword [esi]
movsd dword es:[edi], dword [esi]
aad 0xdc
jle 0x9306d8
lea edi, [esi - 0xc]
mov dword [ecx - 0x13], ebp
add dword [ecx - 0x76c3f57f], 0xb2818181
dec eax
mov dl, 0x53
add ch, byte [ecx - 0x7c]
leave
mov es, word [0x818181cf]
mov cs, word [ecx]
leave
add dword [ecx - 0x62f5187f], 0x697a01b8
mov es, word [0x8181819b]
add dword [edx + 0x68], edi
mov es, word [0x81818190]
out 0, eax
jp 0x93079f
hlt
movsb byte es:[edi], byte [esi]
mov es, word [0x81818194]
shr byte [eax + 0x4d], 0x7e
jle 0x9307ac
test al, 0xcd
mov eax, 0x84400280
add ch, byte [ecx - 0x7b]
push 0x7e7e7e3c
test al, 0xd5
mov eax, 0x87400283
add ch, byte [ebx - 0x7b]
add ch, byte [ecx - 0x7c]
push 0x7e7e7e2a
or ch, byte [ebp - 0x5a1af35b]
test dword [ebx - 0x73], eax
adc esp, 0xd6d76d0a
aam 0xa
hlt
jmp 0x930722
or dword [ebx], 0x5393c797
mov es, word [edx]
stosd dword es:[edi], eax
add byte [ecx - 0x71ac7c7f], 4
test byte [ecx - 0x68f47e7f], al
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x5e972b71
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x6d832f53
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4070d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor esp, eax
mov eax, dword [ecx]
mov edx, dword [ecx - 5]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
ror byte [ecx + 0x8a6575], cl
mov dword [ebp - 4], esi
mov bh, 0xc3
pop ecx
jne 0x4070d9
mov dword [ecx + ebp*4 - 0x76278a77], ebx
push ebp
fmul qword [edi]
test byte [eax], dl
or al, byte [edx + 0x145d5a5b]
cmp al, 0xf4
je 0x40714b
mov eax, dword [ebp - 0xc]
test eax, 0xab3b3874
fdiv qword [edx + 0x1c]
mov edi, dword [ebp - 0x3c]
push edi
mov dword [edi], eax
call dword [ebp + 8]
add esp, 0xffffffab
test dword [edx + 0xf], esi
test dword [edx + ecx + 0x4f8b0069], edx
add al, 0x8b
pop es
xor al, 0xac
fdiv qword [edi - 0x76bfefab]
inc ebp
hlt
mov edi, dword [ebp + 0x10]
mov ecx, dword [sym.imp.MSVCRT.dll___mb_cur_max]
mov eax, 0x52000001
xor edx, edx
inc edi
cmp dword [ecx], eax
mov dword [esi - 0x3fba7660], edi
mov dword [edi - 0x3baa7617], eax
mov dword [ebp - 0x2c], edx
mov byte [ebp + 0x17], 0xb8
mov byte [ebp - 5], dl
pop ds
jge 0x407187
xor byte [edx], dl
mov dl, byte [edi]
push 0x1f
push edx
int 0x15
push 0x830040c1
les ecx, [eax]
inc ebx
shr bl, cl
adc cl, byte [ebx + 0x40c1780d]
salc
xor eax, eax
insd dword es:[edi], dx
pop es
mov ecx, dword [ecx]
mov al, byte [ecx + eax*2]
out dx, eax
loopne 0x40719f
cmp eax, edx
psrad mm1, mm1
xchg ebx, eax
add byte [eax], al
ljmp 0x3c66

Function at 0x4080f0
Capabilities:
Encode data using xor

Disassembly:
adc dword [esi + 0x5b], ebx
xor byte [ebp + ebp*2 - 0x3d], bh
nop
nop
nop
nop
xchg edx, eax
adc dword [eax - 0x6fcf6f70], 0x55909090
push ebp
push ebp
mov ebp, esp
mov esp, dword [edx]
or al, 0x8b
dec ebp
in eax, 0x53
push esi
push edi
mov esi, dword [ebx - 0x743f7aec]
div dword [ebx + ecx - 0x75]
nop
adc bh, al
add byte [eax], al
add bh, cl
add bl, ch
adc al, byte [0xc0330555]
test ecx, ecx
add al, 0x9c
stosd dword es:[edi], eax
test eax, eax
leave
add dh, byte [edx + eax - 9]
jle 0x4080db
int 0xcc
int3
Function at 0x40b080
Capabilities:
Check os version
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [eax]
sub ecx, dword [ebx + 0x4e373d46]
adc al, 0x2c
and edi, eax
inc ebp
adc byte [ebx], dl
add byte [eax], al
add byte [ebp + 0x71], dh
mov al, byte [esi - 0x20]
test al, al
je 0x40b10d
mov edx, dword [esi + 4]
mov ecx, dword es:[eax]
xchg ebx, eax
add byte [ecx + 0x6a], dl
add byte [eax + 0x52006400], bh
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, ecx
jne 0x40b0f2
mov esi, dword [0xe540c098]
call esi
test eax, eax
jne 0x40b0d2
mov ecx, dword [ebp + 0x14]
pop edi
pop esi
mov dword [ecx], eax
or eax, 0x5cdffc3
cmp ah, 0xa
add byte [0x61fced], bh
dec ebp
add eax, 0xafc80
cmp eax, 0x61fced
jne 0x40b0e5
mov eax, 0x1117e
mov ecx, dword [ebp - 0x37]
pop edi
invalid
mov esi, dword [eax + 0xf]
test eax, eax
jne 0x40b107
mov esp, dword [ebp - 0x7da191ec]
add bh, byte [eax + 0xb]
pop ebp
ret
cmp edi, dword [ebx]
xchg ecx, eax
add cl, byte [ebx + 0xc468bf8]
mov eax, dword [esi + 0xc]
test esp, ecx
je 0x40b137
mov cl, byte [esi + 8]
test cl, cl
jne 0x40b137
mov ecx, dword [esi + 0x47]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov ecx, 0xff
call fcn.0040b810
mov edx, dword [esi + 0xc]
fiadd dword [edx + 0xc]
mov eax, dword [esi + 0x4f]
mov ebp, 0xef532555
dec ebp
adc byte [eax + 0x28], dl
inc esi
adc byte [ecx + 0x3d], 0x52
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 0x330774c0
shr cl, 0xc7
push 0x3d8b0000
cwde
rol byte [eax + 0x7f], 0xff
xlatb
test dword [ebx + 0x11b840f], edx
add byte [eax], al
inc dword [ecx + 5]
cmp ah, 0xa
add byte [0xb0065], bh
psrld mm3, 0xa5
add byte [eax], al
das
and ebx, dword [eax + eax*8 + 0x4e8b003f]
adc al, 0x8b
inc esi
adc byte [ebp - 0x20c8337], al
add al, 0x85
jbe 0x40b1c4
push 0
push 0x50f7
invalid
push dword [ecx + esi - 0x5f]
pushal
or dword [edi + 0x4158b00], esi
test eax, eax
jne 0x40b23e
push eax
push str.CancelIo
push eax
call fcn.0040a940
add esp, 0xc
mov dword [0x410960], eax
test eax, eax
inc ecx
add eax, 0xebd05390
or byte [edx + 1], ch
inc edi
adc eax, sym.imp.KERNEL32.dll_SetLastError
mov ecx, dword [esi - 0x25]
mov eax, ebx
add al, 0x86
inc ebp
adc byte [edx + 1], ch
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
dec edx
sal byte [esp + eax + 0x33], 0xc0
jmp 0x40b285
dec ebp
adc al, 0x8b
push ebp
cmp al, 0x5b
pop edi
mov eax, 0x11177
mov dword [ecx], edx
pop esi
js 0x40b212
cmp eax, 0xafced
jne 0x40b268
mov dword [0x8e0c144d], eax
adc byte [ebx], ch
pop edi
mov eax, 0x1117e
mov dword [ecx], edx
pop esi
pop ebp
ret
cmp eax, 0x820afca6
inc ecx
adc cl, byte [ebx + 0x5565144d]
adc byte [ebx + 0x5f], bl
fnstcw word [esi + 0x11]
add dword [eax], eax
mov dword [ecx], edx
pop esi
dec eax
ret
mov ecx, dword [ebp - 0x19]
test dword [eax + 0x4d8b1275], ecx
adc al, 0x8b
push ebp
adc byte [ebx], cl
pop edi
mov eax, 0x1117e
mov dword [ecx], edx
pop esi
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x10005360
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007654b
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.1006b593
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x100053e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100694a5
mov eax, dword [eax]
push 0x10090c28
push eax
call fcn.1005c1f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1006b81e
test bl, bl
je 0x100053e2
push 0x10090c28
lea ecx, [esp + 0xc]
call fcn.1006bbae
push 0x10090c34
lea ecx, [esp + 0xc]
call fcn.1006bbae
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 0x1000541e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1006b81e
jmp 0x100054e9
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 0x100054a2
lea edx, [esp + 0x7c]
push 0x10090c30
push edx
call fcn.1005c1f4
add esp, 8
test eax, eax
je 0x100054a2
lea eax, [esp + 0x7c]
push 0x10090c2c
push eax
call fcn.1005c1f4
add esp, 8
test eax, eax
je 0x100054a2
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 0x10005432
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.1006b81e
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 0x10005cf0
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 0x10005d52
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 0x10005d60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100765cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1009a5c0]
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 0x10005e98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10005dc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006b81e
xor eax, eax
jmp 0x10005f0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1006b95b
push esi
lea ecx, [esp + 0xc]
call fcn.1006bbea
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 0x10005eed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.10005cf0
test eax, eax
jne 0x10005eed
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 accept
mov ecx, edi
call fcn.10005cf0
test eax, eax
jne 0x10005eed
lea eax, [esp + 0x14]
push 0x10090c44
push eax
call fcn.1005d290
mov esi, eax
add esp, 8
test esi, esi
jne 0x10005ecc
lea ecx, [esp + 0x14]
push 0x10090c40
push ecx
call fcn.1005d210
mov esi, eax
add esp, 8
test esi, esi
jne 0x10005ecc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10005ecf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1006b90b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10005dde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006b81e
xor eax, eax
jmp 0x10005f0f
mov byte [esi], 0
push 0x10090c3c
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.1006b81e
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 0x100151f0
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 0x1001525e
cmp si, 0x69
ja 0x1001525e
add esi, 0xffd0
cmp si, 0x11
je 0x1001522e
push 0x11
call edi
test ax, ax
jge 0x1001522e
or esi, 0x2000
cmp si, 0x10
je 0x10015243
push 0x10
call edi
test ax, ax
jge 0x10015243
or esi, 0x4000
cmp si, 0x12
je 0x10015258
push 0x12
call edi
test ax, ax
jge 0x10015258
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1001526b
mov esi, 0xbd
jmp 0x1001521f
cmp si, 0x6e
jne 0x10015278
mov esi, 0xbe
jmp 0x1001521f
cmp si, 0x6f
jne 0x10015219
mov esi, 0xbf
jmp 0x1001521f

Function at 0x10016980
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100aacf0]
xor edx, edx
cmp eax, edx
jne 0x100169a6
xor eax, eax
mov byte [eax + 0x100aabf0], al
inc eax
cmp eax, 0x100
jl 0x1001698e
mov dword [0x100aacf0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100aabf0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10016a37
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 0x10016a0a
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 0x100169d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10016ab0
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 0x10016b03
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 0x10016aea
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 0x1001db80
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 0x1001dd18
cmp ebp, ebx
jle 0x1001dd18
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 0x1001dbde
dec eax
or eax, 0xfffffff8
inc eax
je 0x1001dbe5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x1001dbf4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x1001dbfb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.1006b55f
add esp, 4
cmp eax, ebx
je 0x1001dc1c
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.1006b55f
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 0x1001dd0e
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 0x1001dcf5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x1001dce1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x1001dcd6
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 0x1001dce4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x1001dce4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x1001dc80
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 0x1001dc71
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