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

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ebx, edx
mov edx, esi
mov dword [esp + 0xc], ebx
shr edx, 2
xor ebp, ebp
mov dword [esp + 0x10], edx
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
test edx, edx
je 0x646fd2
cmp edx, 0x10
jb 0x646faa
lea eax, [ebx - 4]
lea eax, [eax + edx*4]
lea ecx, [edi - 4]
lea ecx, [ecx + edx*4]
cmp edi, eax
ja 0x646f37
cmp ecx, ebx
jae 0x646faa
mov eax, edx
lea ecx, [ebx + 0x30]
and eax, 0xfffffff0
mov esi, ebx
sub esi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
lea eax, [edi + 0x10]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [eax - 0x10]
add ebp, 0x10
lea eax, [eax + 0x40]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ebp, dword [esp + 0x20]
jb 0x646f56
mov edx, dword [esp + 0x14]
cmp ebp, edx
jae 0x646fd2
mov esi, ebx
lea ecx, [edi + ebp*4]
sub esi, edi
sub edx, ebp
mov ebp, dword [esp + 0x14]
nop dword [eax + eax]
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edx, 1
jne 0x646fc0
mov esi, dword [esp + 0x28]
shl ebp, 2
sub esi, ebp
mov dword [esp + 0x28], esi
je 0x647092
add edi, ebp
add ebx, ebp
xor ecx, ecx
test esi, esi
je 0x647092
cmp esi, 0x40
jb 0x647073
lea eax, [ebx - 1]
lea edx, [edi - 1]
add eax, esi
add edx, esi
cmp edi, eax
ja 0x647006
cmp edx, ebx
jae 0x647073
mov ebp, esi
lea eax, [edi + 0x10]
mov esi, dword [esp + 0x10]
and ebp, 0xffffffc0
add ebx, 0x30
sub esi, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea ebx, [ebx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ebx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, ebp
jb 0x647025
mov edx, dword [esp + 0x10]
cmp ecx, esi
jae 0x647092
sub edx, dword [esp + 0x18]
lea eax, [ecx + edi]
sub esi, ecx
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x647084
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x6470a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, edx
mov eax, esi
mov dword [esp + 0x10], ebp
shr eax, 2
xor ebx, ebx
xor edx, edx
mov dword [esp + 0xc], eax
push edi
mov edi, ecx
test eax, eax
je 0x64715e
cmp eax, 8
jb 0x64712f
mov ecx, eax
mov ebx, edi
and ecx, 0xfffffff8
lea eax, [ebp + 0x10]
xorps xmm3, xmm3
xorps xmm2, xmm2
sub ebx, ebp
nop
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + edx*4]
add edx, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [ebx + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edx, ecx
jb 0x6470e0
mov eax, dword [esp + 0x10]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
cmp edx, eax
jae 0x64715e
lea ecx, [edx*4]
mov esi, edi
add ecx, ebp
sub esi, ebp
mov ebp, eax
sub ebp, edx
mov edx, eax
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
sub ebp, 1
jne 0x647146
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
shl edx, 2
sub esi, edx
mov dword [esp + 0x1c], esi
jne 0x647176
pop edi
pop esi
test ebx, ebx
pop ebp
sete al
pop ebx
add esp, 8
ret
add edi, edx
add ebp, edx
mov edx, ebx
mov eax, ebx
shr edx, 0x18
shr eax, 0x10
or dl, al
mov eax, ebx
shr eax, 8
or dl, al
or dl, bl
xor ebx, ebx
mov dword [esp + 0x14], edx
test esi, esi
je 0x647250
cmp esi, 0x20
jb 0x64722d
mov ecx, esi
lea eax, [ebp + 0x10]
mov edx, edi
and ecx, 0xffffffe0
sub edx, ebp
xorps xmm3, xmm3
mov dword [esp + 0x10], edx
xorps xmm2, xmm2
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + edi]
add ebx, 0x20
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + esi - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp ebx, ecx
jb 0x6471c4
por xmm2, xmm3
mov esi, dword [esp + 0x1c]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
cmp ebx, esi
jae 0x647250
sub edi, ebp
lea ecx, [ebx + ebp]
sub esi, ebx
nop dword [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or dl, al
sub esi, 1
jne 0x647240
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x648cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6df599
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7e500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.0063e9f0
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.00642660
mov ecx, 8
call fcn.006472d0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
push 1
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov esi, dword [ebx]
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
push edi
mov esi, dword [esi + 0x30]
mov ecx, esi
call dword [0x707770]
mov ecx, ebx
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6880f8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00687da9

Function at 0x688103
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00687f33

Function at 0x69623b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
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
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x6d9a03
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x5a059e45
aad 0xea
cmc
lcall 0xa81, 0x798538e5
jecxz 0x6d9a46
in eax, 0x38
test dword [ecx - 0x7f], edi
or ah, bl
pop ecx
lds edi, [esi - 0xb]
jle 0x6d99e5
out dx, al
xor dl, bh
je 0x6d99ee
enter 0xfffffffffffff944, 0x76
mov word [0x95791c4c], es
sub esi, ecx
stosd dword es:[edi], eax
inc edx
adc dh, dl
fld dword [edx - 0x7bc57bc7]
mov ah, byte [ecx + 0x349ab34b]
stc
sahf
inc ecx
cdq
jbe 0x6d99dc
salc
sub eax, 0xed14f992
sbb dword [esi], ebp
mov byte [0xf626e65a], al
sub al, 0x2f
xchg edx, eax
push ebp
dec ebx
js 0x6d9aac
jg 0x6d9a73
inc ebp
mov dh, 0x78
in al, 0xce
outsd dx, dword [esi]
or dword es:[esi + eax*8 - 0x30f42940], ebx
cmp esi, dword [edx + 0x760e0a92]
aaa
jmp 0x6d9a2c
mov word [ecx], ds
fcom dword [ebx - 0x41]
sbb byte [ebx + 0x6b03b677], bl
imul esp, dword [esi - 0x2e76251f], 0x7b
xchg esi, eax
inc ecx
push ecx
dec edi
adc esi, dword [esi + 9]
pop esi
mov bh, 0xca
shl dword [esi + ebp*8], 0x48
mov byte [esi + 0x60e2e2f2], al
loop 0x6d9acc
cli
mov edx, 0xae72daba
xchg byte [ebp + 0x22cf47b6], ch
mov dl, 0xb4
retf
lodsd eax, dword [esi]
mov dh, 0x47
iretd
pop ebp
sbb al, 0x9e
push esi
dec ebp
dec dx
outsb dx, byte [esi]
insb byte es:[edi], dx
mov word [ebx + 0x77], ss
xor al, 0xee
sub al, 0x93
xor esp, dword [edx + eax - 0x19814096]
jbe 0x6d9a6a
mov dl, byte [ebx]
mov word [ebx + 0xf], ss
retf
mov edi, 0xfb78b5cd
mov ch, 0xe8
test eax, 0x81a4c564
call 0x7659cb0
jae 0x6d9ab9
shr byte [edi], cl
jbe 0x6d9ac6
push ss
adc al, 0xb
pandn mm6, qword [edx]
std
stosd dword es:[edi], eax
push ecx
lcall 0x4394, 0x5b7bc677
xchg ebx, eax
xchg esp, eax
mov edi, 0x6359854
fcmovu st(0), st(0)
invalid
Function at 0x7c7e8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d13b8
cmp edx, dword [eax]
je 0x7c7eaf
add eax, 8
inc ecx
cmp eax, 0x7d1448
jl 0x7c7ea0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d13b8]
jne 0x7c7fdd
mov eax, dword [0xbd0d14]
cmp eax, 1
je 0x7c7fb7
test eax, eax
jne 0x7c7ee0
cmp dword [0x7d12e4], 1
je 0x7c7fb7
cmp edx, 0xfc
je 0x7c7fdd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c7f17
lea eax, [ebp - 0x1a4]
push 0x7cda68
push eax
call fcn.007c8870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c8d00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c7f5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c8d00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cda64
push edi
call fcn.007cabd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cda48
push eax
call fcn.007c8870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8880
lea eax, [ebp - 0xa0]
push 0x7cda44
push eax
call fcn.007c8880
push dword [esi + 0x7d13bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8880
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cda1c
push eax
call fcn.007cab44
add esp, 0x2c
pop edi
jmp 0x7c7fdd
lea eax, [ebp + 8]
lea esi, [esi + 0x7d13bc]
push 0
push eax
push dword [esi]
call fcn.007c8d00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40895e
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
call fcn.00408980
add edx, edx
or ecx, ecx
xor dword [esi], eax
or ecx, ecx
sub edx, ecx
inc esi
cmp esi, edi
jne fcn.0040895e
ret
Function at 0x40ea57
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ea96
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ea96
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ea96
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40ea96
cmp dword [ecx + 0x74], 0xe
jbe 0x40ea96
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4111f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41121d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41121d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
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
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401120
Capabilities:
Print debug messages
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x247]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x103
push 0
push eax
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x248], 0
call fcn.00402500
push ebx
lea eax, [ebp - 0x144]
mov dword [ebp - 0x25c], 0x104
push str.Starting_to_look_for_value_matching__s
push eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0x3fff
call fcn.004022db
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x144]
add esp, 0x18
push eax
call ebx
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x258]
push eax
push 0
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x401205
push eax
push str.Failed_to_query_key_info___result___i
jmp 0x4012ae
push dword [ebp - 0x250]
lea eax, [ebp - 0x144]
push str.Found__u_values_to_scan
push eax
call fcn.004022db
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
call ebx
xor esi, esi
cmp dword [ebp - 0x250], esi
jbe 0x4012a3
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x3fff
push eax
push edi
push esi
push dword [ebp - 0x260]
mov byte [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x401281
push eax
push esi
lea eax, [ebp - 0x144]
push str.Failed_to_list_value__u___result___i
push eax
call fcn.004022db
add esp, 0x10
lea eax, [ebp - 0x144]
push eax
call ebx
jmp 0x40129a
push dword [ebp - 0x24c]
push dword [ebp - 0x254]
push edi
call fcn.004010e0
add esp, 0xc
test al, al
jne 0x4012d9
inc esi
cmp esi, dword [ebp - 0x250]
jb 0x401232
push dword [ebp - 0x24c]
push str.Failed_to_find_value_matching__s
lea eax, [ebp - 0x144]
push eax
call fcn.004022db
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
call ebx
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004024bc
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x144]
push str.Found_key_matching__s:__s
push eax
call fcn.004022db
add esp, 0x10
lea eax, [ebp - 0x144]
push eax
call ebx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004024bc
mov esp, ebp
pop ebp
ret
Function at 0x401310
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4148
call fcn.004024d0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x144]
push str.SOFTWAREMicrosoftWindowsCurrentVersionSharedDLLs
push eax
call fcn.004022db
lea ecx, [ebp - 0x144]
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401344
sub ecx, edx
cmp ecx, 0x140
jae 0x4014f1
push ebx
mov bl, byte [ebp + 8]
mov byte [ebp + ecx - 0x144], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, bl
je 0x401376
push str.Opening_SharedDLLs_key__64_bit_version_...
jmp 0x40137b
push str.Opening_SharedDLLs_key__32_bit_version_...
call esi
lea eax, [ebp - 0x4148]
mov ecx, 0x100
push eax
test bl, bl
mov eax, 0x200
cmovne eax, ecx
or eax, 0xf003f
push eax
push 0
lea eax, [ebp - 0x144]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4013c8
push str.Failed_to_open_SharedDLLs_key
call esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004024bc
mov esp, ebp
pop ebp
ret
push str.Opened_SharedDLLs_key
call esi
lea eax, [ebp - 0x4144]
push eax
push str.cPrintf.dll
push dword [ebp - 0x4148]
call fcn.00401120
add esp, 0xc
test al, al
je 0x401402
lea eax, [ebp - 0x4144]
push eax
push dword [ebp - 0x4148]
call fcn.00401500
add esp, 8
lea eax, [ebp - 0x4144]
push eax
push str.CommunicationUnitService.exe
push dword [ebp - 0x4148]
call fcn.00401120
add esp, 0xc
test al, al
je 0x401435
lea eax, [ebp - 0x4144]
push eax
push dword [ebp - 0x4148]
call fcn.00401500
add esp, 8
lea eax, [ebp - 0x4144]
push eax
push str.v3puwa32.dll
push dword [ebp - 0x4148]
call fcn.00401120
add esp, 0xc
test al, al
je 0x401468
lea eax, [ebp - 0x4144]
push eax
push dword [ebp - 0x4148]
call fcn.00401500
add esp, 8
lea eax, [ebp - 0x4144]
push eax
push str.v3p02P32.dll
push dword [ebp - 0x4148]
call fcn.00401120
add esp, 0xc
test al, al
je 0x40149b
lea eax, [ebp - 0x4144]
push eax
push dword [ebp - 0x4148]
call fcn.00401500
add esp, 8
lea eax, [ebp - 0x4144]
push eax
push str.v3p04P32.dll
push dword [ebp - 0x4148]
call fcn.00401120
add esp, 0xc
test al, al
je 0x4014ce
lea eax, [ebp - 0x4144]
push eax
push dword [ebp - 0x4148]
call fcn.00401500
add esp, 8
push dword [ebp - 0x4148]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Closed_SharedDLLs_key
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004024bc
mov esp, ebp
pop ebp
ret
call fcn.00401eef
int3
Function at 0x401500
Capabilities:
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14c]
push esi
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x148]
mov dword [ebp - 0x14c], 4
push eax
push 0
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401576
push eax
push esi
lea eax, [ebp - 0x144]
push str.Failed_to_read__s_value___result___i
push eax
call fcn.004022db
add esp, 0x10
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004024bc
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x148]
lea eax, [ebp - 0x144]
push esi
push str._s_value_was__u
push eax
call fcn.004022db
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x144]
add esp, 0x10
push eax
call edi
push 4
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 1
push eax
push 4
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4015e3
push eax
push esi
lea eax, [ebp - 0x144]
push str.Failed_to_write__s_value___result___i
push eax
call fcn.004022db
add esp, 0x10
lea eax, [ebp - 0x144]
push eax
call edi
push esi
lea eax, [ebp - 0x144]
push str.Wrote_value_1_to__s
push eax
call fcn.004022db
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004024bc
mov esp, ebp
pop ebp
ret
Function at 0x408f94
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004027e8
mov dword [ebp - 0x14], eax
cmp dword [0x417f64], esi
jne 0x409087
push 0x800
push esi
push 0x411d4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x409014
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x409167
push esi
push esi
push 0x411d4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x409167
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409167
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x417f64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x417f68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x417f6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417f74], eax
test eax, eax
je 0x409084
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417f70], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4090ac
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40909f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4090c1
push 4
pop eax
jmp 0x409169
cmp dword [ebp - 0x14], esi
je 0x4090c1
push dword [0x417f64]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4090a6
mov eax, dword [0x417f70]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40911f
cmp dword [0x417f74], edi
je 0x40911f
push eax
call ebx
push dword [0x417f74]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40911f
test eax, eax
je 0x40911f
call ecx
test eax, eax
je 0x409114
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x409114
test byte [ebp - 8], 1
jne 0x40911f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40914f
mov eax, dword [0x417f68]
cmp eax, edi
je 0x40914c
push eax
call ebx
test eax, eax
je 0x40914c
call eax
mov esi, eax
test esi, esi
je 0x40914c
mov eax, dword [0x417f6c]
cmp eax, edi
je 0x40914c
push eax
call ebx
test eax, eax
je 0x40914c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x417f64]
call ebx
test eax, eax
je 0x409167
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x409169
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004024bc
mov esp, ebp
pop ebp
ret