joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf32270
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0xf322aa
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0xf322b1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0xf32290
jmp 0xf322b3
mov eax, 0x1505
jmp 0xf322b3
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0xf329d0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0xf32b76
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0xf32b6f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
mov eax, edx
jmp 0xf32a65
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov eax, 0x15b0
je 0xf32b6f
xor ebx, ebx
cmp eax, 8
mov dword [esp], eax
mov dword [esp + 8], esi
jb 0xf32ae2
mov ebx, eax
and ebx, 0x1ff8
mov edx, 7
movzx eax, byte [ebp + edx - 7]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx - 6]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx - 5]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx - 4]
add esi, eax
mov eax, ecx
xor eax, esi
and ecx, esi
movzx edi, byte [ebp + edx - 3]
add edi, esi
movzx esi, byte [ebp + edx - 2]
add esi, edi
add edi, eax
lea ecx, [edi + ecx*2]
movzx eax, byte [ebp + edx - 1]
add eax, esi
add ecx, esi
movzx edi, byte [ebp + edx]
add edi, eax
add ecx, eax
mov eax, dword [esp]
add ecx, edi
add edx, 8
cmp edx, eax
jb 0xf32a80
add ebp, edx
add ebp, 0xfffffff9
mov esi, dword [esp + 8]
mov edx, ebx
sub edx, eax
jae 0xf32a2d
mov dword [esp + 0xc], edx
and eax, 3
mov dword [esp + 4], ebx
je 0xf32b20
neg eax
xor ebx, ebx
mov edx, ebp
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0xf32b00
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0xf32a20
jmp 0xf32b2f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0xf32a20
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0xf32b40
jmp 0xf32a20
shl ecx, 0x10
or ecx, edi
jmp 0xf32b7b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xf32b90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0xf32bbe
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0xf32c5c
not eax
test bl, 1
jne 0xf32bc5
mov edx, ebx
cmp ebx, 1
jne 0xf32bf6
jmp 0xf32c5a
xor eax, eax
jmp 0xf32c5c
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0xf6e80c]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0xf6e80c]
cmp ebx, 1
je 0xf32c5a
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0xf6e80c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0xf6e80c]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0xf6e80c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0xf6e80c]
add esi, 2
cmp edx, esi
jne 0xf32c00
not eax
pop esi
pop edi
pop ebx
ret
Function at 0xf37c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0xf37c2b
mov ebx, dword [esp + 0x18]
cmp eax, 1
jne 0xf37c33
mov word [ebx], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, word [ebx + 4]
add word [ebx], cx
cmp eax, 3
jl 0xf37ccb
mov edx, 2
mov ecx, 2
sub ecx, eax
mov dword [esp], ecx
xor edi, edi
mov ebx, 1
jmp 0xf37c79
movzx ebp, word [esi + edi*4]
add word [esi + ebx*4], bp
mov word [esi + edi*4], bx
inc edi
mov ecx, dword [esp]
add ecx, ebx
inc ecx
inc ebx
cmp ecx, 1
je 0xf37cda
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + edi*4]
cmp edx, eax
jge 0xf37c8e
movzx ebp, word [esi + edx*4]
cmp cx, bp
jae 0xf37ca0
mov word [esi + ebx*4], cx
mov word [esi + edi*4], bx
inc edi
cmp edx, eax
jge 0xf37c60
jmp 0xf37ca9
inc edx
mov word [esi + ebx*4], bp
cmp edx, eax
jge 0xf37c60
cmp edi, ebx
jge 0xf37cc0
movzx ebp, word [esi + edi*4]
movzx ecx, word [esi + edx*4]
cmp bp, cx
jb 0xf37c64
jmp 0xf37cc4
movzx ecx, word [esi + edx*4]
inc edx
add word [esi + ebx*4], cx
jmp 0xf37c6d
lea edx, [eax - 2]
mov word [ebx + eax*4 - 8], 0
jmp 0xf37d62
lea edx, [eax - 2]
mov ebx, dword [esp + 0x18]
mov word [ebx + eax*4 - 8], 0
cmp eax, 3
jl 0xf37d62
lea edi, [eax - 3]
mov ebp, ebx
mov ebx, eax
and ebx, 3
xor ebx, 2
mov esi, edi
je 0xf37d14
mov esi, edi
movzx ecx, word [ebp + esi*4]
movzx ecx, word [ebp + ecx*4]
inc ecx
mov word [ebp + esi*4], cx
dec esi
dec ebx
jne 0xf37d00
mov ebx, dword [esp + 0x18]
cmp edi, 3
jb 0xf37d62
nop
nop
nop
movzx ecx, word [ebx + esi*4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4], cx
movzx ecx, word [ebx + esi*4 - 4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 4], cx
movzx ecx, word [ebx + esi*4 - 8]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 8], cx
movzx ecx, word [ebx + esi*4 - 0xc]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 0xc], cx
add esi, 0xfffffffc
cmp esi, 0xffffffff
jne 0xf37d20
dec eax
mov ecx, 1
xor esi, esi
jmp 0xf37d7c
lea ecx, [edi + edi]
inc esi
test edi, edi
je 0xf37c2b
test edx, edx
mov dword [esp], ecx
js 0xf37db0
lea edi, [edx + 1]
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx + edx*4]
cmp esi, ecx
jne 0xf37dc0
inc ebp
dec edx
cmp edi, ebp
jne 0xf37d90
mov edx, 0xffffffff
jmp 0xf37dc2
xor edi, edi
jmp 0xf37dc5
mov edi, ebp
mov ecx, dword [esp]
mov ebp, ecx
sub ebp, edi
jle 0xf37d70
and ebp, 3
je 0xf37df8
lea ecx, [ebx + eax*4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], si
inc ebx
add ecx, 0xfffffffc
cmp ebp, ebx
jne 0xf37de0
mov ebp, dword [esp]
sub ebp, ebx
sub eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0xf37dfa
mov ebp, ecx
mov ecx, edi
sub ecx, dword [esp]
cmp ecx, 0xfffffffc
ja 0xf37d70
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx + eax*4], si
mov word [ebx + eax*4 - 4], si
mov word [ebx + eax*4 - 8], si
mov word [ebx + eax*4 - 0xc], si
add eax, 0xfffffffc
add ebp, 0xfffffffc
cmp ebp, edi
jg 0xf37e10
jmp 0xf37d70
Function at 0xf38610
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0xf75bd8]
cmp eax, 0x270
jne 0xf3866f
mov eax, 0xfffff640
mov edx, dword [0xf75bdc]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0xf765a0]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0xf76bd0]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0xf76f5c], esi
add eax, 4
jne 0xf38630
mov eax, 0x270
jmp 0xf38685
cmp eax, 0x4e0
jb 0xf38685
mov ecx, 0xf75bd8
call fcn.00f38910
mov eax, dword [0xf75bd8]
lea ecx, [eax + 1]
mov dword [0xf75bd8], ecx
mov eax, dword [eax*4 + 0xf75bdc]
mov edx, eax
shr edx, 0xb
and edx, dword [0xf76f5c]
xor edx, eax
mov ecx, edx
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, edx
mov edx, ecx
shl edx, 0xf
and edx, 0xefc40000
xor edx, ecx
shr edx, 0x12
lea eax, [edx + ecx]
and edx, ecx
add edx, edx
sub eax, edx
and eax, 0x7fff
pop esi
ret

Function at 0xf38910
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
and edi, 0x80000000
mov edx, dword [ecx + eax*4 - 0x630]
mov ebx, edx
and ebx, 0x7ffffffe
or ebx, edi
shr ebx, 1
mov esi, edx
and esi, 1
neg esi
and esi, 0x9908b0df
mov edi, ebx
and edi, esi
add esi, ebx
add edi, edi
sub esi, edi
xor esi, dword [ecx + eax*4]
mov edi, edx
mov dword [ecx + eax*4 - 0xff4], esi
inc eax
cmp eax, 0x4e1
jne 0xf38920
mov esi, dword [ecx + 0xd50]
mov eax, 0xe4
mov edx, 0x1c6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebx, [eax - 1]
mov edi, dword [ecx + eax*4 + 0x9c4]
xor ebx, 0x270
mov ebp, edx
and ebp, 0x31e
sub ebp, ebx
mov ebx, ebp
and ebx, 0x18d
xor ebp, 0x18d
lea ebx, [ebx*2]
add ebx, ebp
mov ebp, edi
and ebp, 1
neg ebp
and ebp, 0x9908b0df
xor ebp, dword [ecx + ebx*4 + 4]
mov ebx, edi
and esi, 0x80000000
and ebx, 0x7ffffffe
or ebx, esi
shr ebx, 1
xor ebp, ebx
mov dword [ecx + eax*4], ebp
mov esi, edi
inc eax
add edx, 2
cmp eax, 0x270
jne 0xf38980
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xf39950
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c4
push eax
sub esp, 0x7c
mov dword [ebp - 0x40], esp
sub esp, 0x100
mov eax, esp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
push eax
mov ebx, esp
push eax
mov dword [ebp - 0x2c], esp
sub esp, 0x6c
mov dword [ebp - 0x14], esp
sub esp, 0x24
mov dword [ebp - 0x38], esp
sub esp, 8
mov dword [ebp - 0x3c], esp
sub esp, 0x40
mov dword [ebp - 0x28], esp
sub esp, 0x80
mov dword [ebp - 0x34], esp
mov esi, dword [0xf76fb8]
mov dword [ebp - 0x1c], 0x244c2c4b
xor edx, edx
mov al, 1
nop
nop
nop
nop
nop
nop
movzx edi, word [ebp + edx*2 - 0x1c]
lea ecx, [edx + 0xa2f3733]
and ecx, 0xa083317
add ecx, 0xfb7f7fc0
xor ecx, edi
add ecx, 0xd3c26967
mov edi, ecx
and edi, 1
xor ecx, 1
lea ecx, [ecx + edi*2]
mov word [ebp + edx*2 - 0x1c], cx
mov edx, 1
xor ecx, ecx
test al, 1
mov eax, 0
jne 0xf399b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1d0], 0x77527757
mov dword [ebp - 0x1cc], 0x777c7710
mov dword [ebp - 0x1c8], 0x77177717
mov dword [ebp - 0x1c4], 0x77437708
mov dword [ebp - 0x1c0], 0x77457744
mov word [ebp - 0x1bc], 0x772a
nop
nop
nop
lea edx, [ecx + 0x4620]
xor dx, word [ebp + ecx*2 - 0x1d0]
add edx, 0xffffcf00
mov word [ebp + ecx*2 - 0x1d0], dx
inc ecx
cmp ecx, 0xb
jne 0xf39a30
lea edi, [ebp - 0x1d0]
push eax
push 0
push edi
call esi
mov ecx, 0xf76fbc
push eax
call 0xf69230
movzx eax, al
mov eax, dword [eax*4 + 0xf71310]
mov ecx, 0xd6b78ddf
xor ecx, dword [0xf71318]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx
Function at 0xf4a020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x18], 0x18e31827
mov dword [esp + 0x1c], 0x18e418f9
mov dword [esp + 0x20], 0x180d18e2
mov eax, 0x4a48
mov ecx, 0xab1cb5b7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + eax*2 - 0x9478]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
lea esi, [edx + edx]
not esi
add esi, edx
add esi, 0x58e5adbf
mov edi, esi
and edi, 1
and esi, 0xfffe
and edx, 1
or edx, esi
xor edx, 1
lea edx, [edx + edi*2]
mov word [esp + eax*2 - 0x9478], dx
inc eax
dec ecx
cmp eax, 0x4a4e
jne 0xf4a060
mov dword [esp + 0x30], 0xf8cdf8d0
mov dword [esp + 0x34], 0xf8cbf8ce
mov dword [esp + 0x38], 0xf712f706
mov dword [esp + 0x3c], 0xf8d3f711
mov dword [esp + 0x40], 0xf922f92f
mov dword [esp + 0x44], 0xf92ff923
mov dword [esp + 0x48], 0xf92af92c
mov dword [esp + 0x4c], 0xf933f935
mov dword [esp + 0x50], 0xf6c9f6f2
xor eax, eax
nop
nop
lea ecx, [eax + 0x70f8]
xor cx, word [esp + eax*2 + 0x30]
add ecx, 0x7840
mov word [esp + eax*2 + 0x30], cx
inc eax
cmp eax, 0x12
jne 0xf4a0f0
movzx ecx, word [esp + 0x30]
lea eax, [esp + 0x15c]
test cx, cx
je 0xf4a143
lea edx, [esp + 0x32]
mov esi, dword [ebp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xf4a130
jmp 0xf4a146
mov esi, dword [ebp + 0x10]
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0xf4a171
lea edx, [esi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xf4a160
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0xf4a1a1
lea edx, [esp + 0x1a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xf4a190
mov word [eax], 0
mov edi, dword [ebx]
mov dword [esp + 0x30], 0x5cd0520
mov word [esp + 0x34], 0x7e2c
mov eax, 0xf1fa
mov ecx, 0xe05
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2 - 0x1e3c4]
mov esi, edx
not esi
or esi, ecx
or edx, eax
and edx, esi
add edx, 0x7030
mov word [esp + eax*2 - 0x1e3c4], dx
inc eax
dec ecx
cmp eax, 0xf1fd
jne 0xf4a1d0
movzx eax, byte [esp + 0x30]
test al, al
je 0xf4a21b
lea ecx, [esp + 0x31]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0xf4a210
mov dword [esp + 0x10], edi
mov byte [edi], 0
lea eax, [esp + 0x140]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x2c]
lea esi, [esp + 0x15c]
push eax
push ecx
push edx
push esi
call fcn.00f3ad10
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0xf72580]
mov ecx, 0xf7d41967
xor ecx, dword [0xf72588]
add eax, ecx
inc eax
jmp eax
Function at 0x1248930
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov dword [esp], 0xeeffee2e
xor eax, eax
mov cl, 1
movzx edi, word [esp + eax*2]
mov edx, eax
or edx, 0x596e3a8e
lea ebx, [edi + edi]
not ebx
add ebx, edi
mov ebp, eax
xor ebp, 1
mov esi, 0xc571
sub esi, eax
or esi, ebp
and esi, edi
not edi
or edi, ebx
and edi, edx
or esi, edi
mov ebx, esi
not ebx
lea edi, [esi + ebx*2]
mov edx, 0xfffffffe
sub edx, edi
mov ebp, edx
xor ebp, 0xd470
mov edi, edx
or edi, 0x2b8f
and edi, ebp
lea esi, [esi + ebx*2]
inc esi
mov ebx, esi
not ebx
and esi, 0xc315
and edx, 0x3cea
or edx, esi
xor edx, 0xe89a
and ebx, 0x2b8f
or ebx, edx
lea edx, [ebx + edi]
inc edx
mov word [esp + eax*2], dx
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x1248940
mov eax, dword [esp]
mov eax, dword fs:[eax]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1248d90
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx ecx, word [eax]
mov dword [esp + 4], 0x1d827b5c
xor edx, edx
mov bl, 1
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + edx*2 + 4]
lea eax, [edx + edx*2]
mov edi, eax
xor edi, 0xac7e03c9
lea ebp, [esi + esi]
not ebp
add ebp, esi
and ebp, edi
xor eax, 0xfc36
and eax, esi
or eax, ebp
mov esi, eax
not esi
lea eax, [eax + esi*2]
mov esi, 0xffffe1b6
sub esi, eax
mov word [esp + edx*2 + 4], si
mov edx, 1
xor eax, eax
test bl, 1
mov ebx, 0
jne 0x1248db0
xor edx, edx
cmp dword [esp + 4], ecx
setne dl
jmp dword [edx*4 + 0xf75b48]

Function at 0x12497c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x785d785e
xor esi, esi
mov dl, 1
nop
nop
nop
nop
nop
nop
movzx ecx, word [esp + esi*2]
mov ebx, 0x6366
sub ebx, esi
mov eax, esi
add eax, 0x5d6e9c99
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov eax, ebx
mov ecx, ebx
xor ecx, 0x148b1b37
add ecx, ebx
and ebx, 0x140a1b37
and eax, 0x4964e4c8
sub ecx, eax
mov eax, ecx
and eax, ebx
xor ecx, ebx
lea eax, [ecx + eax*2]
inc eax
mov word [esp + esi*2], ax
mov esi, 1
test dl, 1
mov edx, 0
jne 0x12497e0
mov eax, dword [esp]
mov edx, dword [0xf782e0]
test edx, edx
je 0x1249888
xor ebx, ebx
mov ecx, dword [0xf782e4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0xa269eeef
je 0x1249860
inc ebx
cmp edx, ebx
jne 0x1249850
jmp 0x1249888
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x1249888
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0xf782e8]
call fcn.012470c0
add esp, 0x20
test edi, edi
je 0x1249892
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x12498a1
cmp byte [esp + 0x15], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1249c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x1249c40
sar ebx, 1
mov ebp, ebx
and ebp, 0xfffd
mov ecx, ebx
and ecx, 2
or ebx, 2
imul ebx, ecx
xor ecx, 2
imul ecx, ebp
lea ebp, [ecx + ebx]
mov word [esp + 4], bp
add ecx, ebx
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x785d785e
xor eax, eax
mov bl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [esp + eax*2]
mov edi, 0x6366
sub edi, eax
mov ebp, eax
add ebp, 0x5d6e9c99
xor edi, ebp
and edi, ecx
xor edi, ebp
mov ecx, edi
mov ebp, edi
xor ebp, 0x148b1b37
add ebp, edi
and edi, 0x140a1b37
and ecx, 0x4964e4c8
sub ebp, ecx
mov ecx, ebp
and ecx, edi
xor ebp, edi
lea ecx, [ecx*2 + 1]
add ecx, ebp
mov word [esp + eax*2], cx
mov eax, 1
test bl, 1
mov ebx, 0
jne 0x1249cc0
mov eax, dword [esp]
mov edi, dword [0xf782e0]
test edi, edi
je 0x1249d65
xor ebx, ebx
mov ebp, dword [0xf782e4]
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xb7847e1b
je 0x1249d41
inc ebx
cmp edi, ebx
jne 0x1249d30
jmp 0x1249d65
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x1249d65
lea eax, [esp + 0xc]
push esi
push eax
push edx
push dword [esp + 0x48]
push 0x10
push edi
push dword [0xf782e8]
call fcn.012470c0
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x417350
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49b76b
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.004901a8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4173d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048dfc2
mov eax, dword [eax]
push 0x5e0d24
push eax
call fcn.0047ff14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00490433
test bl, bl
je 0x4173d2
push 0x5e0d24
lea ecx, [esp + 0xc]
call fcn.004907c3
push 0x5e0d30
lea ecx, [esp + 0xc]
call fcn.004907c3
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 0x41740e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00490433
jmp 0x4174d9
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 0x417492
lea edx, [esp + 0x7c]
push 0x5e0d2c
push edx
call fcn.0047ff14
add esp, 8
test eax, eax
je 0x417492
lea eax, [esp + 0x7c]
push 0x5e0d28
push eax
call fcn.0047ff14
add esp, 8
test eax, eax
je 0x417492
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 0x417422
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.00490433
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 0x417ce0
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 0x417d42
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 0x417d50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49b7eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5ec5ac]
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 0x417e88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x417db6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00490433
xor eax, eax
jmp 0x417eff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00490570
push esi
lea ecx, [esp + 0xc]
call fcn.004907ff
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 0x417edd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00417ce0
test eax, eax
jne 0x417edd
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.00417ce0
test eax, eax
jne 0x417edd
lea eax, [esp + 0x14]
push 0x5e0d40
push eax
call fcn.00480fb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x417ebc
lea ecx, [esp + 0x14]
push 0x5e0d3c
push ecx
call fcn.00480f30
mov esi, eax
add esp, 8
test esi, esi
jne 0x417ebc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x417ebf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00490520
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x417dce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00490433
xor eax, eax
jmp 0x417eff
mov byte [esi], 0
push 0x5e0d38
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.00490433
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