joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb700
Capabilities:
Encode data using base64

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp + 8], 0
mov edx, dword [esp + 0x28]
test ecx, ecx
jne 0x4cb65f
jmp 0x4cb6df
mov dword [esp], 1
add edi, 1
xor esi, esi
mov byte [esp + 7], 0
mov byte [esp + 0xc], 0
mov ecx, dword [esp + 8]
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x2c]
jge 0x4cb6d0
mov ecx, eax
shl eax, 4
shr cl, 2
and eax, 0x30
movzx ebp, cl
movzx ecx, byte [ebx + ebp]
mov byte [edx], cl
movzx ecx, byte [esp + 7]
shr cl, 4
movzx ebp, cl
or eax, ebp
cmp dword [esp], 1
movzx eax, byte [ebx + eax]
mov byte [edx + 1], al
je 0x4cb698
movzx eax, byte [esp + 7]
movzx ecx, byte [esp + 0xc]
lea eax, [eax*4]
shr cl, 6
and eax, 0x3c
movzx ebp, cl
or eax, ebp
cmp dword [esp], 3
movzx eax, byte [ebx + eax]
mov byte [edx + 2], al
jne 0x4cb69c
mov eax, dword [esp + 0xc]
add edx, 4
and eax, 0x3f
movzx eax, byte [ebx + eax]
mov byte [edx - 1], al
test esi, esi
je 0x4cb6ab
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
movzx eax, byte [edi]
cmp esi, 1
je 0x4cb5c0
movzx ecx, byte [edi + 1]
mov byte [esp + 7], cl
cmp esi, 2
je 0x4cb6e8
movzx ecx, byte [edi + 2]
mov dword [esp], 3
sub esi, 3
add edi, 3
mov byte [esp + 0xc], cl
jmp 0x4cb5d6
mov byte [edx + 2], 0x3d
mov eax, 0x3d
add edx, 4
mov byte [edx - 1], al
test esi, esi
jne 0x4cb657
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x10]
add eax, 5
cmp dword [esp + 0x2c], eax
jle 0x4cb6d0
mov byte [edx], 0
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x14
mov ebx, 0xffffffff
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
mov eax, 1
jmp 0x4cb6b6
mov dword [esp], 2
add edi, 2
xor esi, esi
mov byte [esp + 0xc], 0
jmp 0x4cb5d6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov eax, 0xebf740
jmp 0x4cb590
Function at 0x50b170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0x28]
push dword [edi + 0x84]
call fcn.00514620
add esp, 4
mov esi, eax
mov dword [esp + 4], edi
imul esi, dword [edi + 8]
push dword [ebx + 0x2c]
call fcn.00514680
add esp, 4
push dword [ebx + 0x30]
call fcn.00513d40
add esp, 4
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0
test ebp, ebp
je 0x50b1db
mov dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x48]
cmp dword [esp + 8], 0
je 0x50b1e9
inc eax
mov dword [ebx + 0x48], eax
cmp eax, esi
jae 0x50b1f7
cmp dword [ebx + 0x5c], 0
je 0x50b2b7
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x50b20a
mov dword [ebx + 0x54], 0xc
mov esi, 0xc
mov edi, dword [esp]
push edi
push esi
push 0
push ebx
call fcn.005215a0
add esp, 0x10
push edi
push dword [ebx + 0x58]
push esi
push dword [ebx + 0x44]
call dword [ebx + 0x40]
add esp, 0x10
push dword [ebx + 0x2c]
call fcn.00514680
add esp, 4
push dword [ebx + 0x30]
call fcn.00513d40
add esp, 4
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0
mov eax, dword [ebx + 0x28]
movzx ecx, word [ebx]
push ecx
push dword [eax + 0x90]
call fcn.00513970
add esp, 8
push dword [ebx + 0x34]
call fcn.00513d40
add esp, 4
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
push dword [ebx + 0x3c]
call fcn.00518150
add esp, 4
mov eax, dword [0xff0238]
push ebx
call dword [eax]
add esp, 4
push dword [esp + 4]
call fcn.0051db00
add esp, 4
mov eax, 0xc
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0050b2d0
Function at 0x6444d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, edx
mov dword [esp + 0xc], ecx
mov esi, dword [ecx + 0x14]
cmp esi, edx
jae 0x64461b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x18]
mov ebx, eax
sub ebx, edx
jb 0x644531
mov edi, eax
and ebx, 0xfffffffc
lea eax, [edx + ebx]
add eax, 4
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x18], eax
shl eax, 4
push 0x71
push 0xf246e0
push eax
mov ebx, ecx
push dword [ecx + 0x40]
call fcn.006310a0
add esp, 0x10
test eax, eax
je 0x64462d
mov dword [ebx + 0x40], eax
mov eax, edi
mov edx, esi
shl edx, 4
add edx, 0x1f
movdqa xmm0, xmmword [0xf246c0]
movdqa xmm1, xmmword [0xf246d0]
nop dword [eax]
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx + 0x40]
mov bh, byte [edi + edx - 0x10]
mov bl, bh
movzx ecx, byte [edi + edx - 0x11]
shr bh, 7
mov ch, cl
add ch, cl
or ch, bh
mov byte [edi + edx - 1], ch
mov ch, byte [edi + edx - 0x12]
shr cl, 7
mov bh, ch
add bh, ch
or bh, cl
mov byte [edi + edx - 2], bh
mov cl, byte [edi + edx - 0x13]
shr ch, 7
add cl, cl
or cl, ch
add bl, bl
mov byte [edi + edx - 3], cl
movd xmm2, dword [edi + edx - 0x17]
movd xmm4, dword [edi + edx - 0x16]
psrlw xmm4, 7
pand xmm4, xmm0
movq xmm3, xmm2
paddb xmm2, xmm2
por xmm2, xmm4
movd dword [edi + edx - 7], xmm2
movq xmm2, qword [edi + edx - 0x1f]
movdqa xmmword [esp + 0x10], xmm2
mov bh, byte [esp + 0x10]
sar bh, 7
and bh, 0x87
xor bh, bl
movdqa xmm4, xmm2
pand xmm4, xmm1
por xmm4, xmm3
psllq xmm4, 0x38
movdqa xmm3, xmm2
psrlq xmm3, 8
por xmm3, xmm4
psrlw xmm3, 7
pand xmm3, xmm0
paddb xmm2, xmm2
por xmm2, xmm3
movq qword [edi + edx - 0xf], xmm2
mov byte [edi + edx], bh
inc esi
add edx, 0x10
cmp eax, esi
jne 0x644550
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x14], eax
shl eax, 4
mov ecx, dword [esp + 0xc]
add eax, dword [ecx + 0x40]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x644625
Function at 0x6726d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6726fd
mov eax, dword [eax]
test eax, eax
je 0x6726fd
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6726fd
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp eax
mov dword [esp + 0xf], 0x207265
mov dword [esp + 0xc], 0x65746e45
mov word [esp + 8], 0x20
mov dword [esp + 4], 0x726f6620
mov word [esp + 2], 0x3a
test ebp, ebp
je 0x6727b2
push ebp
call fcn.007ddf80
add esp, 4
mov esi, eax
test ebx, ebx
je 0x67274a
push ebx
call fcn.007ddf80
add esp, 4
add esi, eax
add esi, 0xb
jmp 0x67274d
add esi, 6
add esi, 2
push 0x166
push 0xf3e690
push esi
call fcn.00630f70
add esp, 0xc
test eax, eax
je 0x6727b2
mov edi, eax
lea eax, [esp + 0xc]
push esi
push eax
push edi
call fcn.00632e10
add esp, 0xc
push esi
push ebp
push edi
call fcn.00632e70
add esp, 0xc
test ebx, ebx
je 0x6727a1
lea eax, [esp + 4]
push esi
push eax
push edi
call fcn.00632e70
add esp, 0xc
push esi
push ebx
push edi
call fcn.00632e70
add esp, 0xc
lea eax, [esp + 2]
push esi
push eax
push edi
call fcn.00632e70
add esp, 0xc
jmp 0x6727b4
xor edi, edi
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x6959f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x18]
cmp ebx, 2
jb 0x695a68
mov dword [esp], ecx
mov eax, ebx
shr ebx, 1
lea esi, [edx + eax]
xor edi, edi
cmp ebx, 1
je 0x695a4b
and ebx, 0xfffffffe
mov eax, dword [esp + 0x18]
lea ebp, [eax - 1]
xor edi, edi
nop dword [eax + eax]
movzx eax, byte [edx + edi]
mov ah, byte [edx + ebp]
mov byte [edx + edi], ah
mov byte [edx + ebp], al
movzx eax, byte [edx + edi + 1]
mov ecx, edi
xor ecx, 0xfffffffe
mov ah, byte [esi + ecx]
mov byte [edx + edi + 1], ah
mov byte [esi + ecx], al
add edi, 2
add ebp, 0xfffffffe
cmp ebx, edi
jne 0x695a20
mov ebx, dword [esp + 0x18]
test bl, 2
mov ecx, dword [esp]
je 0x695a68
movzx eax, byte [edx + edi]
mov ebp, edi
not ebp
mov ah, byte [esi + ebp]
mov byte [edx + edi], ah
mov byte [esi + ebp], al
push ecx
push ebx
push edx
call fcn.005df080
add esp, 0xc
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6c2778
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x6c297e
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x820
mov dword [esp + 8], edx
mov edi, dword [ecx + 0x44]
mov eax, dword [ecx + 0x54]
mov ebx, eax
shl eax, 0xa
mov dword [esp + 0x14], eax
add eax, edi
add eax, 0xfffffc00
lea edx, [esp + 0x18]
push 0x400
push eax
push edx
mov esi, ecx
call fcn.007de188
add esp, 0xc
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
mov dword [esp + 4], eax
cmp eax, 2
jb 0x6c28d7
mov edx, ebx
shl edx, 0xb
mov esi, dword [esp + 4]
imul esi, ebx
shl esi, 0xa
add esi, edi
lea eax, [esp + 0x18]
cmp eax, esi
lea esi, [edi + edx - 0x400]
setb cl
lea eax, [esp + 0x418]
cmp esi, eax
setb ch
and ch, cl
shr ebx, 0x15
and ebx, 1
or bl, ch
mov dword [esp + 0x10], ebx
lea ecx, [edi + edx]
add ecx, 0xfffffc30
add edx, edi
add edx, 0xfffffc08
mov edi, 1
jmp 0x6c2833
inc edi
mov eax, dword [esp + 0x14]
add ecx, eax
add edx, eax
cmp edi, dword [esp + 4]
je 0x6c28d7
cmp byte [esp + 0x10], 0
je 0x6c2870
xor esi, esi
nop dword [eax]
mov eax, dword [edx + esi*8 - 8]
mov ebx, dword [edx + esi*8 - 4]
xor dword [esp + esi*8 + 0x18], eax
xor dword [esp + esi*8 + 0x1c], ebx
mov eax, dword [edx + esi*8]
mov ebx, dword [edx + esi*8 + 4]
xor dword [esp + esi*8 + 0x24], ebx
xor dword [esp + esi*8 + 0x20], eax
add esi, 2
cmp esi, 0x80
jne 0x6c2840
jmp 0x6c2820
xor esi, esi
nop word cs:[eax + eax]
movups xmm0, xmmword [ecx + esi*8 - 0x30]
movups xmm1, xmmword [ecx + esi*8 - 0x20]
movups xmm2, xmmword [esp + esi*8 + 0x18]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + esi*8 + 0x28]
xorps xmm0, xmm1
movups xmmword [esp + esi*8 + 0x18], xmm2
movups xmmword [esp + esi*8 + 0x28], xmm0
movups xmm0, xmmword [ecx + esi*8 - 0x10]
movups xmm1, xmmword [ecx + esi*8]
movups xmm2, xmmword [esp + esi*8 + 0x38]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + esi*8 + 0x48]
xorps xmm0, xmm1
movups xmmword [esp + esi*8 + 0x38], xmm2
movups xmmword [esp + esi*8 + 0x48], xmm0
add esi, 8
cmp esi, 0x80
jne 0x6c2880
jmp 0x6c2820
xor eax, eax
nop dword [eax]
mov ecx, dword [esp + eax*8 + 0x18]
mov edx, dword [esp + eax*8 + 0x1c]
mov dword [esp + eax*8 + 0x420], edx
mov dword [esp + eax*8 + 0x41c], ecx
inc eax
cmp eax, 0x80
jne 0x6c28e0
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x5c]
lea esi, [esp + 0x41c]
mov edx, dword [esp + 8]
push 0x400
push esi
push dword [edi + 4]
call fcn.006c2980
add esp, 0xc
push 0x400
lea eax, [esp + 0x1c]
push eax
call fcn.0063e050
add esp, 8
push 0x400
push esi
call fcn.0063e050
add esp, 8
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x4c]
shl ecx, 0xa
cmp dword [edi + 0x40], 0
je 0x6c2963
push 0x310
push 0xf59318
push ecx
push eax
call fcn.006324f0
jmp 0x6c2974
push 0x313
push 0xf59318
push ecx
push eax
call fcn.00631350
add esp, 0x10
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6f7ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6f7d21
mov esi, dword [esp + 0x1c]
movzx ebx, byte [esi]
mov edi, ebx
and edi, 0xffffff80
test edx, edx
je 0x6f7d01
mov dword [edx], edi
mov dword [esp], edi
cmp eax, 1
jne 0x6f7d58
mov eax, 1
test ecx, ecx
je 0x6f7d50
movzx edx, byte [esi]
cmp byte [esp], 0
je 0x6f7d1d
neg dl
mov byte [ecx], dl
jmp 0x6f7d50
call fcn.0060c3a0
push 0xf65462
push 0xa0
push 0xf65412
call fcn.0060c4a0
add esp, 0xc
push 0
push 0xde
push 0xd
call fcn.0060c590
add esp, 0xc
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, byte [esi]
test edx, edx
je 0x6f7dff
cmp edx, 0xff
jne 0x6f7e3a
cmp eax, 9
jae 0x6f7d7d
xor edi, edi
mov edx, 1
jmp 0x6f7df0
lea ebp, [eax - 1]
mov dword [esp + 4], ebp
and ebp, 0xfffffff8
lea edx, [ebp + 1]
pxor xmm1, xmm1
xor edi, edi
pxor xmm2, xmm2
pxor xmm0, xmm0
nop dword [eax + eax]
movd xmm3, dword [esi + edi + 1]
movd xmm4, dword [esi + edi + 5]
punpcklbw xmm3, xmm1
punpcklwd xmm3, xmm1
por xmm2, xmm3
punpcklbw xmm4, xmm1
punpcklwd xmm4, xmm1
por xmm0, xmm4
add edi, 8
cmp ebp, edi
jne 0x6f7da0
por xmm0, xmm2
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd edi, xmm0
cmp dword [esp + 4], ebp
je 0x6f7dfb
nop dword [eax + eax]
movzx ebp, byte [esi + edx]
or edi, ebp
inc edx
cmp eax, edx
jne 0x6f7df0
test edi, edi
je 0x6f7e3a
mov edi, eax
movzx edx, byte [esi + 1]
and dl, 0x80
cmp byte [esp], dl
mov eax, 0xffffffff
jne 0x6f7e3e
call fcn.0060c3a0
push 0xf65462
push 0xc1
push 0xf65412
call fcn.0060c4a0
add esp, 0xc
push 0
push 0xdd
jmp 0x6f7d44
mov edi, eax
xor eax, eax
add eax, edi
test ecx, ecx
je 0x6f7d50
test eax, eax
je 0x6f7d4e
mov dh, bl
sar dh, 7
add esi, edi
add ecx, eax
shr ebx, 7
test al, 1
mov byte [esp], dh
jne 0x6f7e70
mov edi, eax
cmp eax, 1
je 0x6f7d50
jmp 0x6f7e8e
lea edi, [eax - 1]
mov dl, byte [esi - 1]
xor dl, dh
dec esi
movzx edx, dl
add ebx, edx
mov byte [ecx - 1], bl
dec ecx
shr ebx, 8
cmp eax, 1
je 0x6f7d50
mov dword [esp + 4], eax
neg edi
xor ebp, ebp
movzx eax, byte [esp]
nop word [eax + eax]
movzx edx, byte [esi + ebp - 1]
xor dl, al
movzx edx, dl
add edx, ebx
mov byte [ecx + ebp - 1], dl
shr edx, 8
mov ah, byte [esi + ebp - 2]
xor ah, al
movzx ebx, ah
add ebx, edx
mov byte [ecx + ebp - 2], bl
shr ebx, 8
add ebp, 0xfffffffe
cmp edi, ebp
jne 0x6f7ea0
mov eax, dword [esp + 4]
jmp 0x6f7d50
Function at 0x757720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [ecx]
xor eax, eax
cmp ecx, 1
sbb eax, eax
mov dword [esp], eax
mov eax, 1
test ebx, ebx
je 0x75789e
mov edx, dword [ebx]
test edx, edx
je 0x75789e
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
mov dword [esp + 8], eax
or dword [esp], ecx
nop word [eax + eax]
xorps xmm0, xmm0
movsd qword [esp + 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [esp + 0x60], xmm1
movups xmmword [esp + 0x50], xmm1
movups xmmword [esp + 0x40], xmm1
movups xmmword [esp + 0x30], xmm1
movups xmmword [esp + 0x20], xmm1
movups xmmword [esp + 0x10], xmm1
lea eax, [esp + 0x88]
movsd qword [eax + 0x10], xmm0
movups xmmword [eax], xmm1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], edx
lea ecx, [esp + 0x78]
mov edx, 0xf7aea0
push 0x56
call fcn.00757ac0
add esp, 4
mov esi, eax
mov edi, fcn.00756ea0
test eax, eax
je 0x757807
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x24]
test edi, edi
mov ecx, fcn.00756ea0
cmove edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x10]
push eax
push esi
push 7
call edi
add esp, 0xc
mov ebp, eax
test eax, eax
jle 0x75784f
cmp dword [esp + 0x14], 0
je 0x75784f
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.00626b50
add esp, 0x18
mov ebp, eax
test ebp, ebp
jle 0x757868
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x10]
push eax
push esi
push 8
call edi
add esp, 0xc
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x757883
push 0x2c9
push 0xf7ad2c
push eax
call fcn.00631180
add esp, 0xc
test ebp, ebp
jle 0x75789c
mov edx, dword [ebx + 0x14]
add ebx, 0x14
test edx, edx
jne 0x757770
mov eax, 1
jmp 0x75789e
xor eax, eax
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x760930
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
test esi, esi
je 0x760a0f
mov ebx, dword [esp + 0x28]
test byte [edx + 0x5c], 2
mov eax, 0xf7f7aa
mov edi, esi
mov esi, 0xf7f769
cmove esi, eax
test edi, edi
jle 0x760a16
mov dword [esp + 4], esi
lea ebp, [edx + 9]
mov dword [esp], 4
mov esi, edi
nop dword [eax + eax]
movzx eax, byte [ebp - 1]
mov edi, eax
shl edi, 0x10
cmp esi, 2
mov dword [esp + 8], esi
jbe 0x760a25
movzx ebx, byte [ebp]
shl ebx, 8
movzx ecx, byte [ebp + 1]
mov dword [esp + 0xc], ecx
lea edx, [ebx + ecx]
or ebx, edi
shr eax, 2
mov esi, dword [esp + 4]
movzx eax, byte [esi + eax]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp]
mov byte [edi + ecx - 4], al
shr ebx, 0xc
and ebx, 0x3f
movzx eax, byte [esi + ebx]
mov byte [edi + ecx - 3], al
shr edx, 6
and edx, 0x3f
movzx eax, byte [esi + edx]
mov byte [edi + ecx - 2], al
mov eax, dword [esp + 0xc]
and eax, 0x3f
movzx eax, byte [esi + eax]
mov esi, dword [esp + 8]
mov byte [edi + ecx - 1], al
add ecx, 4
mov dword [esp], ecx
add ebp, 3
add esi, 0xfffffffd
jne 0x760980
mov ebx, dword [esp + 0x28]
mov esi, dword [esp]
lea eax, [esi + ebx]
add eax, 0xfffffffc
add esi, 0xfffffffc
jmp 0x760a77
xor esi, esi
jmp 0x760a97
xor esi, esi
mov eax, ebx
mov byte [eax], 0
test byte [edx + 0x5c], 1
je 0x760a88
jmp 0x760a8d
jne 0x760a30
movzx eax, byte [ebp]
shl eax, 8
or edi, eax
mov eax, edi
shr eax, 0x12
mov edx, dword [esp + 4]
movzx eax, byte [edx + eax]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp]
mov byte [ebx + esi - 4], al
mov eax, edi
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [edx + eax]
mov byte [ebx + esi - 3], al
mov cl, 0x3d
cmp dword [esp + 8], 1
je 0x760a6b
shr edi, 6
and edi, 0x3f
movzx ecx, byte [edx + edi]
lea eax, [ebx + esi]
mov byte [ebx + esi - 2], cl
mov byte [ebx + esi - 1], 0x3d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov byte [eax], 0
test byte [edx + 0x5c], 1
jne 0x760a8d
mov byte [ebx + esi], 0xa
inc esi
mov byte [ebx + esi], 0
mov dword [edx], 0
mov dword [ecx], esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x790aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
jle 0x790ac0
nop
movzx eax, byte [ecx + esi]
cmp al, byte [edx + esi]
jne 0x790ac0
inc esi
cmp ebx, esi
jne 0x790ab0
mov esi, ebx
mov ebp, ebx
sar ebp, 0x1f
and ebp, ebx
lea eax, [ebp - 1]
mov dword [esp], eax
lea edi, [ebx - 1]
mov eax, ebx
lea ebx, [edi + 1]
test ebx, ebx
jle 0x790aed
cmp byte [ecx + edi], 0
jne 0x790afd
cmp byte [edx + edi], 0xff
lea edi, [edi - 1]
lea ebx, [eax - 1]
je 0x790ad0
jmp 0x790af2
mov eax, ebp
mov ebx, dword [esp]
mov ebp, 0xffffffff
cmp esi, ebx
jge 0x790b0a
jmp 0x790b75
mov eax, ebx
mov ebx, edi
mov ebp, 0xffffffff
cmp esi, ebx
jl 0x790b75
cmp esi, eax
jge 0x790b38
movzx ecx, byte [ecx + esi]
movzx edx, byte [edx + esi]
mov ch, dl
xor ch, cl
movzx eax, ch
lea ebx, [eax - 1]
cmp ebx, 0x1e
ja 0x790b3f
mov edi, 7
jmp dword [ebx*4 + 0xf886b8]
shl esi, 3
mov ebp, esi
jmp 0x790b75
cmp eax, 0x3f
je 0x790b65
cmp eax, 0x7f
jne 0x790b75
mov edi, 1
jmp 0x790b6a
mov edi, 2
not dl
or cl, dl
test ch, cl
jne 0x790b75
lea ebp, [edi + esi*8]
mov eax, ebp
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7def20
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x7def45
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x7def50
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x7def45
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x7def98
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x7def8e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x7def9a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x7def80
xor eax, eax
pop ebx
pop esi
ret

Function at 0x7f3c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edi, dword [0x1006044]
mov dword [esp + 0xc], edi
xor edi, edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0xc]
sub edi, dword [0x1006044]
jne 0x7f3c77
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
add esp, 0x10
pop ebx
pop esi
pop edi
jmp 0x7f6760
call fcn.00401690
nop
nop
nop
nop
Function at 0x7f8ef0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x10
mov ecx, dword [0x1006044]
mov dword [esp + 0xc], ecx
xor ecx, ecx
test edx, edx
je 0x7f90a8
not eax
cmp edi, 7
jbe 0x7f90b0
lea ecx, [edi - 8]
shr ecx, 3
lea ecx, [edx + ecx*8 + 8]
lea esi, [esi]
movzx esi, byte [edx]
add edx, 8
xor esi, eax
shr eax, 8
mov ebx, esi
movzx esi, bl
xor eax, dword [esi*4 + 0xff0560]
movzx esi, byte [edx - 7]
xor esi, eax
shr eax, 8
mov ebx, esi
movzx esi, bl
xor eax, dword [esi*4 + 0xff0560]
movzx esi, byte [edx - 6]
xor esi, eax
shr eax, 8
mov ebx, esi
movzx esi, bl
xor eax, dword [esi*4 + 0xff0560]
movzx esi, byte [edx - 5]
xor esi, eax
shr eax, 8
mov ebx, esi
movzx esi, bl
xor eax, dword [esi*4 + 0xff0560]
movzx esi, byte [edx - 4]
xor esi, eax
shr eax, 8
mov ebx, esi
movzx esi, bl
xor eax, dword [esi*4 + 0xff0560]
movzx esi, byte [edx - 3]
xor esi, eax
shr eax, 8
mov ebx, esi
movzx esi, bl
xor eax, dword [esi*4 + 0xff0560]
movzx esi, byte [edx - 2]
xor esi, eax
shr eax, 8
mov ebx, esi
movzx esi, bl
xor eax, dword [esi*4 + 0xff0560]
movzx esi, byte [edx - 1]
xor esi, eax
shr eax, 8
mov ebx, esi
movzx esi, bl
xor eax, dword [esi*4 + 0xff0560]
cmp edx, ecx
jne 0x7f8f28
and edi, 7
test edi, edi
je 0x7f9090
movzx edx, byte [ecx]
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0xff0560]
cmp edi, 1
je 0x7f9090
movzx edx, byte [ecx + 1]
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0xff0560]
cmp edi, 2
je 0x7f9090
movzx edx, byte [ecx + 2]
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0xff0560]
cmp edi, 3
je 0x7f9090
movzx edx, byte [ecx + 3]
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0xff0560]
cmp edi, 4
je 0x7f9090
movzx edx, byte [ecx + 4]
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0xff0560]
cmp edi, 5
je 0x7f9090
movzx edx, byte [ecx + 5]
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0xff0560]
cmp edi, 6
je 0x7f9090
movzx edx, byte [ecx + 6]
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0xff0560]
lea esi, [esi]
nop
not eax
mov edx, dword [esp + 0xc]
sub edx, dword [0x1006044]
jne 0x7f90b7
add esp, 0x10
pop ebx
pop esi
pop edi
ret
xor eax, eax
jmp 0x7f9092
mov ecx, edx
jmp 0x7f8fdd
call fcn.00401690
nop
nop
nop
nop
Function at 0x804420
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [0x1006044]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
not eax
cmp esi, 3
jbe 0x804500
lea edx, [esi - 4]
shr edx, 2
lea ebx, [ecx + edx*4 + 4]
nop
mov edx, eax
xor al, byte [ecx]
add ecx, 4
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xff0d40]
mov eax, edx
xor dl, byte [ecx - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0xff0d40]
mov edx, eax
xor al, byte [ecx - 2]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xff0d40]
mov eax, edx
xor dl, byte [ecx - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0xff0d40]
cmp ecx, ebx
jne 0x804450
and esi, 3
test esi, esi
je 0x8044e6
mov edx, eax
xor al, byte [ebx]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xff0d40]
mov eax, edx
cmp esi, 1
je 0x8044e6
xor al, byte [ebx + 1]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0xff0d40]
mov eax, edx
cmp esi, 2
je 0x8044e6
xor al, byte [ebx + 2]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0xff0d40]
mov eax, edx
not eax
mov edx, dword [esp + 0xc]
sub edx, dword [0x1006044]
jne 0x804504
add esp, 0x14
pop ebx
pop esi
ret
mov ebx, ecx
jmp 0x8044a1
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop