joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2c81c60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
xor cl, cl
mov dword [ebp - 0x10], edi
mov byte [ebp + 0xb], cl
jmp 0x2c81c93
mov cl, byte [ebp + 0xb]
test cl, cl
je 0x2c81cc1
cmp cl, 0x14
je 0x2c81cb8
cmp cl, 0x28
je 0x2c81caf
cmp cl, 0x3c
jne 0x2c81cc8
mov dword [ebp - 0xc], 0xca62c1d6
jmp 0x2c81cc8
mov dword [ebp - 0xc], 0x8f1bbcdc
jmp 0x2c81cc8
mov dword [ebp - 0xc], 0x6ed9eba1
jmp 0x2c81cc8
mov dword [ebp - 0xc], 0x5a827999
mov bl, cl
and bl, 0xf
mov byte [ebp - 1], bl
cmp cl, 0xf
jbe 0x2c81d0b
movzx ecx, bl
lea edi, [edx + ecx*4]
mov dword [ebp - 0x1c], edi
lea edi, [ecx - 8]
and edi, 0xf
mov edi, dword [edx + edi*4]
lea ebx, [ecx - 3]
and ebx, 0xf
xor edi, dword [edx + ebx*4]
mov bl, byte [ebp - 1]
add ecx, 2
and ecx, 0xf
xor edi, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x1c]
xor edi, dword [ecx]
rol edi, 1
mov dword [ecx], edi
mov edi, dword [ebp - 0x10]
mov cl, byte [ebp + 0xb]
cmp cl, 0x14
jae 0x2c81d16
mov ecx, esi
not ecx
jmp 0x2c81d25
cmp cl, 0x28
jb 0x2c81d30
cmp cl, 0x3c
jae 0x2c81d30
mov ecx, dword [ebp - 8]
or ecx, esi
and ecx, edi
mov edi, dword [ebp - 8]
and edi, esi
or ecx, edi
jmp 0x2c81d37
mov ecx, edi
xor ecx, dword [ebp - 8]
xor ecx, esi
mov edi, dword [ebp - 0x14]
rol edi, 5
movzx ebx, bl
add edi, dword [edx + ebx*4]
add edi, dword [ebp - 0xc]
add edi, dword [ebp - 0x18]
add ecx, edi
mov edi, dword [ebp - 0x10]
inc byte [ebp + 0xb]
ror esi, 2
cmp byte [ebp + 0xb], 0x50
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
jb 0x2c81c90
add dword [eax], ecx
mov ecx, dword [ebp - 8]
add dword [eax + 0xc], edi
add dword [eax + 4], esi
add dword [eax + 8], ecx
mov ecx, dword [ebp - 0x18]
add dword [eax + 0x10], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2c822f4
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.02c88cfd
mov esi, dword [ebp + 8]
push esi
call fcn.02c81b92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.02c81b92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.02c88cfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x2c8235b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.02c81d89
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02c81e2e
push esi
call fcn.02c81b92
add esp, 0x18
jmp 0x2c8236f
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.02c88cd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x2c82374
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02c81d89
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x2c8238e
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.02c81d89
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x2c823d6
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.02c88cfd
mov esi, dword [ebp + 8]
push esi
call fcn.02c81b92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.02c81b92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.02c88cfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x2c8243d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.02c821d8
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02c82271
push esi
call fcn.02c81b92
add esp, 0x18
jmp 0x2c82451
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.02c88cd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x2c82456
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02c821d8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x2c82470
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.02c821d8
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x2c824f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x10]
push 0x10
sub esi, ebx
mov ecx, ebx
sub edx, ebx
pop edi
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
dec edi
jne 0x2c8251f
xor edx, edx
xor esi, esi
mov al, byte [edx + 0x2c90ef8]
lea ecx, [ebp + esi - 0x30]
xor byte [ecx], al
movzx edx, byte [ecx]
inc esi
cmp esi, 0x30
jb 0x2c8252f
add edx, edi
and edx, 0xff
inc edi
cmp edi, 0x12
jb 0x2c8252d
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ecx, byte [eax + 0xf]
mov edx, ebx
push 0x10
sub edx, eax
pop esi
movzx edi, byte [edx + eax]
xor edi, ecx
mov cl, byte [edi + 0x2c90ef8]
xor byte [eax], cl
movzx ecx, byte [eax]
inc eax
dec esi
jne 0x2c8256a
pop edi
pop esi
leave
ret

Function at 0x2c82652
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x2c8780f
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x2c87e86
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 0x10
xor edi, edi
lea eax, [esi + 4]
push edi
push eax
call fcn.02c8617f
add esp, 0xc
mov dword [esi + 0x14], edi
mov dword [esi], 0x200
push edi
call fcn.02c88f73
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.02c88f7f
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
call fcn.02c88f91
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp eax, edi
mov ecx, eax
jge 0x2c87eda
neg eax
xor ecx, ecx
mov dword [0x2c997f0], eax
inc ecx
mov eax, dword [0x2c997f0]
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [edx + 0x2c910d8]
xor eax, ecx
mov dword [ebp - 0x10], ecx
movzx ecx, ax
shr eax, 0x10
mov edi, eax
imul edi, eax
mov ebx, ecx
imul ebx, ecx
imul ecx, eax
mov eax, dword [ebp - 0x10]
not edi
add edi, ebx
ror edi, 0x10
xor edi, dword [edx + 0x2c910e8]
add edx, 4
add edi, ecx
xor edi, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, edi
cmp edx, 0x10
jb 0x2c87ee4
push 4
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], ecx
call fcn.02c86036
push 0x24
push dword [ebp - 0xc]
push esi
call fcn.02c86036
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.02c86036
xor edi, edi
add esp, 0x24
cmp dword [esi], edi
jne 0x2c87ea8
push 0x24
push edi
push dword [ebp - 0xc]
call fcn.02c8617f
add esp, 0xc
pop edi
pop ebx
leave
ret

Function at 0x2c8affe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push 0x2c98ca8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x2c8b01e
or eax, 0xffffffff
jmp 0x2c8b098
push 0x2c98c9c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2c8b019
push edi
push 0x2c98b58
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x2c8b051
push 0x2c98b74
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
jne 0x2c8b056
or eax, 0xffffffff
jmp 0x2c8b097
push ebx
call eax
push 0
push 2
mov ebx, eax
call edi
push 0x2c98b28
push esi
mov edi, eax
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2c8b093
lea ecx, [ebp - 0x128]
push ecx
push edi
call eax
test eax, eax
je 0x2c8b093
push 0x2c98b18
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x2c8b0a3
or eax, 0xffffffff
pop ebx
pop edi
pop esi
leave
ret
cmp dword [ebp - 0x120], ebx
je 0x2c8b0b3
lea eax, [ebp - 0x128]
push eax
push edi
call esi
test eax, eax
jne 0x2c8b09b
jmp 0x2c8b093
mov eax, dword [ebp - 0x110]
jmp 0x2c8b096
Function at 0x2c8b1f1
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
test eax, eax
je 0x2c8b20a
xor eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x2c8b279
push ebx
push 0x2c989b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x2c8b278
push esi
push 0x2c98ab4
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x2c8b277
call fcn.02c8affe
cmp eax, 0xffffffff
je 0x2c8b277
push eax
push 1
push 1
call esi
mov esi, eax
test esi, esi
jne 0x2c8b262
push 0x2c98ad4
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2c8b277
push esi
call eax
push 0x2c98aa0
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2c8b277
push 0
push esi
call eax
pop esi
pop ebx
leave
ret

Function at 0x2c8cb7a
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push ebx
push ebx
push ecx
push 0x2c8cbb6
push dword fs:[0]
mov dword fs:[0], esp
mov ebx, 0
mov eax, 1
invalid

Function at 0x2c8cc03
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
and dword [ebp - 0xc], 0
push 0x2c989b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x2c8cc24
jmp 0x2c8cc99
push 0x2c98ad4
push dword [ebp - 4]
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x2c8cc3d
jmp 0x2c8cc99
push ebx
push ecx
push edx
push 0x2c8cc81
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
pop dword fs:[0]
add esp, 4
cmp ebx, 0x564d5868
sete byte [ebp - 0xc]
pop edx
pop ecx
pop ebx
jmp 0x2c8cc8e
cmp dword [ebp - 0xc], 1
jne 0x2c8cc99
push 0
call dword [ebp - 8]
pop ebx
leave
ret

Function at 0x2c8d040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x2c8d05d
shr eax, 1
xor eax, 0xedb88320
jmp 0x2c8d05f
shr eax, 1
dec edx
test edx, edx
jg 0x2c8d050
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jl 0x2c8d04b
or eax, 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x2c8d09f
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
dec dword [ebp + 0xc]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [ebp + edx*4 - 0x400]
inc ecx
cmp dword [ebp + 0xc], 0
jne 0x2c8d080
not eax
leave
ret
Function at 0x2c8d277
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
push edi
push 0x2c989b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x2c8d3df
push 0x2c98a48
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x2c8d3df
push ebx
push 0x2c99180
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x2c8d3de
push 0x2c99174
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x2c8d3de
push 0x2c99168
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x2c8d3de
push 0x2c98b0c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x2c8d3de
push 0x2c98ad4
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x2c8d3de
push 0x2c9915c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x2c8d3de
push 0x2c99150
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x2c8d3de
call fcn.02c8cff1
push 0x104
lea ecx, [ebp - 0x124]
push ecx
push eax
call dword [ebp - 4]
test eax, eax
je 0x2c8d3de
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
lea eax, [ebp - 0x124]
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x2c8d3de
push edi
push ebx
call dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x2c8d3de
push eax
push edi
call dword [ebp - 0x1c]
mov esi, eax
cmp esi, edi
je 0x2c8d3de
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [ebp - 0xc]
push ebx
call dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 4]
add eax, esi
mov ebx, dword [eax]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
push esi
mov dword [esi + eax], edi
call fcn.02c8d040
pop ecx
pop ecx
push esi
cmp eax, ebx
jne 0x2c8d3d7
call dword [ebp - 8]
jmp 0x2c8d3de
call dword [ebp - 8]
push edi
call dword [ebp - 0x14]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x411f80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49cb0b
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.004918ca
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412002
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048f73c
mov eax, dword [eax]
push 0x4e7c98
push eax
call fcn.00481974
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00491b55
test bl, bl
je 0x412002
push 0x4e7c98
lea ecx, [esp + 0xc]
call fcn.00491ee5
push 0x4e7ca4
lea ecx, [esp + 0xc]
call fcn.00491ee5
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 0x41203e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00491b55
jmp 0x412109
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 0x4120c2
lea edx, [esp + 0x7c]
push 0x4e7ca0
push edx
call fcn.00481974
add esp, 8
test eax, eax
je 0x4120c2
lea eax, [esp + 0x7c]
push 0x4e7c9c
push eax
call fcn.00481974
add esp, 8
test eax, eax
je 0x4120c2
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 0x412052
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.00491b55
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 0x412910
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 0x412972
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 0x412980
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49cb8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f70a0]
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 0x412ab8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4129e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00491b55
xor eax, eax
jmp 0x412b2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00491c92
push esi
lea ecx, [esp + 0xc]
call fcn.00491f21
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 0x412b0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00412910
test eax, eax
jne 0x412b0d
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.00412910
test eax, eax
jne 0x412b0d
lea eax, [esp + 0x14]
push 0x4e7cb4
push eax
call fcn.004829f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x412aec
lea ecx, [esp + 0x14]
push 0x4e7cb0
push ecx
call fcn.00482970
mov esi, eax
add esp, 8
test esi, esi
jne 0x412aec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x412aef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00491c42
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4129fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00491b55
xor eax, eax
jmp 0x412b2f
mov byte [esi], 0
push 0x4e7cac
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.00491b55
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 0x424a40
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 0x424aae
cmp si, 0x69
ja 0x424aae
add esi, 0xffd0
cmp si, 0x11
je 0x424a7e
push 0x11
call edi
test ax, ax
jge 0x424a7e
or esi, 0x2000
cmp si, 0x10
je 0x424a93
push 0x10
call edi
test ax, ax
jge 0x424a93
or esi, 0x4000
cmp si, 0x12
je 0x424aa8
push 0x12
call edi
test ax, ax
jge 0x424aa8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x424abb
mov esi, 0xbd
jmp 0x424a6f
cmp si, 0x6e
jne 0x424ac8
mov esi, 0xbe
jmp 0x424a6f
cmp si, 0x6f
jne 0x424a69
mov esi, 0xbf
jmp 0x424a6f

Function at 0x426410
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5078e8]
xor edx, edx
cmp eax, edx
jne 0x426436
xor eax, eax
mov byte [eax + 0x5077e8], al
inc eax
cmp eax, 0x100
jl 0x42641e
mov dword [0x5078e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5077e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4264c7
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 0x42649a
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 0x426468
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4264d0
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 0x426523
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 0x42650a
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 0x42d590
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 0x42d728
cmp ebp, ebx
jle 0x42d728
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 0x42d5ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x42d5f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42d604
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42d60b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00491896
add esp, 4
cmp eax, ebx
je 0x42d62c
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.00491896
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 0x42d71e
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 0x42d705
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42d6f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42d6e6
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 0x42d6f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42d6f4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42d690
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 0x42d681
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