joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418dfc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418c6d

Function at 0x4191f6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407f50
mov eax, dword [0x485940]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415f6b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x419238
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x419394
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00423500
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x487528]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041a1ed
mov ecx, dword [esi*4 + 0x487528]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41938d
cmp eax, dword [edi + ecx + 0x24]
jne 0x41938d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41938d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041a1ed
add esp, 0x14
test edx, edx
jl 0x41938d
jg 0x419303
test eax, eax
jb 0x41938d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41938d
jl 0x41931d
cmp dword [ebp - 0x1008], eax
ja 0x41938d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41933b
test ebx, ebx
je 0x419374
cmp ecx, edi
jae 0x419374
mov al, byte [ecx]
cmp al, 0xd
jne 0x419355
lea eax, [edi - 1]
cmp ecx, eax
jae 0x419361
cmp byte [ecx + 1], 0xa
jne 0x419361
inc ecx
jmp 0x419361
movzx eax, al
movsx eax, byte [eax + 0x485c18]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41933b
cmp edx, ebx
jne 0x41933b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x419392
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004071da
leave
ret
Function at 0x41968b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x487528]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4196cb
cmp byte [ebx], 0xa
jne 0x4196cb
or byte [eax + edi + 0x28], 4
jmp 0x4196d0
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4197ce
mov al, byte [edx]
cmp al, 0x1a
je 0x4197b0
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4196ff
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x419724
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41972e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4196e1
jmp 0x4197ce
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4197ab
cmp dword [ebp - 0xc], 0
je 0x4197ab
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x487528]
test byte [eax + edi + 0x28], 0x48
je 0x419785
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x419770
mov byte [esi], dl
jmp 0x419781
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x487528]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4197ce
cmp byte [ebp - 1], 0xa
jne 0x419794
cmp esi, ebx
jne 0x419794
mov byte [esi], 0xa
jmp 0x4197cd
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041a20b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4197ce
mov byte [esi], 0xd
jmp 0x4197cd
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x487528]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4197ca
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4197ce
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4197d7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x487528]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41981a
cmp word [esi], dx
jne 0x41981a
or byte [edi + eax + 0x28], 4
jmp 0x41981f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x419972
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x419952
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x419861
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x419897
cmp eax, edx
jae 0x4198a3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x419839
jmp 0x419972
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41994e
cmp dword [ebp - 0x14], 0
je 0x41994e
mov eax, dword [ebx*4 + 0x487528]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x419926
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4198ef
mov word [esi], cx
jmp 0x419922
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x487528]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x487528]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x487528]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x419972
pop ebx
cmp word [ebp - 4], bx
jne 0x419937
cmp esi, dword [ebp + 0xc]
jne 0x419937
mov word [esi], bx
jmp 0x41996f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041a20b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x419972
push 0xd
jmp 0x41996b
mov ecx, dword [ebx*4 + 0x487528]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419969
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419972
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b769
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41b806
push ebx
push esi
call fcn.0041b732
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041a3b7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41b7b3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41b805
push edi
push eax
call fcn.00415136
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41b7d3
call fcn.00414f0c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41b804
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041a3b7
add esp, 0x20
test eax, eax
jne 0x41b7f2
push edi
call fcn.00414f0c
jmp 0x41b7fa
push ebx
call fcn.00414f0c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x423300
Capabilities:
Parse pe header

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

Function at 0x424000
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push str.Success_created.
push 0x486c78
mov ebx, ecx
call fcn.00401160
push eax
call fcn.00401e70
push 8
call fcn.00407197
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424062
push 4
call fcn.00407197
add esp, 4
test eax, eax
je 0x424040
mov dword [eax], 0x424bb0
jmp 0x424042
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x401e50
push 0
push 0
call fcn.0040e516
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42409d
jmp 0x424064
xor esi, esi
cmp dword [esi + 4], 0
je 0x4240aa
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x4240b1
push 0
push dword [esi + 4]
push dword [esi]
call fcn.004050d5
add esp, 0xc
test eax, eax
jne 0x4240b8
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004071c7
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push 6
mov dword [edi], 0
call fcn.0040528b
push 1
call fcn.0040528b
push 5
call fcn.0040528b
push 2
call fcn.0040528b
int3
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x43176b56
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2aa30990
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10001060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call fcn.1000106f

Function at 0x515910
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb4000]
push edi
or ebp, 0xffffffff
jmp 0x515932
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x515939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x515928
mov eax, 1
add ebx, ebx
jne 0x51594b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51595c
jne 0x51596c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51596c
dec eax
add ebx, ebx
jne 0x515968
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x515940
xor ecx, ecx
sub eax, 3
jb 0x515984
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5159f6
sar eax, 1
mov ebp, eax
jmp 0x51598f
add ebx, ebx
jne 0x51598f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x51599c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5159c0
inc ecx
add ebx, ebx
jne 0x5159ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5159a1
jne 0x5159bd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5159a1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5159e0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5159d1
jmp 0x51592e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5159e0
add edi, ecx
jmp 0x51592e
pop esi
mov edi, esi
mov ecx, 0x522e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5159fe
cmp byte [edi], 0x22
jne 0x5159fe
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 eax, ebx
loop 0x515a03
lea edi, [esi + 0x112000]
mov eax, dword [edi]
or eax, eax
je 0x515a7b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x117510]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11763c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x515a30
mov ecx, edi
jns 0x515a5f
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 + 0x117640]
or eax, eax
je 0x515a75
mov dword [ebx], eax
add ebx, 4
jmp 0x515a4d
call dword [esi + 0x117644]
popal
jmp 0x48e1ce
Function at 0x401106
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
call fcn.00403601
xor esi, esi
pop ecx
mov edi, eax
cmp dword [ebp + 0x10], esi
jle 0x40113e
push ebx
mov ebx, dword [ebp + 8]
sub ebx, edi
mov eax, esi
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
lea ecx, [esi + edi]
mov al, byte [edx + eax]
xor al, byte [ebx + ecx]
inc esi
mov byte [ecx], al
cmp esi, dword [ebp + 0x10]
jl 0x401123
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x401144
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push 0x31
pop eax
mov word [ebp - 4], ax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x6c], 0x65777e62
mov dword [ebp - 0x68], 0x74637066
mov dword [ebp - 0x64], 0x7462746d
mov dword [ebp - 0x60], 0x62746d65
mov dword [ebp - 0x5c], 0x62116574
mov dword [ebp - 0x58], 0x43445254
mov dword [ebp - 0x54], 0x6d484558
mov dword [ebp - 0x50], 0x43434472
mov dword [ebp - 0x4c], 0x67455f54
mov dword [ebp - 0x48], 0x58424354
mov dword [ebp - 0x44], 0x726d5f5e
mov dword [ebp - 0x40], 0x58575f5e
mov dword [ebp - 0x3c], 0x5d416d56
mov dword [ebp - 0x38], 0x5f585644
mov dword [ebp - 0x34], 0x16d42
mov dword [ebp - 0x30], 0x1010101
mov dword [ebp - 0x2c], 0x426d0701
mov dword [ebp - 0x28], 0x58454554
mov dword [ebp - 0x24], 0x6d42565f
mov dword [ebp - 0x20], 0x5f435a74
mov dword [ebp - 0x1c], 0x575f786d
mov dword [ebp - 0x18], 0x52706d5e
mov dword [ebp - 0x14], 0x5f445e52
mov byte [ebp - 0x10], 0x45
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401203
push esi
push edi
sub eax, ecx
push eax
push 0x5d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00401106
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
push 0x20119
xor edi, edi
push edi
push eax
push 0x80000002
mov byte [eax + 0x5d], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40128a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push str.Type
push dword [ebp - 8]
call esi
test eax, eax
jne 0x401281
push edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push str.Name
push dword [ebp - 8]
call esi
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x40128a
xor eax, eax
inc eax
jmp 0x40128c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x401290
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x40c46a
call fcn.00408544
sub esp, 0x84
push 0x31
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x38], 0x3c
mov dword [ebp - 0x34], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4012bb
push ebx
push esi
sub eax, edx
push eax
push 0x2f
lea eax, [ebp - 0x10]
push eax
push str.bwefpctmtbtemtbte
call fcn.00401106
add esp, 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0x20119
xor ebx, ebx
push ebx
push eax
push 0x80000002
mov byte [eax + 0x2f], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4014ae
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push str.ProductVersion
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x4014ae
push edi
lea eax, [ebp - 0x90]
push eax
lea esi, [ebp - 0x30]
call fcn.0040234c
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.00402388
push eax
mov eax, esi
push eax
lea eax, [ebp - 0x54]
call fcn.004023df
mov ebx, eax
mov eax, esi
mov byte [ebp - 4], 1
call fcn.004024ae
xor ebx, ebx
push 1
xor edi, edi
lea esi, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.004024f3
mov eax, 0x40f1a8
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
je 0x40149a
mov eax, 0x40f1ac
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
je 0x40149a
mov eax, 0x40f1b0
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
je 0x40149a
mov eax, 0x40f1b4
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
je 0x40149a
mov eax, 0x40f1b8
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
je 0x40149a
mov eax, 0x40f1bc
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
jne 0x4013f3
push 9
jmp 0x40149c
mov eax, 0x40f1c0
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
jne 0x40140b
push 0xa
jmp 0x40149c
mov eax, 0x40f1c4
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
jne 0x401420
push 0xb
jmp 0x40149c
mov eax, 0x40f1c8
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
je 0x401496
mov eax, 0x40f1cc
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
je 0x401496
mov eax, 0x40f1d0
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
jne 0x401457
push 0xe
jmp 0x40149c
mov eax, 0x40f1d4
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
jne 0x40146c
push 0xf
jmp 0x40149c
mov eax, 0x40f1d8
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
jne 0x401481
push 0x10
jmp 0x40149c
mov eax, 0x40f1dc
lea edx, [ebp - 0x30]
call fcn.0040240a
test eax, eax
jne 0x40149d
push 0x11
jmp 0x40149c
push 0xc
jmp 0x40149c
push 8
pop ebx
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.004024f3
mov eax, ebx
pop edi
jmp 0x4014b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x401602
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
xor ebx, ebx
push 0x63
lea eax, [ebp - 0x73]
push ebx
push eax
mov byte [ebp - 0x74], bl
call fcn.00406f80
add esp, 0xc
push 0x31
pop eax
mov word [ebp - 4], ax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0x64
mov dword [ebp - 0x10], 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401638
sub eax, edx
push eax
push 0x2f
lea eax, [ebp - 4]
push eax
push str.bwefpctmtbtemtbte
call fcn.00401106
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
push 0x20119
push ebx
push eax
push 0x80000002
mov byte [eax + 0x2f], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4016a3
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.WebLicensePublicId
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop esi
jne 0x4016a3
xor eax, eax
inc eax
jmp 0x4016a5
xor eax, eax
pop ebx
leave
ret

Function at 0x401892
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push dword [0x4131e0]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x411ee0]
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4018c4
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [0x411ee4], 8
mov eax, dword [0x411ed0]
jae 0x4018d7
mov eax, 0x411ed0
mov ecx, dword [0x411ee0]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00406170
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]

Function at 0x40190a
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
push dword [0x4131e0]
mov esi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esi + 0x10]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x40193b
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x401946
mov esi, dword [esi]
inc eax
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00406170
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x40221f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x40f364
push 0xe
push 0x4131e8
push 0xe
push str.ARZ35594132284
push esi
push 0x4e4
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call fcn.00401290
call fcn.00401602
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0x4016a8
push esi
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 8], eax
mov ebx, 0x40f1e0
cmp eax, esi
jne 0x402298
push 0x100010
push ebx
push 0x40f3a0
push dword [0x4131e0]
call edi
cmp dword [ebp - 0x10], esi
jne 0x4022af
mov eax, dword [0x4135c0]
sub eax, dword [0x4135bc]
push 0x4135bc
jmp 0x4022bf
mov eax, dword [0x4135b0]
sub eax, dword [0x4135ac]
push 0x4135ac
sar eax, 2
mov dword [0x4131e4], eax
call fcn.00401813
mov eax, dword [0x413550]
sub eax, dword [0x41354c]
pop ecx
sar eax, 2
cmp eax, dword [0x4131e4]
je 0x4022f6
push 0x100010
push ebx
push 0x40f42c
push dword [0x4131e0]
call edi
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0x194
jne 0x402328
push 0x100010
push ebx
push 0x40f4b8
push dword [0x4131e0]
call edi
jmp 0x402347
cmp dword [ebp - 4], esi
je 0x402347
push esi
push 0x401b4c
push dword [0x4131e0]
push 0x67
push dword [0x4130e8]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
pop edi
pop esi
pop ebx
leave
ret