joyce8/EMBER2024-capa huggingface dataset:
Function at 0xabbad8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1006c6d0
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0xabbcb3
mov eax, dword [0x1007dbb0]
mov dword [esp + 4], eax
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x1c], 1
call fcn.00b0e737
add esi, 0x418
lea ecx, [esp + 4]
push esi
mov byte [esp + 0x1c], 2
call fcn.00b0e806
lea ecx, [esp + 4]
call fcn.00b0eb91
lea ecx, [esp + 0x20]
call fcn.00b0eb91
mov ecx, dword [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0xc]
call fcn.00b0ceb1
cmp eax, 0xffffffff
je 0xabbc86
mov edx, dword [esp + 0x20]
push ebx
push ebp
push edi
mov ecx, dword [edx - 8]
lea ebx, [eax + ecx + 2]
lea ecx, [esp + 0x10]
push ebx
push 0x1007b900
call fcn.00b0ceb1
push esi
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.00b0e806
test ebp, ebp
jle 0xabbbc1
mov eax, ebp
lea ecx, [esp + 0x18]
sub eax, ebx
push eax
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00b0ccf7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.00b0e7b6
mov byte [esp + 0x24], 2
lea ecx, [esp + 0x18]
jmp 0xabbbe8
lea edx, [esp + 0x18]
push ebx
push edx
lea ecx, [esp + 0x18]
call fcn.00b0ccd4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 4
call fcn.00b0e7b6
mov byte [esp + 0x24], 2
lea ecx, [esp + 0x18]
call fcn.00b0e6c9
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00b0ce09
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 5
call fcn.00b0e7b6
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 2
call fcn.00b0e6c9
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
sub ebp, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x24], 1
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00b0e6c9
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.00b0e6c9
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00b0e6c9
mov eax, ebp
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.00b0e6c9
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.00b0e6c9
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00b0e6c9
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0xabc568
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006c796
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
call fcn.00b0f5e5
mov dword [esi], 0x100718a8
lea edi, [esi + 0x44]
push 0xa
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00b0df12
mov eax, dword [0x1007dbb0]
lea ebx, [esi + 0x68]
mov dword [ebx], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x3c], ecx
push eax
mov ecx, edi
mov byte [esp + 0x1c], 3
mov dword [esi], 0x1006fda8
mov dword [esi + 0x40], edx
call fcn.00b0e04e
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x30]
mov dword [esi + 0x60], ecx
push edx
mov ecx, ebx
mov dword [esi + 0x64], 0
call fcn.00b0e7b6
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0xffffffff
call fcn.00b0e6c9
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0xac8538
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x120
push ebp
push eax
call fcn.00abcad8
mov ebp, eax
test ebp, ebp
jne 0xac8559
xor al, al
pop ebp
add esp, 0x120
ret
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
push ecx
push 0x1007b380
call fcn.00afcc48
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x13c]
mov edi, ebp
not ecx
dec ecx
push esi
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x38]
dec ecx
push edx
push ecx
push ebp
call fcn.00ad7fa8
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x134]
test eax, eax
jbe 0xac85d3
push eax
lea eax, [esp + 0x14]
push 0x1007bc54
push eax
call fcn.00b01669
add esp, 0xc
lea ecx, [esp + 0x10]
mov eax, esi
sub ecx, esi
mov esi, 0x10
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0xac85e0
push ebp
call fcn.00b014ff
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x120
ret
Function at 0xad7468
Capabilities:
Hash data with md5

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

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

Disassembly:
sub esp, 0x148
push ebx
mov ebx, dword [esp + 0x15c]
test ebx, ebx
jg 0xad7ffd
lea eax, [esp + 4]
push eax
call fcn.00ad7468
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x154]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
call fcn.00ad7498
mov edx, dword [esp + 0x170]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.00ad7ee8
add esp, 0x18
pop ebx
add esp, 0x148
ret 0x14
cmp ebx, 0x40
jle 0xad8045
lea eax, [esp + 0xf4]
push eax
call fcn.00ad7468
mov ecx, dword [esp + 0x15c]
push ebx
lea edx, [esp + 0xfc]
push ecx
push edx
call fcn.00ad7498
lea eax, [esp + 0x104]
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.00ad7ee8
add esp, 0x18
lea edx, [esp + 0x5c]
mov ebx, 0x10
jmp 0xad804c
mov edx, dword [esp + 0x158]
push esi
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xb8]
mov esi, edx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, ebx
stosb byte es:[edi], al
mov eax, ecx
lea edi, [esp + 0xb8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov esi, edx
mov edx, ecx
lea edi, [esp + 0x74]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + eax + 0xb8]
mov bl, byte [esp + eax + 0x74]
xor cl, 0x36
xor bl, 0x5c
mov byte [esp + eax + 0xb8], cl
mov byte [esp + eax + 0x74], bl
inc eax
cmp eax, 0x40
jl 0xad809e
lea eax, [esp + 0xc]
push eax
call fcn.00ad7468
lea ecx, [esp + 0xbc]
push 0x40
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00ad7498
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00ad7498
mov esi, dword [esp + 0x184]
lea eax, [esp + 0x28]
push eax
push esi
call fcn.00ad7ee8
lea ecx, [esp + 0x30]
push ecx
call fcn.00ad7468
lea edx, [esp + 0x9c]
push 0x40
lea eax, [esp + 0x38]
push edx
push eax
call fcn.00ad7498
push 0x10
lea ecx, [esp + 0x44]
push esi
push ecx
call fcn.00ad7498
add esp, 0x40
lea edx, [esp + 0xc]
push edx
push esi
call fcn.00ad7ee8
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x148
ret 0x14

Function at 0xad8158
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
ret
Function at 0xadc528
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor ecx, ecx
xor esi, esi
test ebx, ebx
jle 0xadc647
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov dl, 0x3d
mov eax, ecx
sub eax, ebx
add eax, 3
cmp eax, 2
jne 0xadc583
xor eax, eax
mov al, byte [ecx + edi]
shr eax, 2
mov al, byte [eax + 0x1007be90]
mov byte [esi + ebp], al
mov al, byte [ecx + edi]
and eax, 3
shl eax, 4
mov al, byte [eax + 0x1007be90]
mov byte [esi + ebp + 1], al
mov byte [esi + ebp + 2], dl
mov byte [esi + ebp + 3], dl
jmp 0xadc62e
cmp eax, 1
jne 0xadc5cf
xor eax, eax
xor ebx, ebx
mov al, byte [ecx + edi]
shr eax, 2
mov al, byte [eax + 0x1007be90]
mov byte [esi + ebp], al
mov al, byte [ecx + edi]
mov bl, byte [ecx + edi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
mov al, byte [eax + 0x1007be90]
mov byte [esi + ebp + 1], al
mov al, byte [ecx + edi + 1]
and eax, 0xf
mov al, byte [eax*4 + 0x1007be90]
mov byte [esi + ebp + 2], al
mov byte [esi + ebp + 3], dl
jmp 0xadc62e
xor eax, eax
xor ebx, ebx
mov al, byte [ecx + edi]
shr eax, 2
mov al, byte [eax + 0x1007be90]
mov byte [esi + ebp], al
mov al, byte [ecx + edi]
mov bl, byte [ecx + edi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
xor ebx, ebx
mov al, byte [eax + 0x1007be90]
mov byte [esi + ebp + 1], al
mov al, byte [ecx + edi + 1]
mov bl, byte [ecx + edi + 2]
and eax, 0xf
shl eax, 2
shr ebx, 6
or eax, ebx
mov al, byte [eax + 0x1007be90]
mov byte [esi + ebp + 2], al
mov al, byte [ecx + edi + 2]
and eax, 0x3f
mov al, byte [eax + 0x1007be90]
mov byte [esi + ebp + 3], al
mov ebx, dword [esp + 0x18]
add ecx, 3
add esi, 4
cmp ecx, ebx
jl 0xadc546
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
ret
mov eax, esi
pop esi
pop ebx
ret
Function at 0xadf5d8
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0xadf6db
mov edi, dword [esp + 0x10]
push ebx
push esi
xor esi, esi
mov ebx, 0x10081b60
mov eax, esi
xor edx, edx
div ecx
add ebx, 4
mov al, byte [edx + ebp]
xor edx, edx
xor eax, edi
and eax, 0xff
xor edi, eax
inc esi
mov eax, esi
and edi, 0xffff00ff
div ecx
xor eax, eax
mov ah, byte [edx + ebp]
xor edx, edx
or edi, eax
inc esi
mov eax, esi
and edi, 0xff00ffff
div ecx
mov dl, byte [edx + ebp]
and edx, 0xff
shl edx, 0x10
or edi, edx
inc esi
mov eax, esi
xor edx, edx
div ecx
and edi, 0xffffff
movsx eax, byte [edx + ebp]
shl eax, 0x18
or edi, eax
mov eax, dword [ebx - 4]
xor eax, edi
inc esi
mov dword [ebx - 4], eax
cmp ebx, 0x10081ba8
jl 0xadf5fe
xor eax, eax
mov esi, 0x10081b64
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00adf6e8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esi, 8
add esp, 8
cmp esi, 0x10081bac
jl 0xadf678
mov esi, 0x10080b64
mov edi, 0x80
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00adf6e8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esi - 4], ecx
mov dword [esi], edx
add esp, 8
add esi, 8
dec edi
jne 0xadf6ac
cmp esi, 0x10081b64
jl 0xadf6a7
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
Function at 0xae6b40
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1006cd28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00ae6678
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], 0
test eax, eax
je 0xae6b78
mov al, byte [esp + 0xb]
lea ecx, [esp + 0xb]
push 0x10075030
push ecx
mov byte [esp + 0x13], al
call fcn.00b02bf9
mov eax, dword [0x100bad2c]
lea edx, [esp + 0xc]
push edx
push 4
push esi
push 0x1003ac80
push eax
push 0
call fcn.00b02c33
mov ecx, dword [esp + 0x24]
add esp, 0x18
test eax, eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
jne 0xae6bbc
call dword [0x1006f278]
lea edx, [esp + 0x10]
push 0x10074f80
push edx
mov dword [esp + 0x18], eax
call fcn.00b02bf9
mov ecx, dword [esi + 0x20]
push ecx
push eax
call dword [0x1006f2dc]
test eax, eax
jne 0xae6be4
call dword [0x1006f278]
lea edx, [esp + 0x10]
push 0x10074f80
push edx
mov dword [esp + 0x18], eax
call fcn.00b02bf9
mov eax, dword [esi + 0x38]
push eax
call dword [0x1006f20c]
cmp eax, 0xffffffff
jne 0xae6c0c
call dword [0x1006f278]
lea ecx, [esp + 0x10]
push 0x10074f80
push ecx
mov dword [esp + 0x18], eax
call fcn.00b02bf9
mov ecx, edi
mov dword [esi + 0x1c], 1
call fcn.00ae6688
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x404472
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, ecx
je 0x4045a8
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x404495
cmp dword [edx + 0x10], esi
jne 0x40448d
xor eax, eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], getpeername
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call dword [ebp + 0x10]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x4045a8
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
add ecx, esi
sub eax, esi
lea edx, [ecx + 0xf8]
movzx ecx, word [ecx + 6]
mov dword [ebp - 0x24], eax
imul ecx, ecx, 0x28
add ecx, edx
cmp edx, ecx
je 0x4045a1
mov esi, dword [edx + 0xc]
cmp eax, esi
jb 0x404522
mov edi, dword [edx + 0x10]
add edi, esi
cmp edi, eax
jb 0x404522
add eax, dword [edx + 0x14]
sub eax, esi
jne 0x404527
jmp 0x4045a1
add edx, 0x28
jmp 0x404501
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [ebp + 0x14]
sub esp, 0x10
inc eax
je 0x4045a1
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp + 0x18]
sub esp, 0x14
test eax, eax
je 0x4045a1
cmp dword [ebp - 0x24], 8
jne 0x4045a1
cmp byte [ebp - 0x20], 0xb8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jne 0x4045a1
shrd eax, edx, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [ebp + 0x1c]
push ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x4045ac
mov dword [esp], ebx
call dword [ebp + 0x1c]
push eax
xor eax, eax
xor edx, edx
leave
ret 0x18
Function at 0x45b290
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f06bb
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.004e5396
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x45b312
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e32a8
mov eax, dword [eax]
push 0x5c8cc0
push eax
call fcn.004d25e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e5621
test bl, bl
je 0x45b312
push 0x5c8cc0
lea ecx, [esp + 0xc]
call fcn.004e59b1
push 0x5c8ccc
lea ecx, [esp + 0xc]
call fcn.004e59b1
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 0x45b34e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e5621
jmp 0x45b419
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 0x45b3d2
lea edx, [esp + 0x7c]
push 0x5c8cc8
push edx
call fcn.004d25e4
add esp, 8
test eax, eax
je 0x45b3d2
lea eax, [esp + 0x7c]
push 0x5c8cc4
push eax
call fcn.004d25e4
add esp, 8
test eax, eax
je 0x45b3d2
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 0x45b362
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.004e5621
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 0x45bc20
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 0x45bc82
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 0x45bc90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f073b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x681db8]
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 0x45bdc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x45bcf6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e5621
xor eax, eax
jmp 0x45be3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e575e
push esi
lea ecx, [esp + 0xc]
call fcn.004e59ed
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 0x45be1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0045bc20
test eax, eax
jne 0x45be1d
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.0045bc20
test eax, eax
jne 0x45be1d
lea eax, [esp + 0x14]
push 0x5c8cdc
push eax
call fcn.004d3820
mov esi, eax
add esp, 8
test esi, esi
jne 0x45bdfc
lea ecx, [esp + 0x14]
push 0x5c8cd8
push ecx
call fcn.004d37a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45bdfc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45bdff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e570e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45bd0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e5621
xor eax, eax
jmp 0x45be3f
mov byte [esi], 0
push 0x5c8cd4
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.004e5621
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 0x46d240
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 0x46d2ae
cmp si, 0x69
ja 0x46d2ae
add esi, 0xffd0
cmp si, 0x11
je 0x46d27e
push 0x11
call edi
test ax, ax
jge 0x46d27e
or esi, 0x2000
cmp si, 0x10
je 0x46d293
push 0x10
call edi
test ax, ax
jge 0x46d293
or esi, 0x4000
cmp si, 0x12
je 0x46d2a8
push 0x12
call edi
test ax, ax
jge 0x46d2a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x46d2bb
mov esi, 0xbd
jmp 0x46d26f
cmp si, 0x6e
jne 0x46d2c8
mov esi, 0xbe
jmp 0x46d26f
cmp si, 0x6f
jne 0x46d269
mov esi, 0xbf
jmp 0x46d26f

Function at 0x46eb80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x692d48]
xor edx, edx
cmp eax, edx
jne 0x46eba6
xor eax, eax
mov byte [eax + 0x692c48], al
inc eax
cmp eax, 0x100
jl 0x46eb8e
mov dword [0x692d48], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x692c48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46ec37
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 0x46ec0a
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 0x46ebd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46ecb0
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 0x46ed03
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 0x46ecea
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