joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402bb0
Capabilities:
Authenticate hmac
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, 0x1f
sub edi, 0x96
mov edi, 0x3b
imul edx
rcr eax, 0x36
sub eax, 0xec
sub edx, 0x9c
ror edx, 0xc
sub edi, 0x2b
add eax, 0x32
sub edi, 0x1c
neg edx
sub eax, 0x82
not edx
inc ebx
ror edi, 0xd3
imul ebx
sub edi, 0x81
rol esi, 0x8f
rcl eax, 0xf5
add esi, 0x4a
rcr eax, 0x6c
rol ebx, 0xb5
sub ebx, 0x8a
bswap eax
mov edi, 0xe6
ror edx, 0x26
and edx, 0x37
mov esi, 0xcf
rcl eax, 0xea
rcl eax, 0x57
sub edx, 0x75
neg esi
and eax, 0xbc
not edx
rol edx, 0x85
mov edi, 0x64
not edi
add edx, 0x5c
not edi
bswap edi
sub esi, 0x42
sbb ebx, 0xb9
inc edi
mov eax, 0x12
and edx, 0xe9
add eax, 0x15
neg edx
not edx
sub esi, 0x52
xor ecx, ecx
xor edi, edi
dec edi
mov edi, 0x77
rcl eax, 0x37
bswap ebx
neg ebx
not edi
imul edi
neg edi
rcl ebx, 0xb5
not edx
imul eax
ror esi, 0xf9
inc edx
bswap edi
neg eax
sub edi, 0xac
rol edi, 0x75
bswap edx
imul edx
bswap edi
rcr eax, 0xb0
sbb eax, 0x6c
add eax, 0x8a
imul ebx
neg ebx
inc esi
dec esi
rcr edx, 0x54
and ebx, 0xdb
sbb edx, 0x11
inc eax
dec esi
sbb eax, 0x26
mov ebx, 0xe8
sbb ebx, 0x80
dec edx
sbb edi, 0x28
inc edx
neg edx
imul ebx
bswap eax
sub esi, 0x1a
not edx
dec eax
rcl ebx, 0x4c
and ebx, 0x24
neg edi
or edi, 0xb2
not edx
not edx
mov ecx, dword [ebp + 0xc]
add edi, 0x78
mov esi, 0x86
mov esi, 0x6d
rol eax, 0xd0
inc edi
not edx
rcl edx, 0x97
or esi, 0x87
imul eax
rcr esi, 0x61
dec edi
inc eax
bswap esi
sbb ebx, 0xee
dec eax
rcr esi, 0x21
rcl edi, 0x4c
rcr ebx, 0xd3
rcr ebx, 0x54
dec edx
sbb ebx, 0x57
ror eax, 0x86
imul eax
inc edi
rcl eax, 0xe7
ror eax, 0xa2
and esi, 0xbc
and edx, 0x61
sub eax, 0x5b
neg ebx
sbb eax, 0x6f
inc edx
and edi, 0x3a
ror ebx, 0x4c
rol esi, 0xf9
rcr ebx, 0xa4
or edi, 0xed
neg edi
sbb eax, 0x25
dec edi
rcr eax, 0xba
mov ebx, 0x50
neg edx
bswap esi
add eax, 0xd
dec ebx
neg ebx
not eax
rcr edx, 0xd1
rcr esi, 0x94
mov edi, dword [ebp + 8]
xor esi, ebx
xor ebx, eax
xor ebx, ebx
not byte [edi]
xor ebx, ebx
xor eax, ebx
xor eax, ebx
mov ebx, esi
xor ebx, esi
xor esi, eax
mov eax, eax
mov eax, ebx
mov esi, ebx
add byte [edi], 0x68
xor esi, ebx
xor eax, ebx
mov eax, eax
mov esi, esi
mov esi, eax
xor ebx, esi
mov ebx, eax
mov ebx, eax
mov eax, ebx
sub byte [edi], 0x44
mov eax, esi
mov ebx, esi
mov ebx, ebx
xor esi, esi
mov eax, esi
mov esi, ebx
xor eax, esi
mov eax, esi
xor ebx, eax
imul byte [edi]
inc edi
loop 0x402d7d
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407efa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416484]
jne 0x407f04
repz ret
jmp fcn.0040c8d6
Function at 0x40e0dd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ae9f
and dword [ebp - 4], 0
cmp dword [0x4179f4], 0
mov ebx, eax
jne 0x40e18e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e23f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40e23f
push eax
call fcn.0040ae2d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4179f4], eax
call esi
push eax
call fcn.0040ae2d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4179f8], eax
call esi
push eax
call fcn.0040ae2d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4179fc], eax
call esi
push eax
call fcn.0040ae2d
pop ecx
mov dword [0x417a04], eax
test eax, eax
je 0x40e18e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ae2d
pop ecx
mov dword [0x417a00], eax
mov eax, dword [0x417a00]
cmp eax, ebx
je 0x40e1e6
cmp dword [0x417a04], ebx
je 0x40e1e6
push eax
call fcn.0040aea8
push dword [0x417a04]
mov esi, eax
call fcn.0040aea8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e1e6
test edi, edi
je 0x40e1e6
call esi
test eax, eax
je 0x40e1dd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e1dd
test byte [ebp - 0xc], 1
jne 0x40e1e6
or dword [ebp + 0x10], 0x200000
jmp 0x40e21f
mov eax, dword [0x4179f8]
cmp eax, ebx
je 0x40e21f
push eax
call fcn.0040aea8
pop ecx
test eax, eax
je 0x40e21f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e21f
mov eax, dword [0x4179fc]
cmp eax, ebx
je 0x40e21f
push eax
call fcn.0040aea8
pop ecx
test eax, eax
je 0x40e21f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4179f4]
call fcn.0040aea8
pop ecx
test eax, eax
je 0x40e23f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e241
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4738ce
Capabilities:
Encode data using xor

Disassembly:
push 0x4735cc
mov ebx, dword [esp]
add esp, 4
sub eax, 0x70c9510
call fcn.00473911
add ecx, ecx
xor dword [edi], ebx
and eax, eax
add edi, 2
sub ecx, 0xe6e2bf89
cmp edi, edx
jl fcn.004738ce
and eax, ecx
mov ecx, 0x8107a128
mov ecx, 0xa030bc08
ret
Function at 0x100060e7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.100060e7]
mov ecx, dword [0x101182e8]
mov edx, ecx
add edx, 0x6ec
mov dword [0x101182ec], edx
add ecx, 0x534
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
jne 0x10006137
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10006137
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 4]
mov dword [0x101182e8], ecx
mov dword [ebp - 8], eax
jmp 0x10006113
Function at 0x10006797
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101182f4], 0
mov dword [0x101182e8], 0x1df4
mov byte [0x101182f8], 0
mov dword [0x101182f0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x100068ac
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x3624
mov esi, 0x100
mov dword [0x101182e8], ecx
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
div ecx
mov edi, dword [0x101182f4]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebx + ecx]
add ecx, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ecx, edx
mov eax, ecx
cdq
idiv esi
mov dword [0x101182f4], edx
mov dword [0x101182e8], 0x1e73
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x101182f8], cl
mov dword [0x101182e8], 0xbb2
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov dword [0x101182ec], 0x1a51
mov cl, byte [0x101182f8]
mov esi, dword [0x101182f4]
mov byte [ebx + esi], cl
mov dword [0x101182e8], 0x11ba
mov esi, dword [0x101182f0]
add esi, 1
mov dword [0x101182f0], esi
cmp esi, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
jl 0x100067e9
jmp 0x100067e1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x101182ec]
mov edx, eax
mov bl, dl
add ecx, 0x3db
mov dword [0x101182ec], ecx
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], bl
mov dword [0x101182e8], 0x2449
mov eax, dword [0x101182f0]
add eax, 1
mov dword [0x101182f0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100068ac
mov eax, 0x5c63
xor ecx, ecx
mov dword [0x101182e8], 0x37f9
mov dword [0x101182f0], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x100067e9
Function at 0x10006933
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x101182f0], 0
mov dword [0x101182f4], 0
mov dword [0x101182fc], 0
mov dword [0x101182ec], 0x1b18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x101182e8], 0x9a9
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x10006a8b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101182f0], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101182f4], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101182f8], cl
mov dword [0x101182e8], 0x1d37
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101182f8]
mov edx, dword [0x101182f4]
mov byte [edi + edx], cl
mov edx, dword [0x101182f0]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101182f4]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101182fc], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov ecx, dword [0x101182ec]
add ecx, 0xffffe50c
mov dword [0x101182ec], ecx
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x10006a8b
mov eax, dword [0x101182f0]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x101182f4]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x100069a4
mov dword [0x101182e8], 0x24d5
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006bf1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [0x101182ec]
add ecx, 0x78b
mov dword [0x101182e8], ecx
mov dword [ebp - 0x10], eax
call fcn.10006a9d
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x101182e8], 0x1c7d
cmp dword [eax + esi], 0x4550
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
je 0x10006d49
jmp 0x10006cc9
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x10006c87
jmp 0x10006d1c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [0x101182e8], 0x561
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x10006d79
mov eax, dword [ebp - 0x40]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x44]
mov edi, dword [edx + esi + 0x1c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [eax + edx*4]
mov dword [0x101182ec], 0x8fd
mov esi, dword [ebp - 0x18]
add esi, eax
mov dword [0x101182e8], 0xfffff08d
mov dword [ebp - 0x40], esi
jmp 0x10006c7c
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [0x101182ec]
add edx, 0x1f4f
mov dword [0x101182ec], edx
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x18]
add edx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x24]
mov dword [0x101182e8], 0x1b75
mov ebx, dword [esi + eax + 0x18]
cmp ebx, 0
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], ecx
je 0x10006c7c
jmp 0x10006d5e
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x30]
add edx, 1
mov esi, dword [ebp - 0x50]
cmp edx, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x40], eax
jb 0x10006c53
jmp 0x10006c7c
mov dword [0x101182e8], 0x1fe4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x10006cc9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
jmp 0x10006c53
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], bh
mov byte [ebp - 0x1d], cl
je 0x10006c47
mov eax, dword [ebp - 0x5c]
add eax, 1
mov cl, byte [ebp - 0x5d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x1d]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10006d79
jmp 0x10006c47
Function at 0x100071c5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101182ec], 0x1683
mov dword [0x101182e8], 0x1fed
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10007231
lea eax, [ebp - 0x24]
mov dword [0x101182e8], 0xb67
mov dword [ebp - 0x34], eax
call fcn.10006f1c
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10007019
mov dword [0x101182e8], 0x2116
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10007317
jmp 0x1000725d
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100081f8]
mov dh, byte [eax + 0x100081c9]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x100071f3
jmp 0x10007231
mov eax, dword [ebp - 0x38]
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 dword [0x101182e8], 0xae5
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10006471
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101182e8], 0x230d
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x101182e8]
add ecx, 0x232
mov dword [0x101182ec], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x50], ecx
mov dword [0x101182e8], 0x44c
add ecx, 0x2221
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1000730e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x418430
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a147b
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.004958c2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4184b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004931ab
mov eax, dword [eax]
push 0x585208
push eax
call fcn.00472e84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00495b4d
test bl, bl
je 0x4184b2
push 0x585208
lea ecx, [esp + 0xc]
call fcn.00495edd
push 0x588d84
lea ecx, [esp + 0xc]
call fcn.00495edd
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 0x4184ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00495b4d
jmp 0x4185b9
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 0x418572
lea edx, [esp + 0x7c]
push 0x588d80
push edx
call fcn.00472e84
add esp, 8
test eax, eax
je 0x418572
lea eax, [esp + 0x7c]
push 0x588d7c
push eax
call fcn.00472e84
add esp, 8
test eax, eax
je 0x418572
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 0x418502
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.00495b4d
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 0x418db0
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 0x418e12
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 0x418e20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a14fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x58f7b4]
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 0x418f58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x418e86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00495b4d
xor eax, eax
jmp 0x418fcf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00495c8a
push esi
lea ecx, [esp + 0xc]
call fcn.00495f19
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 0x418fad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00418db0
test eax, eax
jne 0x418fad
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 SysReAllocString
mov ecx, edi
call fcn.00418db0
test eax, eax
jne 0x418fad
lea eax, [esp + 0x14]
push 0x588d98
push eax
call fcn.00473fa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x418f8c
lea ecx, [esp + 0x14]
push 0x588d94
push ecx
call fcn.00473f20
mov esi, eax
add esp, 8
test esi, esi
jne 0x418f8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x418f8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00495c3a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x418e9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00495b4d
xor eax, eax
jmp 0x418fcf
mov byte [esi], 0
push 0x588d90
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.00495b4d
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 0x4295a0
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 0x42960e
cmp si, 0x69
ja 0x42960e
add esi, 0xffd0
cmp si, 0x11
je 0x4295de
push 0x11
call edi
test ax, ax
jge 0x4295de
or esi, 0x2000
cmp si, 0x10
je 0x4295f3
push 0x10
call edi
test ax, ax
jge 0x4295f3
or esi, 0x4000
cmp si, 0x12
je 0x429608
push 0x12
call edi
test ax, ax
jge 0x429608
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42961b
mov esi, 0xbd
jmp 0x4295cf
cmp si, 0x6e
jne 0x429628
mov esi, 0xbe
jmp 0x4295cf
cmp si, 0x6f
jne 0x4295c9
mov esi, 0xbf
jmp 0x4295cf

Function at 0x42add0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5a0d28]
xor edx, edx
cmp eax, edx
jne 0x42adf6
xor eax, eax
mov byte [eax + 0x5a0c28], al
inc eax
cmp eax, 0x100
jl 0x42adde
mov dword [0x5a0d28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5a0c28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42ae87
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 0x42ae5a
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 0x42ae28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42af00
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 0x42af53
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 0x42af3a
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