joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51ce90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ea9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2c], 0xff
jb 0x51ced8
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x28]
movups xmm0, xmmword [0x781600]
push eax
push ecx
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x51cf79
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x51cf79
mov ecx, edx
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51cf22
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.0042fe00
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x51cf59
cmp dword [ebp - 0x30], 8
mov ecx, esi
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x44]
call fcn.0042fd70
push dword [ebp - 0x28]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x51cf7e
mov esi, 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x51cfa0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eaa08
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x38
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x34], 0xff
jb 0x51cffc
mov eax, dword [esi]
mov byte [eax], 0
lea eax, [ebp - 0x30]
movups xmm0, xmmword [0x7815e0]
push eax
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x51d0d1
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x51d0d1
mov ecx, edx
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51d056
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0042fe00
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0050ba50
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.0042fd70
push 1
push 0x77fe64
mov ecx, esi
call fcn.00441450
push 5
push 0x780d2c
mov ecx, esi
call fcn.00441450
push 1
push 0x77fe64
mov ecx, esi
call fcn.00441450
push dword [ebp - 0x30]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x51d0d6
mov esi, 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x5201c0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eae28
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x10]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x5202e8
mov eax, dword [edx + 0x10]
test eax, eax
je 0x5202e8
cmp byte [ebp + 8], 0
jne 0x5202dd
cmp dword [ecx + 0x14], 0x10
jb 0x520215
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
jb 0x520223
mov edx, dword [edx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], edx
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x5202e8
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00430160
mov dword [ebp - 4], 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x52028c
mov eax, dword [esi]
mov byte [eax], 0
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x5202a9
cmp dword [ebp - 0x14], 0x10
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00430160
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5202d9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5202cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x520308
push edx
push ecx
call fcn.0067bc93
add esp, 8
xor eax, eax
jmp 0x5202ed
push esi
call fcn.0051fff0
add esp, 4
jmp 0x5202ed
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
call fcn.00691015
int3
Function at 0x5204e0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eae58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x10]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x520608
mov eax, dword [edx + 0x10]
test eax, eax
je 0x520608
cmp byte [ebp + 8], 0
jne 0x5205fd
cmp dword [ecx + 0x14], 0x10
jb 0x520535
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
jb 0x520543
mov edx, dword [edx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], edx
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x520608
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00430160
mov dword [ebp - 4], 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x5205ac
mov eax, dword [esi]
mov byte [eax], 0
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x5205c9
cmp dword [ebp - 0x14], 0x10
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00430160
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5205f9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5205ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x520628
push edx
push ecx
call fcn.0067bc93
add esp, 8
xor eax, eax
jmp 0x52060d
push esi
call fcn.00520310
add esp, 4
jmp 0x52060d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
call fcn.00691015
int3
Function at 0x5207b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eaebb
mov eax, dword fs:[0]
push eax
mov eax, 0x114c
call fcn.0067c520
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x118
xor ebx, ebx
lea eax, [ebp - 0x112c]
push ebx
push eax
call fcn.0068e800
add esp, 0xc
mov dword [ebp - 0x1130], 0x11c
xor eax, eax
mov dword [ebp - 0x1148], ebx
lea ecx, [ebp - 0x1158]
mov dword [ebp - 0x1144], 7
mov word [ebp - 0x1158], ax
push 9
push str.ntdll.dll
call fcn.0042fe00
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x1134], ebx
call fcn.0068e800
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0x800
push ebx
push eax
call fcn.0068e800
add esp, 0xc
lea eax, [ebp - 0x1158]
mov dword [ebp - 0x113c], eax
lea eax, [ebp - 0x1134]
mov dword [ebp - 0x1138], eax
lea eax, [ebp - 0x810]
push 0x400
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x5208a7
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x113c]
call fcn.005206c0
test eax, eax
jne 0x5208cf
push 0x400
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
test eax, eax
je 0x5208cf
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x113c]
call fcn.005206c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1158]
mov esi, dword [ebp - 0x1134]
call fcn.0042fd70
test esi, esi
je 0x520914
push str.RtlGetVersion
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x520909
lea ecx, [ebp - 0x1130]
mov ebx, 1
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
test ebx, ebx
jne 0x520945
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
lea eax, [ebp - 0x1130]
push eax
call esi
test eax, eax
jne 0x520945
lea eax, [ebp - 0x1130]
mov dword [ebp - 0x1130], 0x114
push eax
call esi
test eax, eax
jne 0x520945
mov eax, 1
jmp 0x52096b
mov eax, dword [ebp - 0x112c]
mov dword [edi], eax
mov eax, dword [ebp - 0x1128]
mov dword [edi + 4], eax
movzx eax, byte [ebp - 0x1016]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1124]
mov dword [edi + 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x520e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x800
lea eax, [ebp - 0x804]
mov esi, ecx
push 0
push eax
call fcn.0068e800
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
dec eax
cmp eax, 0x3fe
ja 0x520eef
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x520ec0
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.0042fe00
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0067ba01
mov esp, ebp
pop ebp
ret

Function at 0x5210c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eaf48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
jb 0x521108
mov ecx, dword [ecx]
lea edx, [ebp - 0x28]
call fcn.0050b8a0
test al, al
je 0x52114c
cmp dword [ebp - 0x18], 0
je 0x52114c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52114c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x521151
mov esi, 1
lea ecx, [ebp - 0x28]
call fcn.0042fd70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x5231c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eb29b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x523204
mov eax, dword [esi]
mov byte [eax], 0
lea eax, [ebp - 0x220]
push 0x104
push eax
push str._ProgramW6432_
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
test eax, eax
je 0x523307
xor edi, edi
mov dword [ebp - 0x224], 7
xor eax, eax
mov dword [ebp - 0x23c], edi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x523257
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0042fe00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
mov edx, esi
cmovae ecx, dword [ebp - 0x238]
call fcn.0050b660
push 1
push 0x77fe64
mov ecx, esi
call fcn.00441450
push 0xc
push str.Common_Files
mov ecx, esi
call fcn.00441450
push 1
push 0x77fe64
mov ecx, esi
call fcn.00441450
push 5
push 0x780d2c
mov ecx, esi
call fcn.00441450
push 1
push 0x77fe64
mov ecx, esi
call fcn.00441450
push 0x14
push 0x780d14
mov ecx, esi
call fcn.00441450
lea ecx, [ebp - 0x238]
call fcn.0042fd70
jmp 0x52330c
mov edi, 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret

Function at 0x524070
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 8
push esi
mov esi, edx
jb 0x52408b
mov ecx, dword [ecx]
lea eax, [ebp - 8]
push eax
push 0x2011f
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5240e0
cmp dword [esi + 0x14], 8
jb 0x5240ae
mov esi, dword [esi]
push 0
push 0x100
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
push dword [ebp - 8]
neg eax
sbb esi, esi
and esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x524100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eb4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x20], ecx
cmp dword [esi + 0x14], 8
mov edi, 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
jb 0x524148
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5241dd
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0067beb9
add esp, 4
mov ebx, eax
cmp dword [esi + 0x14], 8
jb 0x524189
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push ebx
push 0
push 0
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5241c2
mov edx, ebx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x5241a7
mov ecx, dword [ebp - 0x1c]
sub edx, esi
sar edx, 1
push edx
push ebx
call fcn.0042fe00
xor edi, edi
push ebx
call fcn.0067bcc4
add esp, 4
jmp 0x5241dd
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x524200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eb530
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edx
mov eax, ecx
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x20]
mov esi, 2
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push ebx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x524393
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
inc eax
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0067beb9
add esp, 4
mov edi, eax
push dword [ebp - 0x20]
call fcn.0067beb9
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x28]
push edi
push ebx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x52436b
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], 7
mov word [edi + eax*2], cx
mov ecx, edi
xor eax, eax
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5242e0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x58]
call fcn.0042fe00
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x524316
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
push esi
call fcn.0042fe00
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.0050a1a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0042fd70
lea ecx, [ebp - 0x58]
call fcn.0042fd70
push edi
call fcn.0067bcc4
push esi
call fcn.0067bcc4
mov eax, dword [ebp - 0x28]
add esp, 8
inc ebx
jmp 0x524248
push edi
call fcn.0067bcc4
push esi
call fcn.0067bcc4
add esp, 8
mov eax, 1
jmp 0x524395
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x5243c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eb568
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [edx]
mov ebx, dword [edx + 4]
nop dword [eax + eax]
cmp esi, ebx
je 0x52448f
push esi
lea ecx, [ebp - 0x44]
call fcn.0042fc50
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042fc50
mov byte [ebp - 4], 0
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
add eax, eax
push eax
mov eax, dword [ebp - 0x48]
push edx
push 1
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x52446d
mov edi, 1
call fcn.0042fd70
lea ecx, [ebp - 0x44]
call fcn.0042fd70
jmp 0x52448f
call fcn.0042fd70
lea ecx, [ebp - 0x44]
call fcn.0042fd70
add esi, 0x30
jmp 0x524400
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x53d0f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ed95b
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x82d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x38]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x3c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp - 0x3c], ecx
mov ecx, edx
push eax
mov dword [ebp - 0x44], edx
call fcn.00440c40
mov dword [ebp - 4], 0
push esi
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x18]
call fcn.00440c40
push edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00440c40
push ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.00440c40
push dword [ebp - 0x14]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 3
call fcn.00440c40
push dword [ebp - 0x18]
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 4
call fcn.00440c40
push dword [ebp - 0x1c]
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 5
call fcn.00440c40
push dword [ebp - 0x20]
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 6
call fcn.00440c40
push dword [ebp - 0x24]
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 7
call fcn.00440c40
push dword [ebp - 0x28]
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 8
call fcn.00440c40
push dword [ebp - 0x2c]
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 9
call fcn.00440c40
push dword [ebp - 0x30]
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0xa
call fcn.00440c40
push dword [ebp - 0x34]
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0xb
call fcn.00440c40
push dword [ebp - 0x38]
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 0xc
call fcn.00440c40
push dword [ebp - 0x3c]
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0xd
call fcn.00440c40
mov al, byte [ebp + 0x44]
mov byte [ebp - 4], 0xe
mov byte [esi + 0x168], al
mov al, byte [ebp + 0x48]
mov byte [esi + 0x169], al
mov al, byte [ebp + 0x4c]
mov byte [esi + 0x16a], al
lea eax, [esi + 0x16c]
push eax
call fcn.005f8600
mov ecx, eax
call fcn.005f9510
add esi, 0x170
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x40], esi
call fcn.005f8600
push 8
call fcn.0067ba12
add esp, 4
mov dword [eax], vtable.adobe::ngl::internal::COPWebAPIConnector.0
mov dword [eax + 4], str.COPWebAPIConnector
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x48