joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40196e
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x401978
add dword [esp], 5
retf

Function at 0x401b2b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ax, 0x53
mov fs, eax
push 0x33
call 0x401b3b
add dword [esp], 5
retf

Function at 0x401ca1
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x401cab
add dword [esp], 5
retf

Function at 0x401ebc
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x401ee8
add dword [esp], 5
retf

Function at 0x402290
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4022bc
add dword [esp], 5
retf

Function at 0x408501
Capabilities:
Encode data using xor

Disassembly:
movzx eax, dl
pop eax
xor cl, bl
mov eax, 0xad93acb2
neg cl
shr ax, 0xc7
not cl
ror cl, 1
lea eax, [edx + edx*4 + 0x19058f35]
not dx
and eax, edx
not cl
xor cl, 0x1e
xor bl, cl
inc ax
lea eax, [edx + edx*4 + 0x3ba169a1]
lea esi, [esi + edx - 0x183b2743]
ror eax, 0xb2
rol dl, 0x64
cdq
mov dword [edx + esi], ecx
shr eax, 0xf5
movsx ecx, dl
jb fcn.00b75b25
mov edx, dword [ebp]
mov ecx, 0xc13421a3
bts cx, cx
adc ebp, 4
lea eax, [ecx*8 + 0x5028919f]
bts cx, ax
xor edx, ebx
or al, cl
shr ecx, 0x35
add cl, ah
neg edx
bt ax, ax
adc ecx, eax
sar ecx, cl
bswap edx
adc ax, cx
or ecx, 0x893f4414
sbb cl, ah
not edx
neg cx
bt eax, 0x89
bts ax, ax
rol edx, 2
sal ecx, 0x30
shr cl, 0x86
xor ebx, edx
bts eax, 0x16
btc ecx, ecx
jae 0xb75ac0
push edx
pushfd
mov edx, 0x4233a00f
xor dl, 0x81
jge 0x4085b4
shr dl, 0x1e
mov edx, dword [esp + edx - 0x42339ffc]
mov dword [esp + 4], 0x8666e09c
push dword [esp]
popfd
lea esp, [esp + 4]
call fcn.00ac9118
adc esi, edx
sar ecx, cl
mov edx, dword [edi + ecx*2 - 0x28d30000]
mov cx, word [ecx + edi - 0x14697ffc]
not al
jb 0xd1558c
sal al, 0x23
lea edi, [edi + eax - 0x59c936a2]
mov word ss:[edx + eax - 0x59c936a8], cx
jmp esi
Function at 0x412999
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.004700e9
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x571634
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.004700e9
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x571634
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.00403455
mov eax, 0
cmp eax, ecx
jl 0x412a19
push 0x13
push 0x401bd3c
push 1
call fcn.004700ef
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.00403455
mov eax, 0
cmp eax, ecx
jl 0x412a4c
push 0x3c
push 0x401bd3c
push 1
call fcn.004700ef
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x412a62
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x412a8a
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x412a84
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x412aa3
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x472470
call fcn.004700fb
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412aff
push ebx
call fcn.00470101
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x412b14
mov ebx, dword [ebp - 4]
push ebx
call fcn.00470101
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00470101
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412d6d
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x412fba
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x412eb7
cmp byte [edx + edi], 0xd
jne 0x412eb7
cmp byte [edx + edi + 1], 0xa
je 0x412ef0
mov al, byte [edx + edi]
cmp al, 0xa
je 0x412ef0
cmp al, 0x3d
jne 0x412ecc
inc ecx
cmp ecx, 2
ja 0x412fc8
cmp al, 0x7f
ja 0x412fc8
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x412fc8
cmp al, 0x40
jae 0x412eef
test ecx, ecx
jne 0x412fc8
inc esi
inc edx
cmp edx, ebx
jb 0x412ea1
test esi, esi
je 0x412fba
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x412fd9
cmp dword [ecx], eax
jb 0x412fd9
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x412fa9
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x412fa5
cmp al, 0xa
je 0x412fa5
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x412fa5
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x412f90
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x412f9d
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x412fa5
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x412f41
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x422b2e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.004700e9
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x571634
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.004700e9
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x571634
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.00403455
mov eax, 0
cmp eax, ecx
jl 0x422bae
push 0
push 0x402c229
push 1
call fcn.004700ef
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.00403455
mov eax, 0
cmp eax, ecx
jl 0x422be1
push 0x29
push 0x402c229
push 1
call fcn.004700ef
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x422bf7
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x422c1f
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x422c19
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x422c38
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x472470
call fcn.004700fb
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x422c94
push ebx
call fcn.00470101
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x422ca9
mov ebx, dword [ebp - 4]
push ebx
call fcn.00470101
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00470101
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4314cd
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4314eb
mov eax, 0x571034
push eax
push 1
mov ebx, 0x470780
call fcn.004700fb
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x431515
mov eax, 0
jmp 0x431589
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x431576
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x43155f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x43154e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x43153f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4

Function at 0x432554
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jl 0x432580
mov ecx, dword [esp + 8]
push ebx
mov bl, byte [ecx]
mov edx, eax
and edx, 3
mov dl, byte [esp + edx + 0x14]
xor bl, dl
inc eax
mov byte [ecx], bl
inc ecx
cmp eax, esi
jle 0x432567
pop ebx
pop esi
ret

Function at 0x4325ac
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
lea eax, [esp + 4]
push 4
push eax
call fcn.004325ff
mov edi, dword [esp + 0x18]
add esp, 8
xor eax, eax
test edi, edi
jbe 0x4325f8
push ebx
push esi
mov esi, dword [esp + 0x14]
mov ecx, eax
mov dl, byte [esi]
and ecx, 3
mov bl, byte [esp + ecx + 0xc]
lea ecx, [esp + ecx + 0xc]
xor bl, dl
inc eax
inc esi
cmp eax, edi
mov byte [ecx], bl
jb 0x4325d3
mov eax, dword [esp + 0xc]
pop esi
pop ebx
pop edi
pop ecx
ret
mov eax, dword [esp + 4]
pop edi
pop ecx
ret
Function at 0x4445cf
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4445e5
mov eax, dword [ebp + 8]
mov edx, dword fs:[0x18]
mov dword [eax], edx
push 0x33
call 0x4445ec
add dword [esp], 5
retf

Function at 0x444646
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x444650
add dword [esp], 5
retf
Function at 0x4456a1
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
cmp dword [ebp + 8], 0xfffffffe
jne 0x4457d8
mov eax, dword fs:[0x18]
mov dword [ebp - 4], eax
mov ax, 0x53
mov fs, eax
push 0x33
call 0x4457a3
add dword [esp], 5
retf
lea eax, [ebp - 0x3c]
push eax
call fcn.0044090f
mov dword [ebp - 0x44], eax
mov eax, 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0x30
push dword [ebp - 0x44]
push 0
push dword [ebp + 8]
call fcn.004425c1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x58], 0
jne 0x445815
cmp dword [ebp - 0x54], 0
jne 0x44582c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
jmp 0x445836
mov eax, 0
jmp 0x44593b
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x445872
xor eax, eax
cmp dword [ebp - 8], 0
jl 0x445863
jg 0x445862
cmp dword [ebp - 0xc], 0xffff
jbe 0x445863
inc eax
test eax, eax
je 0x445872
mov eax, 1
jmp 0x445877
mov eax, 0
test eax, eax
je 0x4458e9
push dword [ebp + 8]
call fcn.00445941
push edx
push eax
push 1
push 0
push 1
push 0x1f0fff
call fcn.00440758
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jle 0x4458e9
push dword [ebp - 0x40]
call fcn.00445a5a
test eax, eax
je 0x4458c9
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
call fcn.00445ada
jmp 0x4458e9
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
call fcn.00445dba
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
call fcn.00445ada
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x445910
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x445931
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov eax, 1
jmp 0x44593b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x47ec20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x562d7b
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.00556835
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x47eca2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005533b8
mov eax, dword [eax]
push 0x9d2d58
push eax
call fcn.005381b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00556ac0
test bl, bl
je 0x47eca2
push 0x9d2d58
lea ecx, [esp + 0xc]
call fcn.00556e50
push 0x9d2d64
lea ecx, [esp + 0xc]
call fcn.00556e50
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 0x47ecde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00556ac0
jmp 0x47eda9
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 0x47ed62
lea edx, [esp + 0x7c]
push 0x9d2d60
push edx
call fcn.005381b4
add esp, 8
test eax, eax
je 0x47ed62
lea eax, [esp + 0x7c]
push 0x9d2d5c
push eax
call fcn.005381b4
add esp, 8
test eax, eax
je 0x47ed62
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 0x47ecf2
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.00556ac0
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 0x47f5d0
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 0x47f632
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 0x47f640
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x562dfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x9ec830]
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 0x47f778
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x47f6a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00556ac0
xor eax, eax
jmp 0x47f7ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00556bfd
push esi
lea ecx, [esp + 0xc]
call fcn.00556e8c
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 0x47f7cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0047f5d0
test eax, eax
jne 0x47f7cd
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.0047f5d0
test eax, eax
jne 0x47f7cd
lea eax, [esp + 0x14]
push 0x9d2d74
push eax
call fcn.00539300
mov esi, eax
add esp, 8
test esi, esi
jne 0x47f7ac
lea ecx, [esp + 0x14]
push 0x9d2d70
push ecx
call fcn.00539280
mov esi, eax
add esp, 8
test esi, esi
jne 0x47f7ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x47f7af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00556bad
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x47f6be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00556ac0
xor eax, eax
jmp 0x47f7ef
mov byte [esi], 0
push 0x9d2d6c
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.00556ac0
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 0x4959c0
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 0x495a2e
cmp si, 0x69
ja 0x495a2e
add esi, 0xffd0
cmp si, 0x11
je 0x4959fe
push 0x11
call edi
test ax, ax
jge 0x4959fe
or esi, 0x2000
cmp si, 0x10
je 0x495a13
push 0x10
call edi
test ax, ax
jge 0x495a13
or esi, 0x4000
cmp si, 0x12
je 0x495a28
push 0x12
call edi
test ax, ax
jge 0x495a28
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x495a3b
mov esi, 0xbd
jmp 0x4959ef
cmp si, 0x6e
jne 0x495a48
mov esi, 0xbe
jmp 0x4959ef
cmp si, 0x6f
jne 0x4959e9
mov esi, 0xbf
jmp 0x4959ef

Function at 0x497420
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x9fd438]
xor edx, edx
cmp eax, edx
jne 0x497446
xor eax, eax
mov byte [eax + 0x9fd338], al
inc eax
cmp eax, 0x100
jl 0x49742e
mov dword [0x9fd438], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x9fd338
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4974d7
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 0x4974aa
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 0x497478
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4974e0
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 0x497533
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 0x49751a
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