joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48cb70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
mov edi, edx
sub esp, 0x14
mov esi, dword [eax]
xor eax, eax
cmp esi, edx
jae 0x48cc70
lea edx, [ecx - 2]
xor eax, eax
cmp edx, 0x22
ja 0x48cc70
movzx ebx, byte [esi]
lea edx, [ebx - 0x2b]
and edx, 0xfd
je 0x48cc80
mov eax, 0x7fffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
cdq
idiv ecx
mov dword [esp], eax
mov byte [esp + 7], dl
cmp bl, 0x20
je 0x48ccd1
test bl, bl
jle 0x48ccd1
lea eax, [ebx - 9]
cmp al, 1
lea eax, [ebx - 0xc]
setbe dl
cmp al, 1
setbe al
or dl, al
jne 0x48ccd1
mov dword [esp + 0x10], ebp
mov byte [esp + 6], 0
xor eax, eax
mov ebp, ecx
jmp 0x48cc34
cmp dl, byte [esp + 7]
jle 0x48cc4d
mov byte [esp + 6], 1
add esi, 1
cmp edi, esi
jbe 0x48cc54
movzx ebx, byte [esi]
cmp bl, 0x20
je 0x48cc54
lea edx, [ebx - 0xc]
cmp dl, 1
lea edx, [ebx - 9]
setbe cl
cmp dl, 1
setbe dl
or cl, dl
jne 0x48cc54
test bl, bl
jle 0x48cc54
movzx edx, byte [ebx + 0x4fa400]
test dl, dl
js 0x48cc54
movsx ecx, dl
cmp ebp, ecx
jle 0x48cc54
cmp eax, dword [esp]
jg 0x48cc06
je 0x48cc00
imul eax, ebp
add eax, ecx
jmp 0x48cc0b
cmp byte [esp + 6], 0
mov ebp, dword [esp + 0x10]
mov edx, 0x7fffffff
mov dword [ebp], esi
cmovne eax, edx
xor eax, dword [esp + 0xc]
add eax, dword [esp + 8]
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [esi + 1]
cmp bl, 0x2d
sete byte [esp + 6]
cmp edx, edi
mov ebx, edx
je 0x48cc70
mov eax, 0x7fffffff
cdq
idiv ecx
cmp edi, ebx
mov byte [esp + 7], dl
mov dword [esp], eax
mov edx, ebx
jbe 0x48ccc0
movzx eax, byte [esp + 6]
movzx ebx, byte [esi + 1]
mov esi, edx
mov dword [esp + 8], eax
neg eax
mov dword [esp + 0xc], eax
jmp 0x48cbc6
movzx eax, byte [esp + 6]
mov esi, ebx
mov dword [esp + 8], eax
neg eax
mov dword [esp + 0xc], eax
mov dword [ebp], esi
xor eax, eax
jmp 0x48cc68

Function at 0x48cce0
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [edx + ebx]
cmp ecx, edx
jbe 0x48cd24
test ebx, ebx
je 0x48cd24
movzx eax, ax
lea esi, [esi]
movzx esi, byte [edx]
mov ebx, eax
add edx, 1
shr ebx, 8
add eax, esi
xor ebx, esi
imul eax, eax, 0xce6d
mov byte [edx - 1], bl
add eax, 0x58bf
cmp edx, ecx
movzx eax, ax
jne 0x48cd00
pop ebx
pop esi
ret
Function at 0x48d730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
sub esp, 0x24
mov esi, dword [eax]
cmp esi, edx
mov dword [esp + 0x20], esi
jae 0x48d880
movzx eax, byte [esi]
lea ecx, [eax - 0x2b]
mov byte [esp], al
and ecx, 0xfd
je 0x48d890
mov ebx, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
movzx eax, byte [esp]
cmp al, 0x20
je 0x48d8e8
lea ecx, [eax - 0xc]
cmp cl, 1
setbe cl
mov edi, ecx
lea ecx, [eax - 9]
mov eax, edi
cmp cl, 1
setbe cl
or al, cl
jne 0x48d8e8
cmp byte [esp], 0
jle 0x48d8e8
xor edi, edi
xor ecx, ecx
movzx eax, byte [esp]
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
mov ebp, edi
mov dword [esp], ecx
mov edi, edx
jmp 0x48d806
jne 0x48d8c0
cmp al, 7
jle 0x48d8c0
mov ebp, 1
mov dword [esp], 0xccccccc
add ebx, 1
cmp edi, ebx
jbe 0x48d825
movzx eax, byte [ebx]
cmp al, 0x20
je 0x48d825
lea edx, [eax - 0xc]
cmp dl, 1
setbe dl
mov esi, edx
lea edx, [eax - 9]
mov ecx, esi
cmp dl, 1
setbe dl
or cl, dl
jne 0x48d825
test al, al
jle 0x48d825
movsx eax, byte [eax + 0x4fa400]
test al, al
js 0x48d825
cmp al, 9
jg 0x48d825
cmp dword [esp], 0xccccccc
jle 0x48d7c0
mov ebp, 1
jmp 0x48d7da
mov ecx, dword [esp]
mov eax, ebp
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
test al, al
mov eax, 0x7fffffff
mov edx, edi
mov dword [esp + 0x20], ebx
mov edi, ebx
cmovne ecx, eax
xor ecx, dword [esp + 8]
mov eax, dword [esp + 4]
add eax, ecx
cmp esi, ebx
je 0x48d880
cmp edx, ebx
mov esi, ebp
jbe 0x48d8d1
cmp byte [ebx], 0x23
jne 0x48d8d1
mov ecx, eax
lea eax, [esp + 0x20]
add ebx, 1
mov dword [esp + 0x20], ebx
call sym._PS_Conv_Strtol
mov edi, dword [esp + 0x20]
cmp ebx, edi
jne 0x48d8d1
mov esi, esi
lea edi, [edi]
add esp, 0x24
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [esi + 1]
cmp al, 0x2d
sete cl
cmp edx, ebx
je 0x48d880
jbe 0x48d8db
movzx eax, byte [esi + 1]
mov byte [esp], al
movzx eax, cl
mov dword [esp + 4], eax
neg eax
mov dword [esp + 8], eax
jmp 0x48d76e
mov esi, dword [esp]
lea edx, [esi + esi*4]
lea eax, [eax + edx*2]
mov dword [esp], eax
jmp 0x48d7da
mov dword [esi], edi
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, cl
mov dword [esp + 4], eax
neg eax
mov dword [esp + 8], eax
mov dword [esp + 0x20], ebx
mov edi, ebx
xor ecx, ecx
jmp 0x48d844
Function at 0x48f0e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x20
mov ebp, dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp]
cmp edx, ebx
jbe 0x48f149
mov edi, edx
mov esi, esi
lea edi, [edi]
movzx eax, byte [ebx]
lea ecx, [eax - 0xc]
cmp cl, 1
seta cl
mov esi, ecx
lea ecx, [eax - 9]
mov edx, esi
cmp cl, 1
seta cl
test dl, cl
je 0x48f142
test al, 0xdf
je 0x48f142
cmp al, 0x25
jne 0x48f156
cmp edi, ebx
ja 0x48f13b
jmp 0x48f142
movzx eax, byte [ebx]
cmp al, 0xa
je 0x48f142
cmp al, 0xd
je 0x48f142
add ebx, 1
cmp ebx, edi
jne 0x48f130
add ebx, 1
cmp edi, ebx
ja 0x48f100
mov dword [ebp], ebx
add esp, 0x20
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edi, ebx
mov edx, edi
mov dword [ebp], ebx
mov dword [esp + 0x1c], ebx
jbe 0x48f14c
movzx eax, byte [ebx]
lea ecx, [eax - 0x2b]
mov byte [esp], al
and ecx, 0xfd
jne 0x48f258
lea esi, [ebx + 1]
cmp al, 0x2d
sete cl
cmp edi, esi
je 0x48f14c
jbe 0x48f2d6
movzx eax, byte [ebx + 1]
mov byte [esp], al
movzx eax, cl
mov dword [esp + 8], eax
neg eax
mov dword [esp + 0xc], eax
movzx eax, byte [esp]
cmp al, 0x20
je 0x48f2e3
test al, al
jle 0x48f2e3
lea ecx, [eax - 9]
cmp cl, 1
setbe cl
mov edi, ecx
lea ecx, [eax - 0xc]
mov eax, edi
cmp cl, 1
setbe cl
or al, cl
jne 0x48f2e3
movzx eax, byte [esp]
mov dword [esp + 0x34], ebp
xor ecx, ecx
mov byte [esp + 7], 0
mov edi, edx
mov dword [esp], ebx
xor ebp, ebp
jmp 0x48f228
jne 0x48f250
cmp al, 7
jle 0x48f250
mov ebp, 1
mov ecx, 0xccccccc
add esi, 1
cmp edi, esi
jbe 0x48f26f
movzx eax, byte [esi]
cmp al, 0x20
je 0x48f26f
lea edx, [eax - 0xc]
lea ebx, [eax - 9]
cmp dl, 1
setbe dl
cmp bl, 1
setbe bl
or dl, bl
jne 0x48f26f
test al, al
jle 0x48f26f
movsx eax, byte [eax + 0x4fa400]
test al, al
js 0x48f26f
cmp al, 9
jg 0x48f26f
cmp ecx, 0xccccccc
jle 0x48f1f0
mov ebp, 1
jmp 0x48f200
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
jmp 0x48f200
mov esi, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
jmp 0x48f19e
mov eax, ebp
mov ebx, dword [esp]
mov ebp, dword [esp + 0x34]
mov byte [esp + 7], al
cmp byte [esp + 7], 0
mov eax, 0x7fffffff
mov edx, edi
mov dword [esp + 0x1c], esi
mov edi, esi
cmovne ecx, eax
xor ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
add eax, ecx
cmp ebx, esi
je 0x48f14c
cmp edx, esi
jbe 0x48f2ac
cmp byte [esi], 0x23
je 0x48f2b7
mov dword [ebp], edi
add esp, 0x20
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, eax
lea eax, [esp + 0x1c]
add esi, 1
mov dword [esp + 0x1c], esi
call sym._PS_Conv_Strtol
mov edi, dword [esp + 0x1c]
cmp esi, edi
jne 0x48f2ac
jmp 0x48f14c
movzx eax, cl
mov dword [esp + 8], eax
neg eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], esi
mov edi, esi
xor ecx, ecx
jmp 0x48f291
Function at 0x496570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
mov ebp, dword [esp + 0xcc]
test ecx, ecx
jle 0x496721
cmp eax, 1
mov edx, 1
cmova eax, edx
mov edx, dword [esp + 0xc0]
xor ebx, ebx
lea eax, [eax + eax*8]
lea eax, [edx + eax*4 + 0x10]
mov dword [esp + 0x1c], eax
lea esi, [esi]
lea edi, [edi]
cmp dword [esp + 0xc8], 0x10
mov eax, 0x10
cmovle eax, dword [esp + 0xc8]
xor edi, edi
lea esi, [eax + eax]
mov dword [esp + 0x14], eax
nop
add ebx, dword [ebp + edi*4]
mov dword [esp], ebx
call sym._FT_RoundFix
sar eax, 0x10
mov dword [esp + edi*4 + 0x20], eax
add edi, 1
cmp edi, esi
jne 0x4965e0
mov eax, dword [esp + 0x20]
sub dword [esp + 0x24], eax
cmp esi, 2
je 0x4966f9
mov eax, dword [esp + 0x28]
sub dword [esp + 0x2c], eax
cmp esi, 4
jle 0x4966f9
mov eax, dword [esp + 0x30]
sub dword [esp + 0x34], eax
cmp esi, 6
jle 0x4966f9
mov eax, dword [esp + 0x38]
sub dword [esp + 0x3c], eax
cmp esi, 8
jle 0x4966f9
mov eax, dword [esp + 0x40]
sub dword [esp + 0x44], eax
cmp esi, 0xa
jle 0x4966f9
mov eax, dword [esp + 0x48]
sub dword [esp + 0x4c], eax
cmp esi, 0xc
jle 0x4966f9
mov eax, dword [esp + 0x50]
sub dword [esp + 0x54], eax
cmp esi, 0xe
jle 0x4966f9
mov eax, dword [esp + 0x58]
sub dword [esp + 0x5c], eax
cmp esi, 0x10
jle 0x4966f9
mov eax, dword [esp + 0x60]
sub dword [esp + 0x64], eax
cmp esi, 0x12
jle 0x4966f9
mov eax, dword [esp + 0x68]
sub dword [esp + 0x6c], eax
cmp esi, 0x14
jle 0x4966f9
mov eax, dword [esp + 0x70]
sub dword [esp + 0x74], eax
cmp esi, 0x16
jle 0x4966f9
mov eax, dword [esp + 0x78]
sub dword [esp + 0x7c], eax
cmp esi, 0x18
jle 0x4966f9
mov eax, dword [esp + 0x80]
sub dword [esp + 0x84], eax
cmp esi, 0x1a
jle 0x4966f9
mov eax, dword [esp + 0x88]
sub dword [esp + 0x8c], eax
cmp esi, 0x1c
jle 0x4966f9
mov eax, dword [esp + 0x90]
sub dword [esp + 0x94], eax
cmp esi, 0x1e
jle 0x4966f9
mov eax, dword [esp + 0x98]
sub dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc0]
mov edx, dword [eax + 4]
test edx, edx
je 0x49672c
mov eax, dword [esp + 0x14]
sub dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
test eax, eax
jg 0x4965c0
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
sub eax, 1
cmp eax, 1
ja 0x496707
mov dword [esp + 0x18], ebx
mov dword [esp + 0xcc], ebp
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc0]
lea esi, [esi]
mov eax, dword [ebp]
mov ecx, dword [esi + 4]
mov dword [esp], eax
mov edx, dword [esi]
mov eax, ebx
call sym._ps_dimension_add_t1stem.constprop.29
test eax, eax
jne 0x49678e
add esi, 8
sub edi, 1
jne 0x496760
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xcc]
jmp 0x496707
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xcc]
mov dword [edx + 4], eax
jmp 0x496707
Function at 0x499810
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
movzx ebp, byte [ebx + 6]
movzx esi, byte [ebx + 8]
movzx edi, byte [ebx + 9]
lea edx, [eax + 1]
movzx eax, byte [ebx + 7]
cmp edx, 0xffff
ja 0x49989c
shl ebp, 8
mov ecx, edi
shl esi, 8
or eax, ebp
movzx edi, cl
movzx eax, ax
or edi, esi
cmp eax, edx
movzx esi, di
cmovae edx, eax
mov edi, edx
sub edi, eax
cmp esi, edi
lea ebp, [ebx + edi*2 + 0xa]
jbe 0x49989c
movzx eax, byte [ebp]
lea ebx, [ebp + 2]
movzx ebp, byte [ebp + 1]
shl eax, 8
or ax, bp
jne 0x4998b0
add esi, edx
add edx, 1
sub esi, edi
jmp 0x499898
add ebx, 2
movzx eax, byte [ebx - 2]
movzx ebp, byte [ebx - 1]
lea edi, [edx + 1]
shl eax, 8
or ax, bp
jne 0x4998b0
mov edx, edi
cmp edx, esi
jne 0x499880
mov ecx, dword [esp + 0x18]
xor edx, edx
xor eax, eax
mov dword [ecx], edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x18]
movzx eax, ax
mov dword [ecx], edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4a06d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp eax, 0xffff
mov ecx, dword [edx + 0x10]
ja 0x4a0790
movzx ebx, al
shr eax, 8
lea edx, [ecx + 6]
add ecx, 0x206
test eax, eax
je 0x4a07a0
lea eax, [edx + eax*2]
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
shl edx, 8
or edx, eax
and edx, 0xfff8
add edx, ecx
cmp ecx, edx
je 0x4a0790
test edx, edx
je 0x4a0790
movzx ecx, byte [edx + 6]
movzx eax, byte [edx + 7]
movzx ebp, byte [edx + 1]
movzx edi, byte [edx + 4]
movzx esi, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
movzx ecx, cx
shl eax, 8
or eax, ebp
movzx ebp, byte [edx + 3]
movzx eax, ax
sub ebx, eax
movzx eax, byte [edx + 2]
shl eax, 8
or eax, ebp
movzx eax, ax
cmp ebx, eax
jae 0x4a0790
test ecx, ecx
je 0x4a0790
lea eax, [ecx + ebx*2]
lea eax, [edx + eax + 6]
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
xor eax, eax
shl edx, 8
or dx, cx
je 0x4a0792
mov eax, esi
shl edi, 8
movzx esi, al
or edi, esi
add edx, edi
pop ebx
movzx eax, dx
pop esi
pop edi
pop ebp
ret
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [edx + ebx*2]
movzx eax, byte [edx]
movzx edx, byte [edx + 1]
shl eax, 8
or dx, ax
jne 0x4a0790
mov edx, ecx
jmp 0x4a071c
Function at 0x4cc4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
call sym._abort

Function at 0x4cd084
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x4cd0a3
mov eax, 0
jmp 0x4cd0e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x4cd0c6
mov eax, 0
jmp 0x4cd0e7
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x4cd0e2
mov eax, 0
jmp 0x4cd0e7
mov eax, 1
leave
ret

Function at 0x4cd0e9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x4cd148
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x4cd140
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4cd140
mov eax, dword [ebp - 4]
jmp 0x4cd15c
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x4cd11d
mov eax, 0
leave
ret
Function at 0x40160a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x4131c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40171c
push 0x413354
push esi
call fcn.0040443f
pop ecx
pop ecx
test eax, eax
jne 0x401651
mov esi, 0x41300c
jmp 0x40169b
push 0x41335c
push esi
call fcn.0040443f
pop ecx
pop ecx
test eax, eax
jne 0x401669
mov esi, 0x413094
jmp 0x40169b
push 0x41336c
push esi
call fcn.0040443f
pop ecx
pop ecx
test eax, eax
jne 0x401681
mov esi, 0x41311c
jmp 0x40169b
push 0x413384
push esi
call fcn.0040443f
pop ecx
pop ecx
test eax, eax
jne 0x40171c
mov esi, 0x413294
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.ole32.dll_StringFromIID]
push dword [ebp - 8]
lea eax, [ebp - 0xd0]
push eax
call fcn.004044fb
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0xd0]
push 0x4103f0
push eax
call fcn.004044ca
push dword [ebp + 0x40]
lea eax, [ebp - 0xd0]
push eax
call fcn.004044ca
lea eax, [ebp - 0xd0]
push eax
call fcn.004041ba
add esp, 0x14
add eax, eax
push eax
lea eax, [ebp - 0xd0]
push eax
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40171c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x40171e
xor eax, eax
pop esi
leave
ret
Function at 0x4029dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x402a01
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
mov eax, esi
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
xor byte [ecx], al
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x4029e7
pop esi
pop ebp
ret

Function at 0x402a42
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push dword [ebp + 8]
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402a62
xor eax, eax
jmp 0x402ab9
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x22c], 0x22c
xor edi, edi
test edi, edi
jne 0x402a88
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402aae
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x402aae
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x224], eax
je 0x402aa8
inc edi
jmp 0x402a72
mov ebx, dword [ebp - 0x214]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret
Function at 0x407bbc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x412ad8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405edc
and dword [ebp - 0x14], 0
cmp dword [0x413e80], 0
mov dword [ebp - 0x18], eax
jne 0x407c6f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407d17
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40f180
push ebx
call edi
test eax, eax
je 0x407d17
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x413e80], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x413e84], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x413e88], eax
call edi
push eax
call esi
mov dword [0x413e90], eax
test eax, eax
je 0x407c6f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x413e8c], eax
mov eax, dword [0x413e8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407cc8
cmp dword [0x413e90], ecx
je 0x407cc8
push eax
call esi
push dword [0x413e90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407cc8
test ebx, ebx
je 0x407cc8
call edi
test eax, eax
je 0x407cbf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407cbf
test byte [ebp - 8], 1
jne 0x407cc8
or dword [ebp + 0x10], 0x200000
jmp 0x407cfb
mov eax, dword [0x413e84]
cmp eax, dword [ebp - 0x18]
je 0x407cfb
push eax
call esi
test eax, eax
je 0x407cfb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407cfb
mov eax, dword [0x413e88]
cmp eax, dword [ebp - 0x18]
je 0x407cfb
push eax
call esi
test eax, eax
je 0x407cfb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x413e80]
call esi
test eax, eax
je 0x407d17
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407d19
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407f0c
leave
ret

Function at 0x407f0c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412ad8]
jne 0x407f16
repz ret
jmp fcn.00408b10
Function at 0x406043
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406067
xor eax, eax
test eax, eax
je 0x406079
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406079
xor ecx, ecx
jmp 0x40607c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219