joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039ba0
Capabilities:
Get file version info

Disassembly:
push 0x2cc
mov eax, 0x10091270
call fcn.10061d7a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edi, dword [ebp + 0x10]
push 0x100ae2c8
mov dword [ebp - 0x2c0], eax
call fcn.1000b08e
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2bc]
push esi
push eax
call fcn.10039833
test al, al
je 0x10039da3
cmp dword [ebp - 0x2bc], ebx
je 0x10039da3
push dword [ebp - 0x2bc]
mov esi, 0x104
lea eax, [ebp - 0x218]
push edi
push esi
push eax
call fcn.10039a18
test al, al
je 0x10039d97
cmp word [ebp - 0x218], bx
je 0x10039d97
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x10039d97
push dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1002b98d
test eax, eax
js 0x10039d97
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10039d97
push edi
call fcn.1006af50
mov esi, eax
pop ecx
test esi, esi
je 0x10039d97
push esi
push edi
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10039d90
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0x100af6a4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10039d90
push 0x98
lea eax, [ebp - 0x2b4]
push ebx
push eax
call fcn.10063660
add esp, 0xc
lea ecx, [ebp - 0x2b4]
push 1
call fcn.10021298
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], ebx
movzx eax, word [eax + 0xa]
push eax
call fcn.10021a00
mov edi, 0x100afd18
lea eax, [ebp - 0x2b4]
push edi
push eax
call fcn.10019ce0
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 8]
push eax
call fcn.10021a00
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.10019ce0
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xe]
push eax
call fcn.10021a00
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.10019ce0
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xc]
push eax
call fcn.10021a00
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.10018965
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2d8]
push eax
call fcn.100088b1
lea ecx, [ebp - 0x2d8]
call fcn.10009725
lea ecx, [ebp - 0x2b4]
mov bl, 1
call fcn.10021d11
push esi
call fcn.10066b84
pop ecx
push dword [ebp - 0x2bc]
call fcn.10066b84
pop ecx
mov al, bl
call fcn.10061d29
ret 0x18

Function at 0x1003a3f2
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
pop ebp
ret 4
Function at 0x1003a4c2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.1002e111
cmp dword [eax + 0x14], 8
jb 0x1003a4dc
mov eax, dword [eax]
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.10009725
mov eax, esi
pop esi
leave
ret 8

Function at 0x1003a642
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.1002e111
cmp dword [eax + 0x14], 8
jb 0x1003a65c
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.10009725
mov eax, esi
pop esi
leave
ret 4

Function at 0x1003a832
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.1002e111
cmp dword [eax + 0x14], 8
jb 0x1003a84c
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.10009725
mov eax, esi
pop esi
leave
ret 4

Function at 0x1003aa02
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.WININET.dll_InternetCheckConnectionW]

Function at 0x1003acf2
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.1002e111
cmp dword [eax + 0x14], 8
jb 0x1003ad0c
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.10009725
mov eax, esi
pop esi
leave
ret 4

Function at 0x1003afb2
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.1002e111
cmp dword [eax + 0x14], 8
jb 0x1003afcc
mov eax, dword [eax]
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.10009725
mov eax, esi
pop esi
leave
ret 8

Function at 0x1003b1a2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10070a5e
add esp, 0xc
pop ebp
ret 0xc
Function at 0x1003e5f2
Capabilities:
Delete file

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x100c6700]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
xor edi, edi
cmp dword [esi + 0x14], 8
jb 0x10022aec
mov eax, dword [esi]
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10022b2d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 8
jb 0x10022b0e
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10022b2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1006100c
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x10022ac6

Function at 0x1003e642
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10022e96

Function at 0x1003e692
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100233ae

Function at 0x1003e792
Capabilities:
Get common file path

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100c6700]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
mov dword [ebp - 0x210], 0x104
push esi
push eax
call fcn.10063660
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x1002477f
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.1000b08e
jmp 0x10024793
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1006100c
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x1002471c
Function at 0x1003e812
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x100c6700]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
shl eax, 8
push esi
add eax, 0x20019
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x1002514d
mov ecx, dword [ecx]
lea esi, [ebp - 0x830]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x82c], 0x820
test eax, eax
cmovle esi, eax
and dword [ebp - 0x828], 0
test esi, esi
js 0x100251f5
cmp dword [edi + 0x14], 8
jb 0x1002518a
mov edi, dword [edi]
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x100251e9
cmp dword [ebp - 0x828], 1
je 0x100251d9
cmp dword [ebp - 0x828], 2
je 0x100251d9
mov esi, 0x8007065d
jmp 0x100251e9
lea eax, [ebp - 0x824]
mov ecx, ebx
push eax
xor esi, esi
call fcn.1000b08e
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006100c
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x10025115
Function at 0x1003e832
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x34
mov eax, 0x1008df3d
call fcn.10061d7a
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x100252fd
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
call 0x10025208
mov edi, eax
test edi, edi
js 0x10025418
push 0xf0000040
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
setne cl
test eax, eax
je 0x1002536a
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
setne cl
test cl, cl
je 0x100253f8
push 4
pop ecx
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100253f8
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
add eax, eax
push ebx
push eax
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
setne bl
test eax, eax
je 0x100253f2
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3d]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.10015808
push 0
lea eax, [ebp - 0x18]
push eax
push dword [esi]
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0x14]
test eax, eax
setne bl
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
jne 0x10025418
jmp 0x1002540e
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x10025418
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, 0x80004005
cmp eax, dword [esi + 4]
mov eax, dword [ebp - 0x28]
cmove edi, ecx
cmp eax, 8
jb 0x10025460
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x10025457
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10007792
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.1006101a
pop ecx
pop ecx
mov eax, edi
call fcn.10061d29
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x100252e4

Function at 0x1003e8c2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10025a1e
Function at 0x1003e902
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100c6700]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
push esi
push eax
call fcn.10063660
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1009b438
push str.SoftwareMicrosoftOneDrive
call fcn.100259d5
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10025f0a
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.1000b08e
jmp 0x10025f0f
mov esi, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1006100c
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x10025e86

Function at 0x1003e922
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
pop ebp
jmp 0x100260f1

Function at 0x1003e942
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100261d1

Function at 0x1003e952
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100262ab
Function at 0x1003e9f2
Capabilities:
Decode data using base64 via winapi
Encode data using base64 via winapi

Disassembly:
push 0xa4
mov eax, 0x1008e326
call fcn.10061d7a
xor eax, eax
lea edi, [ebp - 0x88]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 2
call fcn.100392db
mov edi, eax
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x170]
mov ecx, esi
call dword [0x10096750]
mov ecx, edi
call esi
push 0x64
pop ebx
test eax, eax
js 0x10026f7c
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x78]
sub eax, dword [ebp - 0x88]
and dword [ebp - 0x78], 0
push ecx
push 0
push 0x40000001
push eax
push dword [ebp - 0x88]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
push dword [ebp - 0x78]
mov esi, eax
lea edi, [ebp - 0x94]
test esi, esi
lea ecx, [ebp - 0x94]
setne byte [ebp - 0xad]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
call fcn.100206ad
mov byte [ebp - 4], 3
test esi, esi
je 0x10026f04
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x78]
sub eax, dword [ebp - 0x88]
push ecx
push dword [ebp - 0x94]
push 0x40000001
push eax
push dword [ebp - 0x88]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
setne byte [ebp - 0xad]
push ebx
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.10063660
add esp, 0xc
cmp byte [ebp - 0xad], 0
je 0x10026f60
push edi
push edi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], ebx
push eax
lea eax, [ebp - 0x74]
push eax
push 1
push dword [ebp - 0x78]
push dword [ebp - 0x94]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x10026f60
call fcn.100392db
push dword [ebp + 8]
mov edi, eax
push dword [ebp - 0x74]
mov ecx, dword [edi]
mov esi, dword [ecx + 0xa0]
mov ecx, esi
call dword [0x10096750]
mov ecx, edi
call esi
mov ebx, eax
mov edx, dword [ebp - 0x94]
test edx, edx
je 0x10026f7c
mov ecx, dword [ebp - 0x8c]
sub ecx, edx
and ecx, 0xfffffffe
push ecx
push edx
call fcn.100077bb
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x10026fb4
mov eax, dword [ebp - 0x80]
sub eax, ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], eax
cmp eax, 0x1000
jb 0x10026fab
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10007792
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
push eax
push ecx
call fcn.1006101a
pop ecx
pop ecx
mov eax, ebx
call fcn.10061d29
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x10026def
Function at 0x1003eb32
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c6700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 4
xor ebx, ebx
cmp dword [eax + 0x14], 8
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
jb 0x1002837c
mov eax, dword [eax]
push eax
push str.SoftwareMicrosoftOneDriveAccounts
lea eax, [ebp - 0x28]
push eax
call fcn.1002dec6
cmp dword [eax + 0x14], 8
jb 0x10028393
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x10
push str.IsGoSov
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10009725
test esi, esi
pop esi
jne 0x100283c9
cmp dword [ebp - 8], 1
sete bl
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1006100c
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x10028350

Function at 0x1003ece2
Capabilities:
Enumerate gui resources

Disassembly:
push 0x6c
mov eax, 0x1008e8dd
call fcn.10061d7a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x78], eax
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x70]
call fcn.1002cbec
xor ebx, ebx
lea ecx, [ebp - 0x48]
inc ebx
push esi
mov dword [ebp - 4], ebx
call fcn.10009358
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10009358
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x78]
push eax
push 0x1002a4c0
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x1002a789
cmp dword [ebp - 0x18], 0
ja 0x1002a78b
xor bl, bl
lea ecx, [ebp - 0x78]
call 0x10021877
mov al, bl
call fcn.10061d29
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x1002a724

Function at 0x1003ed82
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100c6700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x1c], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x1002b080
mov eax, dword [eax]
push 0
lea edi, [ebp - 8]
push edi
xor edi, edi
push edi
push ecx
push edi
push edi
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x1002b0c9
cmp dword [esi + 0x10], eax
jne 0x1002b0a4
xor esi, esi
jmp 0x1002b0ac
cmp dword [esi + 0x14], 8
jb 0x1002b0ac
mov esi, dword [esi]
push dword [ebp + 0x18]
push ebx
push 3
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006100c
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x1002b047
Function at 0x1003edf2
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100c6700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x1002b244
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x1002b286
cmp dword [esi + 0x10], eax
jne 0x1002b262
xor esi, esi
jmp 0x1002b26a
cmp dword [esi + 0x14], 8
jb 0x1002b26a
mov esi, dword [esi]
push 4
push ebx
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006100c
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x1002b20b

Function at 0x1003ee02
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002b2a4

Function at 0x1003ee22
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100c6700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x1002b4ab
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x1002b503
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x1002b4d2
mov ebx, dword [ebx]
movzx eax, byte [ebp + 0x1c]
inc eax
cmp dword [esi + 0x10], 0
jne 0x1002b4e1
xor esi, esi
jmp 0x1002b4e9
cmp dword [esi + 0x14], 8
jb 0x1002b4e9
mov esi, dword [esi]
push ecx
push ebx
push eax
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006100c
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x1002b472

Function at 0x1003ee32
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
lea edx, [eax*2 + 2]
jb 0x1002b53b
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1002b546
mov eax, dword [eax]
push edx
push ecx
push 2
push eax
push str.Environment
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
movzx ecx, ax
mov edx, 0x80070000
or ecx, edx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovle edx, ecx
shr edx, 0x1f
xor dl, 1
mov al, dl
pop ebp
ret 0xc
push ebp
mov ebp, esp
pop ebp
jmp 0x1002b521