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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x5e5945
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
call fcn.00407150
mov eax, dword [ebp - 8]
call fcn.00407150
xor eax, eax
push ebp
push 0x5e616b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x5e585c]
call fcn.00404fac
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x5e5996
sub edx, 0xfffffff8
call fcn.0040a298
pushal
pushf
inc dword [0x630ff0]
cmp dword [0x630ff0], 1
jg 0x5e59cf
jmp dword [eax + 0x66]
invalid
lea eax, [0x5e59c0]
lea edx, [0x5e60e1]
call fcn.004eea0c
jmp 0x5e59cf
pop esi
add byte [ebp + 0x5e60e115], cl
add al, ch
dec esi
nop
invalid
js 0x5e59b1
pop edx
sub eax, 0x9e766eaf
pop ebx
inc eax
jge 0x5e5a3a
loope 0x5e5a2c
pop edi
xchg edi, eax
pop edi
mov al, 0x5b
mov eax, dword [0x3f5d9eb0]
push ds
jge 0x5e599a
dec ebx
adc ebx, 0x1e3b7229
stc
sti
adc eax, edi
mov ebx, 0xac3b7d18
jl 0x5e5996
or al, byte [esi - 0x636ae187]
jmp 0x5e59a0
push ds
sbb esp, eax
sub al, 0x19
mov dl, 0x3c
invalid
shr dword [ebx + 0x2de1d96a], cl
lcall 0xd32d, 0x1e58215e
mov ebx, dword [esi]
shl ecx, cl
imul bl
xchg ebp, eax
cmp bl, ah
mul dh
retf 0x82f9
Function at 0x66d090
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x66d19c
test eax, eax
je 0x66d19c
push esi
push edi
mov ecx, 0x10
mov esi, 0x686f88
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x66d183
lea edi, [eax + 4]
jmp 0x66d0e7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x66d0fc
mov dword [ebp - 4], 2
jmp 0x66d11d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x66d113
mov dword [ebp - 4], 1
jmp 0x66d11d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x66d193
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x66d156
mov byte [ecx], 0x3d
jmp 0x66d162
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x66d16d
mov byte [ecx], 0x3d
jmp 0x66d173
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x66d0e4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x670ea0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
cmp byte [ebp + 0x10], 0
push ebx
jne 0x670ec4
mov ebx, dword [ebp + 8]
push eax
call fcn.006703c0
test al, al
jne 0x670ec4
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x670ed0
push esi
sub eax, edx
mov esi, eax
push edi
push esi
mov dword [ebp + 0xc], esi
call fcn.00676f04
lea ecx, [ebp + 0xc]
push ecx
mov edi, eax
push edi
push esi
push ebx
call fcn.0066d1b0
add esp, 0x14
test al, al
jne 0x670f0f
push edi
call fcn.006775f4
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
xor eax, eax
push edx
push edi
lea esi, [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x28], 0x67452301
mov dword [ebp - 0x24], 0xefcdab89
mov dword [ebp - 0x20], 0x98badcfe
mov dword [ebp - 0x1c], 0x10325476
mov dword [ebp - 0x18], 0xc3d2e1f0
mov byte [ebp - 0x78], al
call fcn.0066d2c0
cmp byte [ebp - 0x78], 0
jne 0x670f58
call fcn.0066d860
mov eax, dword [ebp - 0x28]
movzx edx, word [ebp - 0x28]
shr eax, 0x10
rol ax, 8
rol dx, 8
movzx ecx, ax
movzx eax, dx
shl eax, 0x10
or ecx, eax
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 0x10
rol cx, 8
rol ax, 8
movzx edx, cx
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
mov cx, word [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x20]
shr edx, 0x10
rol dx, 8
rol cx, 8
movzx eax, dx
movzx edx, cx
shl edx, 0x10
or eax, edx
movzx edx, word [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
rol ax, 8
rol dx, 8
movzx ecx, ax
movzx eax, dx
shl eax, 0x10
or ecx, eax
movzx eax, word [ebp - 0x18]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
rol cx, 8
movzx edx, cx
rol ax, 8
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
push edi
mov dword [ebp - 4], edx
call fcn.006775f4
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x14]
push 0x14
push ecx
mov dword [ebp + 0xc], 0x40
call fcn.0066d090
mov bl, byte [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add esp, 0x14
mov byte [ebp + edx - 0xb8], 0
mov eax, 0x6873b8
test bl, bl
jne 0x67103a
mov eax, 0x6873d0
mov edi, dword [ebp + 8]
push 0
push eax
call fcn.006708d0
push 1
lea eax, [ebp - 0xb8]
push eax
call fcn.006708d0
test bl, bl
je 0x67105c
call fcn.006709b0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x828d83
Capabilities:
Check for software breakpoints
Encode data using base64

Disassembly:
push 0xe86a0003
call fcn.007f67eb
sbb ah, dl
adc eax, 0xd1baad92
xor cl, byte [eax]
mov bh, 0xb3
invalid
jmp 0x828d8d
jmp 0x80ed9b
Function at 0x46d7c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..reloc
lea edi, [esi - 0x54000]
push edi
jmp 0x46d7da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46d7e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d7d0
mov eax, 1
add ebx, ebx
jne 0x46d7f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46d804
jne 0x46d823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d823
dec eax
add ebx, ebx
jne 0x46d810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46d7e8
add ebx, ebx
jne 0x46d81f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46d875
xor ecx, ecx
sub eax, 3
jb 0x46d83b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46d8aa
sar eax, 1
mov ebp, eax
jmp 0x46d846
add ebx, ebx
jne 0x46d846
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d814
inc ecx
add ebx, ebx
jne 0x46d854
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d814
add ebx, ebx
jne 0x46d861
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46d856
jne 0x46d872
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46d856
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46d894
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46d886
jmp 0x46d7d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46d894
add edi, ecx
jmp 0x46d7d6
pop esi
mov edi, esi
mov ecx, 0xc54
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46d8b2
cmp byte [edi], 0x11
jne 0x46d8b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x46d8b7
lea edi, [esi + 0x6a000]
mov eax, dword [edi]
or eax, eax
je 0x46d92f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x95cd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x95d68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46d8e4
mov ecx, edi
jns 0x46d913
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x95d70]
or eax, eax
je 0x46d929
mov dword [ebx], eax
add ebx, 4
jmp 0x46d901
call dword [esi + 0x95d6c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x46d960
cmp al, 0xef
ja 0x46d953
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x46d935
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x46d942
mov ebp, dword [esi + 0x95d74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x46d994
sub esp, 0xffffff80
jmp 0x40997c
Function at 0x40e42e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.0041aac0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40e649
push esi
call fcn.0041a77f
pop ecx
cmp eax, 0x7f6
jae 0x40e649
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0041a7f0
movzx ecx, word [esi]
add esp, 0xc
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1c0
cmp cx, 0x22
jne 0x40e489
lea eax, [esi + 2]
mov dword [ebp - 0x38], eax
jmp 0x40e48c
mov dword [ebp - 0x38], esi
xor eax, eax
cmp cx, bx
je 0x40e4e2
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40e4b4
jmp 0x40e4a4
cmp word [esi + eax*2], 0x22
je 0x40e4ad
inc eax
cmp word [esi + eax*2], bx
jne 0x40e49d
jmp 0x40e4b4
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40e4ce
cmp word [esi + eax*2 + 2], 0x2f
je 0x40e4ce
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40e495
jmp 0x40e4e2
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40e4dc
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x40e4ee
cmp word [eax], bx
jne 0x40e503
cmp byte [ebp + 0xc], bl
jne 0x40e503
cmp word [0x44287a], bx
je 0x40e503
mov dword [ebp - 0x34], 0x44287a
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], 1
call fcn.0040a748
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40e52f
push str..inf
push eax
call fcn.00411e3f
test eax, eax
jne 0x40e52f
mov dword [ebp - 0x3c], str.Install
push dword [ebp - 0x38]
call fcn.00409275
test al, al
je 0x40e558
push 0x800
lea eax, [ebp - 0x1048]
push eax
push dword [ebp - 0x38]
call fcn.0040a9a9
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e648
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
mov edi, 0x3e8
cmp byte [0x441870], bl
jne 0x40e58d
cmp byte [ebp + 0xc], bl
jne 0x40e58d
cmp byte [0x44185d], bl
je 0x40e5ea
cmp dword [ebp + 8], ebx
je 0x40e5a9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e5a9
push ebx
push dword [ebp + 8]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
call fcn.0040d819
cmp byte [0x44185d], bl
je 0x40e5ea
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e5ea
mov eax, dword [ebp - 0xc]
add eax, edi
cmp eax, dword [0x441860]
jbe 0x40e5ea
mov dword [0x441860], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40e609
push 0x42a904
push dword [ebp - 8]
call fcn.00411e3f
test eax, eax
je 0x40e637
cmp byte [0x441870], bl
je 0x40e622
cmp byte [ebp + 0xc], bl
jne 0x40e622
mov dword [0x441864], 0x1b58
jmp 0x40e637
xor eax, eax
cmp byte [ebp + 0xc], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, edi
mov dword [0x441864], eax
cmp byte [ebp - 1], bl
je 0x40e648
cmp byte [ebp + 0xc], bl
je 0x40e648
push 1
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4bcfc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6a000]
push edi
jmp 0x4bcfda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bcfe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bcfd0
mov eax, 1
add ebx, ebx
jne 0x4bcff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bd004
jne 0x4bd023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd023
dec eax
add ebx, ebx
jne 0x4bd010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bcfe8
add ebx, ebx
jne 0x4bd01f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bd075
xor ecx, ecx
sub eax, 3
jb 0x4bd03b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bd0aa
sar eax, 1
mov ebp, eax
jmp 0x4bd046
add ebx, ebx
jne 0x4bd046
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd014
inc ecx
add ebx, ebx
jne 0x4bd054
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd014
add ebx, ebx
jne 0x4bd061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bd056
jne 0x4bd072
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bd056
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bd094
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bd086
jmp 0x4bcfd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bd094
add edi, ecx
jmp 0x4bcfd6
pop esi
mov edi, esi
mov ecx, 0x309a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bd0b2
cmp byte [edi], 0x17
jne 0x4bd0b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bd0b7
lea edi, [esi + 0xb9000]
mov eax, dword [edi]
or eax, eax
je 0x4bd12f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbeb5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbec24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bd0e4
mov ecx, edi
jns 0x4bd113
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbec28]
or eax, eax
je 0x4bd129
mov dword [ebx], eax
add ebx, 4
jmp 0x4bd101
call dword [esi + 0xbec38]
mov ebp, dword [esi + 0xbec2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bd163
sub esp, 0xffffff80
jmp 0x436e49

Function at 0x6d3dca
Capabilities:
Encode data using xor

Disassembly:
push 0x2ef32cff
inc ecx
lea esp, [esp + 4]
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4017f0
Capabilities:
Persist via app paths registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x14
lea eax, [esp]
mov dword [esp + 4], 4
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsCTEaxSpl.exe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40188a
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.FullScreen
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401853
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
add esp, 0x14
ret
mov ecx, dword [esp]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.FullScreen
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0x14
ret
or eax, 0xffffffff
add esp, 0x14
ret
Function at 0x401b00
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x108
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b9e
mov eax, dword [esp + 0x110]
test eax, eax
je 0x401b83
mov ecx, dword [esi + 0x7c]
push str._run
push 0x4040f8
push str.CTEaxSpl.EXE
push ecx
lea edx, [esp + 0x1c]
push str._s_s_s_s
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0x1c]
add esp, 0x18
lea eax, [esp + 0xc]
push 0xff
push eax
push 1
push 0
push str.CTStartup
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x401b93
mov edx, dword [esp + 4]
push str.CTStartup
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
call fcn.00402290
pop esi
add esp, 0x108
ret 4

Function at 0x401bc6
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, ecx
push edi
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 8]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x401c05
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call edi
cmp dword [esp + 0x18], 2
jne 0x401c3a
mov eax, dword [esp + 0xc]
cmp eax, 4
jne 0x401c25
mov dword [esi + 0x70], 1
pop edi
pop esi
add esp, 0x9c
ret
cmp eax, 5
jne 0x401c3a
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
jne 0x401c3a
mov dword [esi + 0x74], eax
pop edi
pop esi
add esp, 0x9c
ret
Function at 0x401580
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cefa6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50d108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x4015c7
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x4015ee
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00402b60
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x513de0]
cmp eax, dword [ecx + 4]
jle 0x40169b
push 0x513de0
call fcn.0048a6df
add esp, 4
cmp dword [0x513de0], 0xffffffff
jne 0x40169b
push 0x4d90e0
mov dword [0x50de10], 0x64
mov dword [0x50de14], 0x64
mov byte [0x50de18], 0
call fcn.0048a596
push 0x513de0
call fcn.0048a6a0
add esp, 8
mov dword [edi + 0x30], 0x50de10
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x401ba0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403ee5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403f26
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403f22
nop word [eax + eax]
cmp esi, edx
jae 0x403f26
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403f10
cmp esi, edx
jb 0x403f2b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x41c170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x41c18a
mov eax, dword [ecx]
push edi
call dword [eax + 0x104]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [esi + 0xe4], 0
je 0x41c1fd
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x41c1fd
test edi, edi
je 0x41c1bd
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov ebx, eax
test ebx, ebx
je 0x41c1fc
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c1fc
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41c1fc
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41c210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x50d108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x41c233
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x41c2e9
cmp dword [esi + 0xe0], 0
je 0x41c2e9
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x41c2c5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41c2c5
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c2e9
mov eax, dword [esi + 0xe0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xe0]
lea eax, [ebp - 0x14]
sub dword [ebp - 0x14], 5
add ecx, 0x38
sub dword [ebp - 0x10], 3
add dword [ebp - 0xc], 5
add dword [ebp - 8], 7
push 1
push eax
call fcn.0041da60
jmp 0x41c2e9
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c2e9
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.0048a7e3
mov esp, ebp
pop ebp
ret 0x10