joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e91
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
bswap eax
mov dword [ebp + 8], eax
mov ebx, dword [esi + 4]
bswap ebx
mov edi, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [edi + esi*4]
bswap eax
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 4
jl 0x402eae
mov edi, dword [ebp + 8]
xor edx, edx
lea esi, [edx + 0x20]
mov ecx, ebx
lea edx, [edx + 0x57e89147]
shr ecx, 5
mov eax, ebx
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub esi, 1
jne 0x402ec5
bswap edi
mov esi, dword [ebp + 0x10]
mov dword [esi], edi
bswap ebx
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43d368
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 0x43d5b5
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x43d4b2
cmp byte [edx + edi], 0xd
jne 0x43d4b2
cmp byte [edx + edi + 1], 0xa
je 0x43d4eb
mov al, byte [edx + edi]
cmp al, 0xa
je 0x43d4eb
cmp al, 0x3d
jne 0x43d4c7
inc ecx
cmp ecx, 2
ja 0x43d5c3
cmp al, 0x7f
ja 0x43d5c3
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x43d5c3
cmp al, 0x40
jae 0x43d4ea
test ecx, ecx
jne 0x43d5c3
inc esi
inc edx
cmp edx, ebx
jb 0x43d49c
test esi, esi
je 0x43d5b5
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 0x43d5d4
cmp dword [ecx], eax
jb 0x43d5d4
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x43d5a4
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x43d5a0
cmp al, 0xa
je 0x43d5a0
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 0x43d5a0
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x43d58b
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x43d598
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x43d5a0
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x43d53c
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 0x43da67
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
bswap eax
mov edi, eax
mov eax, dword [esi + 4]
bswap eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp + 8], eax
mov eax, dword [ebx + esi*4]
bswap eax
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 4
jl 0x43da86
mov ebx, dword [ebp + 8]
mov edx, 0xfd1228e0
mov esi, 0x20
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shr ecx, 5
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
lea edx, [edx - 0x57e89147]
sub edi, ecx
sub esi, 1
jne 0x43daa2
bswap edi
mov esi, dword [ebp + 0x10]
mov dword [esi], edi
bswap ebx
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43de5f
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
bswap eax
mov edi, eax
mov eax, dword [esi + 4]
bswap eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp + 8], eax
mov eax, dword [ebx + esi*4]
bswap eax
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 4
jl 0x43de7e
mov ebx, dword [ebp + 8]
mov edx, 0xe3779b90
mov esi, 0x10
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shr ecx, 5
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
lea edx, [edx + 0x61c88647]
sub edi, ecx
sub esi, 1
jne 0x43de9a
bswap edi
mov esi, dword [ebp + 0x10]
mov dword [esi], edi
bswap ebx
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44add2
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xc], 0x44434241
mov dword [esp + 0x10], 0x48474645
mov dword [esp + 0x14], 0x4c4b4a49
mov dword [esp + 0x18], 0x504f4e4d
mov dword [esp + 0x1c], 0x54535251
mov dword [esp + 0x20], 0x58575655
mov dword [esp + 0x24], 0x62615a59
mov dword [esp + 0x28], 0x66656463
mov dword [esp + 0x2c], 0x6a696867
mov dword [esp + 0x30], 0x6e6d6c6b
mov dword [esp + 0x34], 0x7271706f
mov dword [esp + 0x38], 0x76757473
mov dword [esp + 0x3c], 0x7a797877
mov dword [esp + 0x40], 0x33323130
mov dword [esp + 0x44], 0x37363534
mov dword [esp + 0x48], 0x2f2b3938
test ebp, ebp
jne 0x44ae6b
xor eax, eax
pop ebp
add esp, 0x48
ret 0x10
lea ecx, [ebp*8]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea ecx, [ebp*8]
lea eax, [edx + edx*2]
add eax, eax
sub ecx, eax
sub ecx, 2
je 0x44ae99
sub ecx, 2
jne 0x44ae9c
add edx, 2
jmp 0x44ae9c
add edx, 3
push edi
mov edi, dword [esp + 0x58]
inc edx
cmp dword [edi], edx
jae 0x44aeb3
mov dword [edi], edx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x48
ret 0x10
mov ecx, dword [esp + 0x54]
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
push ebx
mov ebx, dword [esp + 0x60]
lea edx, [edx + edx*2]
xor eax, eax
push esi
test edx, edx
je 0x44af4b
dec edx
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
inc eax
mov dword [esp + 0x10], eax
mov ebp, eax
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
movzx edx, byte [ebx]
movzx esi, byte [ebx + 1]
movzx edi, byte [ebx + 2]
mov eax, edx
sar eax, 2
and eax, 0x3f
shl edx, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx], al
mov eax, esi
sar eax, 4
add eax, edx
and eax, 0x3f
add ebx, 3
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx + 1], al
mov eax, edi
sar eax, 6
and edi, 0x3f
lea eax, [eax + esi*4]
and eax, 0x3f
add ecx, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx - 2], al
movzx eax, byte [esp + edi + 0x18]
mov byte [ecx - 1], al
dec ebp
jne 0x44aee9
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jae 0x44afa5
movzx esi, byte [ebx]
inc eax
mov dword [esp + 0x68], eax
cmp eax, ebp
jae 0x44af61
movzx edx, byte [ebx + 1]
jmp 0x44af63
xor edx, edx
mov eax, esi
sar eax, 2
and eax, 0x3f
shl esi, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx], al
mov eax, edx
sar eax, 4
add eax, esi
and eax, 0x3f
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx + 1], al
cmp dword [esp + 0x68], ebp
jae 0x44af99
and edx, 0xf
mov al, byte [esp + edx*4 + 0x18]
mov byte [ecx + 2], al
jmp 0x44af9d
mov byte [ecx + 2], 0x3d
add ecx, 3
inc ecx
mov byte [ecx - 1], 0x3d
mov eax, ecx
sub eax, dword [esp + 0x5c]
pop esi
mov dword [edi], eax
pop ebx
pop edi
mov byte [ecx], 0
xor eax, eax
pop ebp
add esp, 0x48
ret 0x10
Function at 0x45321f
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 0x45346c
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x453369
cmp byte [edx + edi], 0xd
jne 0x453369
cmp byte [edx + edi + 1], 0xa
je 0x4533a2
mov al, byte [edx + edi]
cmp al, 0xa
je 0x4533a2
cmp al, 0x3d
jne 0x45337e
inc ecx
cmp ecx, 2
ja 0x45347a
cmp al, 0x7f
ja 0x45347a
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x45347a
cmp al, 0x40
jae 0x4533a1
test ecx, ecx
jne 0x45347a
inc esi
inc edx
cmp edx, ebx
jb 0x453353
test esi, esi
je 0x45346c
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 0x45348b
cmp dword [ecx], eax
jb 0x45348b
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x45345b
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x453457
cmp al, 0xa
je 0x453457
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 0x453457
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x453442
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x45344f
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x453457
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x4533f3
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 0x4bf8ae
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x8000
jg 0x4bf9c8
je 0x4bf9bf
cmp eax, 0x80
jg 0x4bf945
je 0x4bf93c
cmp eax, 8
jg 0x4bf90e
je 0x4bf905
cmp eax, 0x80000000
je 0x4bf8fc
cmp eax, 2
je 0x4bf8f3
cmp eax, 4
jne 0x4bfaab
mov eax, 2
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
mov eax, 0x1f
pop ebp
ret 4
mov eax, 3
pop ebp
ret 4
cmp eax, 0x10
je 0x4bf933
cmp eax, 0x20
je 0x4bf92a
cmp eax, 0x40
jne 0x4bfaab
mov eax, 6
pop ebp
ret 4
mov eax, 5
pop ebp
ret 4
mov eax, 4
pop ebp
ret 4
mov eax, 7
pop ebp
ret 4
cmp eax, 0x800
jg 0x4bf98b
je 0x4bf982
cmp eax, 0x100
je 0x4bf979
cmp eax, 0x200
je 0x4bf970
cmp eax, 0x400
jne 0x4bfaab
mov eax, 0xa
pop ebp
ret 4
mov eax, 9
pop ebp
ret 4
mov eax, 8
pop ebp
ret 4
mov eax, 0xb
pop ebp
ret 4
cmp eax, 0x1000
je 0x4bf9b6
cmp eax, 0x2000
je 0x4bf9ad
cmp eax, 0x4000
jne 0x4bfaab
mov eax, 0xe
pop ebp
ret 4
mov eax, 0xd
pop ebp
ret 4
mov eax, 0xc
pop ebp
ret 4
mov eax, 0xf
pop ebp
ret 4
cmp eax, 0x800000
jg 0x4bfa54
je 0x4bfa4b
cmp eax, 0x80000
jg 0x4bfa1b
je 0x4bfa12
cmp eax, 0x10000
je 0x4bfa09
cmp eax, 0x20000
je 0x4bfa00
cmp eax, 0x40000
jne 0x4bfaab
mov eax, 0x12
pop ebp
ret 4
mov eax, 0x11
pop ebp
ret 4
mov eax, 0x10
pop ebp
ret 4
mov eax, 0x13
pop ebp
ret 4
cmp eax, 0x100000
je 0x4bfa42
cmp eax, 0x200000
je 0x4bfa39
cmp eax, 0x400000
jne 0x4bfaab
mov eax, 0x16
pop ebp
ret 4
mov eax, 0x15
pop ebp
ret 4
mov eax, 0x14
pop ebp
ret 4
mov eax, 0x17
pop ebp
ret 4
cmp eax, 0x8000000
jg 0x4bfa96
je 0x4bfa8d
cmp eax, 0x1000000
je 0x4bfa84
cmp eax, 0x2000000
je 0x4bfa7b
cmp eax, 0x4000000
jne 0x4bfaab
mov eax, 0x1a
pop ebp
ret 4
mov eax, 0x19
pop ebp
ret 4
mov eax, 0x18
pop ebp
ret 4
mov eax, 0x1b
pop ebp
ret 4
cmp eax, 0x10000000
je 0x4bfac3
cmp eax, 0x20000000
je 0x4bfaba
cmp eax, 0x40000000
je 0x4bfab1
xor eax, eax
pop ebp
ret 4
mov eax, 0x1e
pop ebp
ret 4
mov eax, 0x1d
pop ebp
ret 4
mov eax, 0x1c
pop ebp
ret 4
Function at 0x4e2130
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x58628b
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.0057a509
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4e21b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00577c10
mov eax, dword [eax]
push 0xbe8d3c
push eax
call fcn.00569914
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0057a794
test bl, bl
je 0x4e21b2
push 0xbe8d3c
lea ecx, [esp + 0xc]
call fcn.0057ab24
push 0xbe8d48
lea ecx, [esp + 0xc]
call fcn.0057ab24
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 0x4e21ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0057a794
jmp 0x4e22b9
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 0x4e2272
lea edx, [esp + 0x7c]
push 0xbe8d44
push edx
call fcn.00569914
add esp, 8
test eax, eax
je 0x4e2272
lea eax, [esp + 0x7c]
push 0xbe8d40
push eax
call fcn.00569914
add esp, 8
test eax, eax
je 0x4e2272
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 0x4e2202
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.0057a794
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 0x4e2ac0
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 0x4e2b22
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 0x4e2b30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x58630b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xbfc648]
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 0x4e2c68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4e2b96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0057a794
xor eax, eax
jmp 0x4e2cdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0057a8d1
push esi
lea ecx, [esp + 0xc]
call fcn.0057ab60
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xbe8d7c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4e2cbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0xbe8d74
push accept
call fcn.004e2ac0
test eax, eax
jne 0x4e2cbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0xbe8d60
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004e2ac0
test eax, eax
jne 0x4e2cbd
lea eax, [esp + 0x14]
push 0xbe8d58
push eax
call fcn.0056aa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e2c9c
lea ecx, [esp + 0x14]
push 0xbe8d54
push ecx
call fcn.0056a9e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e2c9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4e2c9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0057a881
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4e2bae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0057a794
xor eax, eax
jmp 0x4e2cdf
mov byte [esi], 0
push 0xbe8d50
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.0057a794
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 0x4e9516
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4e953e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x4f3c60
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 0x4f3cce
cmp si, 0x69
ja 0x4f3cce
add esi, 0xffd0
cmp si, 0x11
je 0x4f3c9e
push 0x11
call edi
test ax, ax
jge 0x4f3c9e
or esi, 0x2000
cmp si, 0x10
je 0x4f3cb3
push 0x10
call edi
test ax, ax
jge 0x4f3cb3
or esi, 0x4000
cmp si, 0x12
je 0x4f3cc8
push 0x12
call edi
test ax, ax
jge 0x4f3cc8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4f3cdb
mov esi, 0xbd
jmp 0x4f3c8f
cmp si, 0x6e
jne 0x4f3ce8
mov esi, 0xbe
jmp 0x4f3c8f
cmp si, 0x6f
jne 0x4f3c89
mov esi, 0xbf
jmp 0x4f3c8f

Function at 0x4f5660
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xc0d260]
xor edx, edx
cmp eax, edx
jne 0x4f5686
xor eax, eax
mov byte [eax + 0xc0d160], al
inc eax
cmp eax, 0x100
jl 0x4f566e
mov dword [0xc0d260], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xc0d160
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4f5717
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 0x4f56ea
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 0x4f56b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4f5790
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 0x4f57e3
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 0x4f57ca
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