joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488d84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x65933c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x488e48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x488dbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x488e5f
dec edx
je 0x488ea0
jmp 0x488efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x488efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x488f60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x488f7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x48908f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x488fb0
je 0x488ffc
sub ecx, 0x2b
je 0x488ff2
sub ecx, 4
je 0x488ff7
dec ecx
sub ecx, 0xa
jb 0x488fe1
jmp 0x488fff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x488fc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x488fd0
jmp 0x488fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x488fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x488fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x488fff
mov byte [eax], 0x3e
jmp 0x488fff
mov byte [eax], 0x3f
jmp 0x488fff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x488f8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x48904f
cmp byte [esp + 3], 0xff
jne 0x48904f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x489087
cmp dl, 0xff
je 0x489087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x488f88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x48911c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x66a7a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x489138
shr eax, 1
xor eax, 0xedb88320
jmp 0x48913a
shr eax, 1
dec edx
jne 0x48912b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x489124
pop ebx
ret
Function at 0x489150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x489159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00480a38
xor eax, eax
push ebp
push 0x489239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0048911c
mov eax, dword [0x669e0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.0047ee7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.0047f218
call fcn.0047eba8
test eax, eax
jne 0x489216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.0047efcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x489210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x66a7a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4891ec
cmp dword [ebp - 8], 0
jne 0x4891c3
lea eax, [ebp - 0x154]
call fcn.0047efec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489240
lea eax, [ebp - 4]
call fcn.00480588
ret

Function at 0x494718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x494738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x494726
pop edi
pop esi
pop ebx
ret
Function at 0x49cfd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x66acb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x65f670]
mov eax, dword [esi*4 + 0x65f6b0]
xor eax, dword [esp]
call fcn.0049cf70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.0049cfac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x65f680]
mov eax, dword [esi*4 + 0x65f6c0]
xor eax, dword [esp]
call fcn.0049cf70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.0049cfac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x65f690]
mov eax, dword [esi*4 + 0x65f6d0]
xor eax, dword [esp]
call fcn.0049cf70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.0049cfac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x65f6a0]
mov eax, dword [esi*4 + 0x65f6e0]
xor eax, dword [esp]
call fcn.0049cf70
mov edi, eax
mov eax, edi
call fcn.0049cfac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x49cfe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49d138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x49d16d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x49d193
inc ebx
cmp ebx, 0xf
jne 0x49d17d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x49d14f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a6ee0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], 0x100
mov esi, 0x6640f4
mov ebx, 0x66ece4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.004a5e30
mov dword [esp + 8], eax
mov eax, edi
call fcn.004a5e40
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.004a5e30
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.004a5e40
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x4a6ef9
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10013074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10013083
pop dword [ebp - 0x48]
mov eax, 0x10013083
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xe7f36467
add dword [ebp - 0x58], 0x665ee0e4
mov dword [ebp - 0x54], 0x941dc2ed
add dword [ebp - 0x54], 0x9e158958
mov dword [ebp - 0x50], 0x774f25bd
add dword [ebp - 0x50], 0xd4fd1e71
mov dword [ebp - 0x4c], 0x4d45a14a
add dword [ebp - 0x4c], 0xb2ba5eb6
lea eax, [ebp - 0x58]
push eax
mov eax, 0xe29d113c
sub eax, 0xd29bc0a4
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x8c3cf6b4
add dword [ebp - 0x58], 0xe83572a2
mov dword [ebp - 0x54], 0xfa89ed1f
sub dword [ebp - 0x54], 0xb91d8baa
mov dword [ebp - 0x50], 0x75a8b907
sub dword [ebp - 0x50], 0x12394c9b
mov dword [ebp - 0x4c], 0xa6316337
sub dword [ebp - 0x4c], 0xa6316337
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x4c0721df
sub eax, 0x3c05d143
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3d3d0
push 0
call eax
mov ecx, 0x5a68
xor edx, edx
add edx, eax
mov esi, 0x10041c00
add esi, dword [ebp - 0x48]
mov ebx, 0x21d62ee4
add ebx, 0xb8318e11
sub dword [ebp - 0x1c], 0x93875c21
mov edi, dword [esi]
sub dword [ebp - 0x40], edi
add edi, ebx
xor dword [ebp - 0x40], 0x3a603ff3
mov dword [edx], edi
add dword [ebp - 0xc], edi
add edx, 0x5396b4b8
sub edx, 0x5396b4b4
add esi, 0xc91c083f
add esi, 0x36e3f7c5
loop 0x10013196
add eax, 0xc374949d
add eax, 0x3c8cc7d6
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10045060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1013def0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.101321ff
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1004a500
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x100450b4
jmp dword [ecx*4 + 0x1004521c]
mov al, byte [esi]
test al, al
je 0x100450e2
cmp al, 0x20
je 0x100450ce
cmp al, 0xa1
jne 0x100450e2
cmp byte [esi + 1], al
jne 0x100450e2
test al, 0x80
je 0x100450da
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100450e2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100450c1
test ecx, ecx
je case.default.0x100450b4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x100450b4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10045128
cmp dl, 0xa1
jne 0x1004511c
cmp byte [eax + 1], 0xa1
jne 0x1004511c
test ecx, ecx
jne 0x10045114
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1004513c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10045156
jmp 0x1004513c
cmp dl, 0x20
jne 0x1004513a
test ecx, ecx
jne 0x10045133
mov edi, eax
mov ecx, 1
jmp 0x1004513c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100450fc
cmp ecx, 1
jne case.default.0x100450b4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x100450b4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x100450b4
mov al, byte [esi]
test al, al
je 0x100451ae
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10045194
mov cl, byte [esi + 1]
test cl, cl
je 0x100451ae
cmp al, 0xa1
jne 0x10045184
cmp cl, al
je 0x10045191
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1004a7d0
inc esi
jmp 0x100451a6
cmp al, 0x20
je 0x100451a6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1004a810
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1004516d
push 0
lea ecx, [esp + 0x14]
call fcn.1004a810
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1005f7d0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x100451e1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1015bf58
call fcn.1004a700
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10132191
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10053bd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1013eb3b
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.10131f06
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10053c52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1012ec61
mov eax, dword [eax]
push 0x10247d9c
push eax
call fcn.1010e7c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10132191
test bl, bl
je 0x10053c52
push 0x10247d9c
lea ecx, [esp + 0xc]
call fcn.10132521
push 0x10247da8
lea ecx, [esp + 0xc]
call fcn.10132521
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 0x10053c8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10132191
jmp 0x10053d59
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 0x10053d12
lea edx, [esp + 0x7c]
push 0x10247da4
push edx
call fcn.1010e7c4
add esp, 8
test eax, eax
je 0x10053d12
lea eax, [esp + 0x7c]
push 0x10247da0
push eax
call fcn.1010e7c4
add esp, 8
test eax, eax
je 0x10053d12
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 0x10053ca2
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.10132191
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 0x10054570
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 0x100545d2
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 0x100545e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1013ebbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1025bc94]
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 0x10054718
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10054646
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10132191
xor eax, eax
jmp 0x1005478f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.101322ce
push esi
lea ecx, [esp + 0xc]
call fcn.1013255d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x10247ddc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1005476d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x10247dd4
push accept
call fcn.10054570
test eax, eax
jne 0x1005476d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x10247dc0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.10054570
test eax, eax
jne 0x1005476d
lea eax, [esp + 0x14]
push 0x10247db8
push eax
call fcn.1010f920
mov esi, eax
add esp, 8
test esi, esi
jne 0x1005474c
lea ecx, [esp + 0x14]
push 0x10247db4
push ecx
call fcn.1010f8a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1005474c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1005474f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1013227e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1005465e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10132191
xor eax, eax
jmp 0x1005478f
mov byte [esi], 0
push 0x10247db0
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.10132191
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 0x1006b6c0
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 0x1006b72e
cmp si, 0x69
ja 0x1006b72e
add esi, 0xffd0
cmp si, 0x11
je 0x1006b6fe
push 0x11
call edi
test ax, ax
jge 0x1006b6fe
or esi, 0x2000
cmp si, 0x10
je 0x1006b713
push 0x10
call edi
test ax, ax
jge 0x1006b713
or esi, 0x4000
cmp si, 0x12
je 0x1006b728
push 0x12
call edi
test ax, ax
jge 0x1006b728
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1006b73b
mov esi, 0xbd
jmp 0x1006b6ef
cmp si, 0x6e
jne 0x1006b748
mov esi, 0xbe
jmp 0x1006b6ef
cmp si, 0x6f
jne 0x1006b6e9
mov esi, 0xbf
jmp 0x1006b6ef

Function at 0x1006d0d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1026d4f8]
xor edx, edx
cmp eax, edx
jne 0x1006d0f6
xor eax, eax
mov byte [eax + 0x1026d3f8], al
inc eax
cmp eax, 0x100
jl 0x1006d0de
mov dword [0x1026d4f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1026d3f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1006d187
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 0x1006d15a
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 0x1006d128
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1006d200
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 0x1006d253
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 0x1006d23a
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