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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ecx + 8]
test esi, esi
je 0xeee5e0
xor eax, eax
cmp dword [ecx], 0
jne 0xeee60a
mov edx, dword [esp + 0x34]
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x6d44c02c]
xor ebx, eax
mov esi, ebx
not esi
add ebx, 0x2257c0db
or esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + eax + 0x6d44c02c], bl
inc eax
cmp eax, 0x92bb3fd8
jne 0xeee580
mov eax, dword [esp]
mov esi, dword [0xf00374]
test esi, esi
je 0xeee60a
xor edi, edi
mov ebx, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xef01f5a1
je 0xeee613
inc edi
cmp esi, edi
jne 0xeee5d0
jmp 0xeee60a
mov dword [esp + 4], 0x43020108
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x40
xor cl, byte [esp + eax + 4]
add cl, 0xc0
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 4
jne 0xeee5f0
mov eax, dword [esp + 4]
add esp, 0x24
pop esi
pop edi
pop ebx
ret 4
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0xeee60a
lea eax, [esp + 0x1c]
lea edi, [esp + 4]
push eax
push edi
push edx
push ecx
push 4
push dword [0xf0037c]
push esi
call fcn.00ef0f10
add esp, 0x1c
jmp 0xeee60a

Function at 0xeee650
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0xeee6fa
push ebx
push edi
push esi
push eax
mov dword [esp], 0xf4f5f6f7
mov edx, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x6d44c02c]
xor ebx, edx
mov esi, ebx
not esi
add ebx, 0x2257c0db
or esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + edx + 0x6d44c02c], bl
inc edx
cmp edx, 0x92bb3fd8
jne 0xeee670
mov edx, dword [0xf00374]
test edx, edx
je 0xeee6ee
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0xeee6d0
inc edi
cmp edx, edi
jne 0xeee6c0
jmp 0xeee6ee
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0xeee6ee
push eax
push 1
push dword [0xf0037c]
push edx
mov esi, ecx
call fcn.00ef0f10
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0xeee9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
jne 0xeeea5e
push 0xbbf966b4
push dword [0xf00368]
call fcn.00ef3a90
add esp, 8
test eax, eax
je 0xeeea29
mov ecx, dword [esi]
test ecx, ecx
je 0xeeea5b
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0xeeea37
cmp dword [esp], 0
je 0xeeea37
mov dword [esi + 4], 3
jmp 0xeeea5b
mov dword [esi + 4], 1
mov ecx, dword [esi]
jmp 0xeeeae7
lea eax, [esp + 4]
push eax
call fcn.00ef4320
add esp, 4
test al, al
je 0xeeea5b
mov eax, dword [esp + 4]
mov ecx, 2
cmp eax, 3
je 0xeeea58
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, 2
jne 0xeeeae7
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0xeeea80
mov eax, dword [esp]
mov edx, dword [0xf00374]
test edx, edx
je 0xeeeb94
mov ebp, ebx
xor esi, esi
mov ebx, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xc3cdc4a6
je 0xeeeb70
inc esi
cmp edx, esi
jne 0xeeead0
jmp 0xeeeb94
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0xeeeb00
mov eax, dword [esp]
mov edx, dword [0xf00374]
test edx, edx
je 0xeeeb94
xor esi, esi
mov ebx, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xae6e2b0b
je 0xeeeb60
inc esi
cmp edx, esi
jne 0xeeeb50
jmp 0xeeeb94
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0xeeeb94
push ebp
push edi
push dword [esp + 0x28]
jmp 0xeeeb7e
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0xeeeb94
push dword [esp + 0x28]
push edi
push ebp
push dword [esp + 0x28]
push ecx
push 5
push dword [0xf0037c]
push edx
call fcn.00ef0f10
add esp, 0x20
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0xeeeeb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov esi, ecx
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0xeeeec9
lea edi, [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0xeeeeda
cmp eax, 2
je 0xeeef4c
jmp 0xeeef79
push 0xbbf966b4
push dword [0xf00368]
call fcn.00ef3a90
add esp, 8
test eax, eax
je 0xeeef17
mov ecx, dword [esi]
test ecx, ecx
je 0xeeef44
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0xeeef20
cmp dword [esp], 0
je 0xeeef20
mov dword [esi + 4], 3
jmp 0xeeef44
mov dword [esi + 4], 1
jmp 0xeeef79
lea eax, [esp + 4]
push eax
call fcn.00ef4320
add esp, 4
test al, al
je 0xeeef44
mov eax, dword [esp + 4]
mov ecx, 2
cmp eax, 3
je 0xeeef41
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0xeeef79
mov ebx, dword [ebp + 0x18]
push 0x732f71fd
push dword [0xf08390]
call fcn.00ef3a90
add esp, 8
push edi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call eax
jmp 0xeef014
mov ecx, dword [esi]
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0xeeef90
mov eax, dword [esp]
mov edx, dword [0xf00374]
test edx, edx
je 0xeef014
xor esi, esi
mov ebx, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xfd743ac4
je 0xeeeff0
inc esi
cmp edx, esi
jne 0xeeefe0
jmp 0xeef014
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0xeef014
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push ecx
push 5
push dword [0xf0037c]
push edx
call fcn.00ef0f10
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0xef24e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
add ecx, ebp
adc eax, 0
xor edx, edx
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, eax
mov esi, dword [esp + 0x28]
jb 0xef2550
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
xor eax, eax
test bl, 1
je 0xef26ee
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0xef26ee
mov dword [esp], 0x282b2a25
mov byte [esp + 4], 0
nop
nop
nop
nop
mov ebp, edx
shr ebp, 1
and ebp, 1
movzx ecx, byte [esp + edx]
mov edi, edx
and edi, 5
mov eax, edx
or eax, 0xfffffffd
inc eax
imul eax, edi
mov edi, edx
or edi, 2
imul edi, ebp
add edi, edi
sub eax, edi
add eax, edx
add eax, 0x3773c848
xor eax, ecx
mov ecx, eax
not ecx
and ecx, 1
xor eax, 0xfe
lea eax, [eax + ecx*2]
add al, 0x6c
mov byte [esp + edx], al
inc edx
cmp edx, 5
jne 0xef2560
mov eax, dword [esp]
mov ecx, dword [0xf00374]
test ecx, ecx
je 0xef25e0
xor edx, edx
mov edi, dword [0xf00378]
mov ebp, dword [esp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x89c57e52
je 0xef25e6
inc edx
cmp ecx, edx
jne 0xef25d0
jmp 0xef2610
mov ebp, dword [esp + 0x20]
jmp 0xef2610
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0xef2610
lea eax, [esp + 8]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0xf0037c]
push ecx
call fcn.00ef0f10
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x24]
js 0xef26ee
push 0x732f71fd
push dword [0xf08390]
call fcn.00ef3a90
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 8]
mov dword [esp], 0x282b2a25
mov byte [esp + 4], 0
xor edx, edx
nop
mov edi, edx
shr edi, 1
and edi, 1
movzx esi, byte [esp + edx]
mov ebx, edx
and ebx, 5
mov ebp, edx
or ebp, 0xfffffffd
inc ebp
imul ebp, ebx
mov ebx, edx
or ebx, 2
imul ebx, edi
add ebx, ebx
sub ebp, ebx
lea edi, [edx + ebp]
add edi, 0x3773c848
xor edi, esi
mov esi, edi
not esi
and esi, 1
xor edi, 0xfe
lea ebx, [edi + esi*2]
add bl, 0x6c
mov byte [esp + edx], bl
inc edx
cmp edx, 5
jne 0xef2650
mov edx, dword [0xf00374]
test edx, edx
je 0xef26ee
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0xef26d0
inc edi
cmp edx, edi
jne 0xef26c0
jmp 0xef26ee
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0xef26ee
push ecx
push 1
push dword [0xf0037c]
push edx
mov esi, eax
call fcn.00ef0f10
mov eax, esi
add esp, 0x10
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xef38c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x717e7f8c
mov word [esp + 4], 0
mov eax, esp
mov edx, 0x4e93f7ea
nop
movzx edi, byte [eax]
mov ebx, edx
or ebx, edi
not ebx
lea esi, [edx - 0x4e93f700]
and esi, edi
or esi, ebx
mov edi, esi
and edi, 0x16
mov ebx, esi
xor ebx, 0x96
lea ebx, [ebx + edi*2]
and esi, 1
xor ebx, 1
or ebx, esi
add ebx, esi
mov byte [eax], bl
inc eax
dec edx
cmp edx, 0x4e93f7e4
jne 0xef38e0
mov eax, dword [esp]
mov eax, dword fs:[eax]
mov edx, dword [case.0xef3869.8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0xef39c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov ecx, dword [esp + 0x14]
mov dword [esp], 0x191a1bec
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0x7b
xor dl, byte [esp + eax]
add dl, 0x99
mov byte [esp + eax], dl
inc eax
cmp eax, 4
jne case.default.0xef3a01
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0xefeeb4]

Function at 0xef3a90
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x48]
movzx eax, word [eax]
mov dword [esp], 0x1065d53
mov word [esp + 4], 0
mov ecx, 0x13da8e83
mov edx, 0x7e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x13da8e83]
mov edi, esi
not edi
or edi, edx
lea esi, [esi + edi*2]
add esi, ecx
mov edi, esi
and edi, 0x7a
xor esi, 0x7a
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + ecx - 0x13da8e83], bl
inc ecx
dec edx
cmp ecx, 0x13da8e89
jne 0xef3ac0
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0xefeef4]
Function at 0x4017ca
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
and byte [ebp - 1], 0
and byte [ebp - 4], 0
and byte [ebp - 3], 0
push 0x4062c4
lea eax, [ebp - 4]
push 2
push eax
lea eax, [ebp - 1]
push eax
push 0x4062d0
push 0x4062e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
cmp byte [ebp - 4], al
setne al
leave
ret

Function at 0x401803
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4062ec
lea eax, [ebp - 2]
push 2
push eax
push 0x4062f8
push 0x4062fc
push 0x406310
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 1
jne 0x40184f
mov al, byte [ebp - 2]
cmp al, 0x30
jl 0x40183f
cmp al, 0x39
jg 0x40183f
movsx eax, al
sub eax, 0x30
leave
ret
cmp al, 0x41
jl 0x40184f
cmp al, 0x46
jg 0x40184f
movsx eax, al
sub eax, 0x37
leave
ret
push 1
pop eax
leave
ret

Function at 0x401854
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x406318
lea eax, [ebp - 2]
push 2
push eax
push 0x406324
push 0x406328
push 0x40633c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 1
jne 0x4018a0
mov al, byte [ebp - 2]
cmp al, 0x30
jl 0x401890
cmp al, 0x39
jg 0x401890
movsx eax, al
sub eax, 0x30
leave
ret
cmp al, 0x41
jl 0x4018a0
cmp al, 0x46
jg 0x4018a0
movsx eax, al
sub eax, 0x37
leave
ret
push 0xf
pop eax
leave
ret
Function at 0x427600
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51202b
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.00506d19
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x427682
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00504c2b
mov eax, dword [eax]
push 0x848e28
push eax
call fcn.004f6b34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00506fa4
test bl, bl
je 0x427682
push 0x848e28
lea ecx, [esp + 0xc]
call fcn.00507334
push 0x848e34
lea ecx, [esp + 0xc]
call fcn.00507334
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 0x4276be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00506fa4
jmp 0x427789
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x427742
lea edx, [esp + 0x7c]
push 0x848e30
push edx
call fcn.004f6b34
add esp, 8
test eax, eax
je 0x427742
lea eax, [esp + 0x7c]
push 0x848e2c
push eax
call fcn.004f6b34
add esp, 8
test eax, eax
je 0x427742
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 0x4276d2
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.00506fa4
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 0x427f80
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_1]
mov esi, eax
test esi, esi
jne 0x427fe2
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_1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x427ff0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5120ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x87e308]
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 0x428128
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x428056
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00506fa4
xor eax, eax
jmp 0x42819f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005070e1
push esi
lea ecx, [esp + 0xc]
call fcn.00507370
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x848e68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42817d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00427f80
test eax, eax
jne 0x42817d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA_1]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00427f80
test eax, eax
jne 0x42817d
lea eax, [esp + 0x14]
push 0x848e44
push eax
call fcn.004f7c80
mov esi, eax
add esp, 8
test esi, esi
jne 0x42815c
lea ecx, [esp + 0x14]
push 0x848e40
push ecx
call fcn.004f7c00
mov esi, eax
add esp, 8
test esi, esi
jne 0x42815c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA_1]
lea esi, [esp + eax + 0x13]
jmp 0x42815f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00507091
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42806e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00506fa4
xor eax, eax
jmp 0x42819f
mov byte [esi], 0
push 0x848e3c
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.00506fa4
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 0x43a990
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState_1]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43a9fe
cmp si, 0x69
ja 0x43a9fe
add esi, 0xffd0
cmp si, 0x11
je 0x43a9ce
push 0x11
call edi
test ax, ax
jge 0x43a9ce
or esi, 0x2000
cmp si, 0x10
je 0x43a9e3
push 0x10
call edi
test ax, ax
jge 0x43a9e3
or esi, 0x4000
cmp si, 0x12
je 0x43a9f8
push 0x12
call edi
test ax, ax
jge 0x43a9f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43aa0b
mov esi, 0xbd
jmp 0x43a9bf
cmp si, 0x6e
jne 0x43aa18
mov esi, 0xbe
jmp 0x43a9bf
cmp si, 0x6f
jne 0x43a9b9
mov esi, 0xbf
jmp 0x43a9bf

Function at 0x43c350
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x88eab8]
xor edx, edx
cmp eax, edx
jne 0x43c376
xor eax, eax
mov byte [eax + 0x88e9b8], al
inc eax
cmp eax, 0x100
jl 0x43c35e
mov dword [0x88eab8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x88e9b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43c407
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 0x43c3da
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 0x43c3a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43c410
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 0x43c463
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 0x43c44a
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 0x443490
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x443628
cmp ebp, ebx
jle Process32Next
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4434ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x4434f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x443504
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44350b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00506ce5
add esp, 4
cmp eax, ebx
je 0x44352c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00506ce5
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle reloc.KERNEL32.dll_VirtualProtect
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x443605
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4435f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4435e6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4435f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp VirtualAlloc
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl VirtualFree
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x443581
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret