joyce8/EMBER2024-capa huggingface dataset:
Function at 0x619cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.00619760
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x619ee8
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.0061d390
test al, al
jne 0x619ee2
mov ecx, edi
call fcn.0061d3c0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.0061d9b0
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x619ec2
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x619d37
xor esi, esi
mov ecx, ebx
call fcn.0061b2a0
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.0061d8f0
mov ebp, eax
cmp dword [ebp], esi
jne 0x619d91
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x440
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x619dcf
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x840
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0061b910
lea ecx, [ebx + 8]
call fcn.0061d9c0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00619740
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x619e15
mov ecx, dword [ebp + 0xc]
mov esi, 0x41
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x619e1a
mov esi, 0x42
mov edi, dword [esp + 0x18]
cmp edi, 1
jle 0x619e29
or esi, 0x80
mov ecx, ebx
call fcn.0061b2a0
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
je 0x619e3f
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jne 0x619e5e
mov al, byte [esp + 0x12]
or esi, 0x100
test al, al
je 0x619e5e
or esi, 0x1000
mov eax, dword [ebp + 4]
sub esp, 0x20
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], ecx
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0061b910
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x619d35
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.0061d3c0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x619ee2
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0061b8d0
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x61dd10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68a031
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
call fcn.00615560
xor ebx, ebx
mov eax, 0x81ddc8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
xor eax, eax
mov dword [esi + 0x40], ebx
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
push 0x80
xor edi, edi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], ecx
push ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x5c], 0xffffff
mov dword [esi + 0x64], 0x808080
call fcn.0061e260
mov eax, dword [eax]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x6c], eax
call fcn.0061e260
mov ecx, dword [eax]
push 0xc0
push 0xc0
mov dword [esi + 0x74], ecx
push 0xc0
lea ecx, [esp + 0x1c]
call fcn.0061e260
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x7c], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x65c5b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x68a1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
mov edx, ecx
dec ecx
test edx, edx
mov dword [esp + 0x14], ebx
mov eax, esi
je 0x65c5fe
inc ecx
movsx edx, byte [eax]
shl ebp, 4
xor ebp, edx
inc eax
dec ecx
jne 0x65c5f2
mov eax, ebp
xor edx, edx
mov ecx, 0x1f
div ecx
mov eax, dword [esp + 0x10]
mov edi, dword [eax + edx*4]
cmp edi, ebx
je 0x65c653
cmp ebp, dword [edi]
jne 0x65c64c
mov eax, dword [edi + 4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x65c63f
cmp cl, bl
je 0x65c63b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x65c63f
add eax, 2
add esi, 2
cmp cl, bl
jne 0x65c61b
xor eax, eax
jmp 0x65c644
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x65c66e
mov esi, dword [esp + 0x2c]
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x65c614
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
cmp ecx, ebx
je 0x65c6a4
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.0065c5b0
jmp 0x65c6e7
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], ebx
mov dword [esi + 0xc], 0x40
call fcn.0065c410
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x65c6df
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x65c6e1
mov esi, dword [esp + 0x28]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push 0x89e548
mov dword [esp + 0x28], 1
mov dword [esi + 0xc], 0x40
call fcn.0065c410
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x65c6df
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x65c6e1
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x65c700
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x68a1e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x18]
xor ebx, ebx
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.0065c5b0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x64
push edx
push esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.0065c7c0
mov esi, dword [esp + 0x48]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x48], 2
mov dword [esi + 0xc], 0x40
call fcn.0065c410
mov edx, dword [esp + 0x38]
mov dword [esi], eax
neg eax
sbb eax, eax
mov dword [esp + 0x24], 1
and eax, edx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x48], bl
push edx
mov dword [esp + 0x3c], ebx
call fcn.006757ef
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x8a8c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x8a8d1c
test eax, eax
je 0x8a8d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x8c3fe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x8a8d03
lea edi, [eax + 4]
jmp 0x8a8c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x8a8c7c
mov dword [ebp - 4], 2
jmp 0x8a8c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x8a8c93
mov dword [ebp - 4], 1
jmp 0x8a8c9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x8a8d13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x8a8cd6
mov byte [ecx], 0x3d
jmp 0x8a8ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x8a8ced
mov byte [ecx], 0x3d
jmp 0x8a8cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x8a8c64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xa789cc
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
push ebp
bt bp, 0x39
mov ebp, esp
stc
jmp 0xd0053d
mov dword [ebp - 4], 0
jmp loc.0044320f
sub esp, 4
jmp 0xa8fb88
Function at 0xbeb570
Capabilities:
Packed with generic packer

Disassembly:
push eax
mov bx, bx
shld ebx, ecx, 0xba
mov ebx, dword [0x8502ec]
cmp cx, ax
jmp fcn.0103c3de
push edx
mov dl, dh
setp dl
mov edx, 1
cdq
mov edx, 2
jmp 0xf452e2
nop
jmp 0xaaaae6
jmp 0xa061aa
nop
nop
jmp 0xe7eb1b
nop
jmp 0xe1cd79
pushal
mov eax, 1
xchg si, ax
mov eax, 2
cwde
mov eax, 4
cmovbe dx, sp
mov eax, 2
jmp 0xbf9e37
push ebp
mov ebp, esp
jmp 0x92dc2f
mov eax, 5
cdq
bswap edi
mov eax, 4
mov eax, 2
jmp 0xd89379
nop
jmp 0xf1bb69
mov eax, 5
mov eax, 6
popal
jmp 0x8dddda
call fcn.00404452
inc eax
jmp loc.00444a96
nop
jmp 0xece99a
nop
jmp 0xcd41cb
nop
nop
jmp 0x10699cc
nop
jmp 0x902aa5
fninit
mov eax, dword [ebp + 8]
neg bl
ror ebx, 0xfb
cmovnp ebx, esi
mov dword [0x8502e8], eax
clc
shl eax, cl
shrd eax, edx, 3
mov ebx, dword [ebp + 0xc]
neg al
rol ax, cl
mov eax, dword [ebx]
test eax, eax
jmp 0x101d753
mov edx, 4
not edx
movsx edx, sp
mov edx, 2
movsx edx, bp
mov dh, cl
mov edx, 5
movzx dx, dh
cdq
mov edx, 4
setb dh
mov edx, 2
cmovns edx, ebx
mov edx, 5
mov edx, 5
cdq
setnp dh
pop edx
jmp 0xf21ff6
nop
jmp 0xb29c2c
je 0x444aab
push eax
xchg ebx, ebx
cmovp bx, sp
mov ebx, eax
jmp 0xdb5942
nop
jmp 0xf75ee0

Function at 0xd249c6
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
pop edx
not bl
push 0x80000301
push 0
jmp 0x1088358
push ebp
mov ebp, esp
sub esp, 8
jmp 0xe56960
mov edx, 1
mov edx, 2
btc bx, si
rcr ah, 0x5e
cwd
mov edx, 4
mov edx, 2
cmp edi, 0x4ad10c40
clc
mov edx, 5
mov edx, 4
mov edx, 2
rcr bx, cl
rcr bx, 0x8d
sar dh, cl
mov edx, 5
bsr ebx, esi
stc
mov edx, 5
movzx edx, cx
pop edx
push edx
dec bl
cmovo ebx, eax
cwde
rdtsc
xor eax, eax
mov bl, 0xe6
mov ebx, ebp
mov al, dh
movzx edx, sp
mov dword [ebp - 4], eax
mov ebx, ebp
jmp 0xc95f2d
nop
cmp dx, si
nop
cmp esi, ebp
nop
test ax, ax
nop
pushal
btc bp, di
mov eax, 1
bts ecx, edx
mov eax, 2
and ebp, 0x78791bf5
mov eax, 4
xchg ebp, eax
btc ebp, 0x7a
mov eax, 2
bts dx, bp
mov eax, 5
mov eax, 4
not ah
adc ebp, esp
mov eax, 2
cmp ebp, ebp
xor si, 0x6604
mov eax, 5
btr bp, si
rdtsc
mov eax, 6
popal
push edx
jmp 0xd306b2
nop
stc
clc
cmp bh, 0x8d
nop
clc
cmp ah, 0x21
cmp esp, edi
nop
jmp 0xee7d2c
mov dword [ebp - 4], 0
jmp 0xf25c6a
call fcn.00544e55
add esp, 0x10
jmp fcn.0043e982
nop
test dx, 0x361b
cmc
nop
cmp sp, 0x1bc0
clc
nop
test al, dh
jmp 0xeffcb5
nop
clc
jmp 0xd7b8c4
jmp 0x10af29b
push dword [ebp - 4]
mov bx, bx
push 1
movsx ebx, bp
cmovnp bx, bx
mov ebx, 0x545f80
jmp 0xeb2546
nop
stc
cmc
jmp 0xe410c6
Function at 0x409f40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b4cb
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.0045f570
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409fc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d31d
mov eax, dword [eax]
push 0x4b01d0
push eax
call fcn.0044f7a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f7fb
test bl, bl
je 0x409fc2
push 0x4b01d0
lea ecx, [esp + 0xc]
call fcn.0045fb8b
push 0x4b3d4c
lea ecx, [esp + 0xc]
call fcn.0045fb8b
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 0x409ffe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f7fb
jmp 0x40a0c9
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 0x40a082
lea edx, [esp + 0x7c]
push 0x4b3d48
push edx
call fcn.0044f7a4
add esp, 8
test eax, eax
je 0x40a082
lea eax, [esp + 0x7c]
push 0x4b3d44
push eax
call fcn.0044f7a4
add esp, 8
test eax, eax
je 0x40a082
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 0x40a012
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.0045f7fb
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 0x40a8e0
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 0x40a942
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 0x40a950
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b54b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ba6c8]
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 0x40aa88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a9b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f7fb
xor eax, eax
jmp 0x40aaff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f938
push esi
lea ecx, [esp + 0xc]
call fcn.0045fbc7
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 0x40aadd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a8e0
test eax, eax
jne 0x40aadd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040a8e0
test eax, eax
jne 0x40aadd
lea eax, [esp + 0x14]
push 0x4b3d60
push eax
call fcn.004507e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aabc
lea ecx, [esp + 0x14]
push 0x4b3d5c
push ecx
call fcn.00450760
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aabc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40aabf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045f8e8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a9ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f7fb
xor eax, eax
jmp 0x40aaff
mov byte [esi], 0
push 0x4b3d58
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.0045f7fb
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 0x40c9aa
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46b748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00460daa
xor ebp, ebp
mov dword [esi], 0x4a18d4
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0x4a1358
call fcn.004016f0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0045e875
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.004016f0
mov dword [ebx], 0x49fb1c
mov dword [edi], 0x4a17f8
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x4a14d8
lea ecx, [esi + 0xb0]
call fcn.004016f0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x4a1800
mov dword [esi + 0xac], ebp
call fcn.004694d2
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00466448
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x40cb60
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46b7d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4a1800
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0046649f
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x49fb18
call fcn.004018f0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0046649f
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x49fb18
call fcn.004018f0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0045e8a8
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x49fb18
call fcn.004018f0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0046789b
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41c330
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 0x41c39e
cmp si, 0x69
ja 0x41c39e
add esi, 0xffd0
cmp si, 0x11
je 0x41c36e
push 0x11
call edi
test ax, ax
jge 0x41c36e
or esi, 0x2000
cmp si, 0x10
je 0x41c383
push 0x10
call edi
test ax, ax
jge 0x41c383
or esi, 0x4000
cmp si, 0x12
je 0x41c398
push 0x12
call edi
test ax, ax
jge 0x41c398
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41c3ab
mov esi, 0xbd
jmp 0x41c35f
cmp si, 0x6e
jne 0x41c3b8
mov esi, 0xbe
jmp 0x41c35f
cmp si, 0x6f
jne 0x41c359
mov esi, 0xbf
jmp 0x41c35f

Function at 0x41da50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4cadd8]
xor edx, edx
cmp eax, edx
jne 0x41da76
xor eax, eax
mov byte [eax + 0x4cacd8], al
inc eax
cmp eax, 0x100
jl 0x41da5e
mov dword [0x4cadd8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4cacd8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41db07
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 0x41dada
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 0x41daa8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41db80
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 0x41dbd3
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 0x41dbba
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