joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466eb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
mov esi, dword [esp + 0x228]
push edi
lea eax, [esp + 0xc]
push eax
push str.SoftwareAdobeDigital_Editions_
mov dword [esp + 0x18], 0
push SysReAllocString
xor bl, bl
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x466f56
push 0x20a
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x20], 0x20a
mov dword [esp + 0x1c], 1
call fcn.0048e760
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.InstallPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x466f43
mov bl, 1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x18]
test bl, bl
jne 0x466f5b
mov edx, 0x4cdc24
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], cx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466f74
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00401cd6
mov ecx, dword [esp + 0x224]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0048e25d
add esp, 0x21c
ret 4
Function at 0x46c6d0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, ecx
test esi, esi
je 0x46c7c1
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x46c7c1
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + 8]
mov byte [esp + 0xb], 0
cmp edx, dword [esi]
jne 0x46c7c1
push ebx
push edi
mov dword [ebp + 0x18], 1
mov edi, dword [esi + 8]
cmp edi, eax
jbe 0x46c710
mov edi, eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [esp + 0x18], eax
test eax, eax
je 0x46c7a2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x46c7ab
cmp dword [esi + 4], 0
mov dword [esp + 0x14], 0
je 0x46c781
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + 8]
push edx
push 0
push 0x28
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x46c77d
mov esi, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push edi
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x46c776
cmp dword [esp + 0x14], edi
jne 0x46c776
mov byte [esp + 0x13], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov al, byte [esp + 0x13]
xor edx, edx
test al, al
setne dl
pop edi
pop ebx
pop esi
mov dword [ebp + 0x1c], edx
pop ebp
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x10], eax
mov al, byte [esp + 0x13]
xor edx, edx
test al, al
setne dl
pop edi
pop ebx
pop esi
mov dword [ebp + 0x1c], edx
pop ebp
add esp, 0xc
ret
pop esi
xor al, al
pop ebp
add esp, 0xc
ret
Function at 0x46c7d0
Capabilities:
Read clipboard data

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push edi
test ebp, ebp
je 0x46c8ce
mov edi, dword [esp + 0x10]
test edi, edi
je 0x46c8ce
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 8]
mov byte [esp + 0x14], 0
cmp edx, dword [ebp]
jne 0x46c8ce
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, eax
jbe 0x46c80a
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [edi + 0x18], 1
test ebx, ebx
je 0x46c8bb
push 0x50d228
push esi
call fcn.0048eb50
mov edi, eax
add esp, 8
test edi, edi
je 0x46c8c4
push edi
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetEnhMetaFileBits]
cmp dword [ebp + 4], 0
je 0x46c898
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
push eax
push 0
push 0x28
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x46c898
mov ebp, dword [ebp + 4]
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
push ebp
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x46c891
cmp dword [esp + 0x10], esi
jne 0x46c891
mov byte [esp + 0x1c], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0048eb45
mov eax, dword [esp + 0x1c]
add esp, 4
xor edx, edx
cmp byte [esp + 0x1c], dl
pop esi
setne dl
pop ebx
pop edi
pop ebp
mov dword [eax + 0x1c], edx
mov al, byte [esp + 0xc]
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x10], eax
mov al, byte [esp + 0x1c]
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
pop edi
xor al, al
pop ebp
pop ecx
ret
Function at 0x46c8e0
Capabilities:
Read clipboard data

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x48
push edi
xor edi, edi
cmp eax, edi
je 0x46caa6
cmp esi, edi
je 0x46caa6
mov edx, dword [esi + 4]
mov edx, dword [edx + 8]
mov byte [esp + 7], 0
cmp edx, dword [eax]
jne 0x46caa6
push ebx
mov ebx, dword [eax + 8]
push ebp
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jbe 0x46c920
mov dword [esp + 0x10], ecx
mov ebx, ecx
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
mov dword [esi + 0x18], 5
cmp ebp, edi
je 0x46ca92
push 0x50d228
push ebx
call fcn.0048eb50
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x46ca9b
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push 0x18
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x18]
mov cx, word [esp + 0x24]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov dx, word [esp + 0x26]
push edi
mov dword [esp + 0x30], 0x28
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], cx
mov word [esp + 0x3e], dx
mov dword [esp + 0x40], edi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x46ca1d
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x30]
push eax
push ebx
push ecx
push 0
push ebp
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
mov edx, dword [esp + 0x18]
movzx ecx, word [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
movzx edx, word [esp + 0x26]
push edi
push 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebp, dword [esp + 0x58]
cmp dword [ebp + 4], 0
je 0x46ca72
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
push ecx
push 0
push 0x28
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x46ca72
mov eax, dword [ebp + 4]
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x58]
push edx
push ebp
push ebx
push eax
push edi
mov dword [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x46ca6b
cmp dword [esp + 0x58], ebp
jne 0x46ca6b
mov byte [esp + 0xf], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0048eb45
xor eax, eax
add esp, 4
cmp byte [esp + 0xf], al
pop ebp
setne al
pop ebx
pop edi
mov dword [esi + 0x2c], eax
mov al, byte [esp + 3]
add esp, 0x48
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov al, byte [esp + 0xf]
pop ebp
pop ebx
pop edi
add esp, 0x48
ret
xor al, al
pop edi
add esp, 0x48
ret
Function at 0x46cb90
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x84
push ebx
push esi
mov esi, dword [esp + 0x90]
xor ebx, ebx
cmp esi, ebx
jne 0x46cbb2
pop esi
xor al, al
pop ebx
add esp, 0x84
ret 8
cmp byte [ecx + 0x50], bl
je 0x46cba5
push ebp
mov ebp, dword [esp + 0x98]
mov ecx, ebp
call fcn.0046c620
test al, al
jne 0x46cbd6
pop ebp
pop esi
pop ebx
add esp, 0x84
ret 8
push edi
push ebp
xor edi, edi
mov dword [esi + 0x18], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
je 0x46cc87
cmp ebp, 0xe
jne 0x46cc2c
push 0x68
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.0048e760
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push 0x6c
push esi
mov dword [esp + 0x38], 0x6c
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
test eax, eax
je 0x46cc83
mov edi, dword [esp + 0x58]
mov bl, 1
jmp 0x46cc97
cmp ebp, 2
jne 0x46cc7a
lea edx, [esp + 0x10]
xor eax, eax
push edx
push 0x18
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x46cc83
movzx edi, word [esp + 0x22]
imul edi, dword [esp + 0x14]
add edi, 0x1f
shr edi, 5
imul edi, dword [esp + 0x18]
add edi, edi
add edi, edi
mov bl, 1
jmp 0x46cc97
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
mov bl, 1
jmp 0x46cc97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x98]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x98]
mov dword [edx + 0x1c], edi
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
add esp, 0x84
ret 8
Function at 0x46d400
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4c8068
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
lea esi, [edi + 4]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [esp + 0x24]
lea ecx, [edi + 0x38]
push ecx
mov dword [esp + 0x20], ebx
mov dword [edi], vtable.acrobat_broker::SandboxClipboardDispatcher.0
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4ee074
mov ecx, esi
call fcn.00428dd0
push 0x4ee038
mov ecx, esi
call fcn.00428dd0
push 0x4edffc
mov ecx, esi
call fcn.00428dd0
push 0x4edfc0
mov ecx, esi
call fcn.00428dd0
push 0x4edf84
mov ecx, esi
call fcn.00428dd0
push 0x4edf48
mov ecx, esi
call fcn.00428dd0
push 0x4edf0c
mov ecx, esi
call fcn.00428dd0
push 0x4eded0
mov ecx, esi
call fcn.00428dd0
push 0x4ede94
mov ecx, esi
call fcn.00428dd0
push 0x4ede58
mov ecx, esi
call fcn.00428dd0
push 0x4ede1c
mov ecx, esi
call fcn.00428dd0
push 0x4edde0
mov ecx, esi
call fcn.00428dd0
push 0x4edda4
mov ecx, esi
call fcn.00428dd0
push 0x4edd68
mov ecx, esi
call fcn.00428dd0
push 0x4edd2c
mov ecx, esi
call fcn.00428dd0
push 0x4edcf0
mov ecx, esi
call fcn.00428dd0
push 0x4edcb4
mov ecx, esi
call fcn.00428dd0
push 0x4edc78
mov ecx, esi
call fcn.00428dd0
push 0x4edc3c
mov ecx, esi
call fcn.00428dd0
push 0x4edc00
mov ecx, esi
call fcn.00428dd0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call esi
mov dword [edi + 0x1c], eax
push ebx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push edi
push 0x46c5c0
push ebx
push ebx
mov dword [edi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x18], eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x46dfd0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4c8068
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esp + 0x24]
lea ecx, [esi + 0x38]
push ecx
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.acrobat_broker::SandboxMAPIDispatcher.0
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4ee240
mov ecx, edi
call fcn.00428dd0
push 0x4ee204
mov ecx, edi
call fcn.00428dd0
push 0x4ee1c8
mov ecx, edi
call fcn.00428dd0
push 0x4ee18c
mov ecx, edi
call fcn.00428dd0
push 0x4ee150
mov ecx, edi
call fcn.00428dd0
push 0x4ee114
mov ecx, edi
call fcn.00428dd0
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x1c], eax
call edi
push ebx
push ebx
push esi
push 0x46c5c0
push ebx
push ebx
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x46fcb0
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x38
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [esp + 0x40]
push eax
mov ecx, edi
call fcn.00423020
test eax, eax
jne 0x46fe60
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
mov eax, 0x7f01
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x7f02
mov dword [esp + 0x14], 0x7f03
mov dword [esp + 0x18], 0x7f05
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x7f04
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esp + esi*4 + 0xc]
push eax
push 0
call ebx
push eax
mov ecx, edi
call fcn.00423020
test eax, eax
jne 0x46fe5e
inc esi
cmp esi, 7
jb 0x46fd10
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0xc], 0x7f02
mov dword [esp + 0x10], 0x7f8a
mov dword [esp + 0x14], 0x7f00
mov dword [esp + 0x18], 0x7f03
mov dword [esp + 0x1c], 0x7f89
mov dword [esp + 0x20], 0x7f8b
mov dword [esp + 0x24], 0x7f01
mov dword [esp + 0x28], 0x7f88
mov dword [esp + 0x2c], 0x7f86
mov dword [esp + 0x30], 0x7f83
mov dword [esp + 0x34], 0x7f85
mov dword [esp + 0x38], 0x7f82
mov dword [esp + 0x3c], 0x7f84
mov dword [esp + 0x40], 0x7f04
xor esi, esi
mov ecx, dword [esp + esi*4 + 0xc]
push ecx
push 0
call ebx
push eax
mov ecx, edi
call fcn.00423020
test eax, eax
jne 0x46fe5e
inc esi
cmp esi, 0xe
jb 0x46fda7
push str._AcroAppTimer
push str.apptimer.exe
call fcn.00453070
add esp, 8
test eax, eax
je 0x46fde8
push eax
mov ecx, edi
call fcn.00423020
test eax, eax
jne 0x46fe5e
push str.SafeNet_Borderless_Single_Sign_On.....
push str.DKAXSvr.exe
call fcn.00453070
add esp, 8
test eax, eax
je 0x46fe0a
push eax
mov ecx, edi
call fcn.00423020
test eax, eax
jne 0x46fe5e
push 0
call fcn.0044fc30
add esp, 4
test al, al
je 0x46fe5c
push str.PrivateOutputChannelHelperWindow
push str.QTPro.exe
call fcn.00453070
add esp, 8
test eax, eax
je 0x46fe3a
push eax
mov ecx, edi
call fcn.00423020
test eax, eax
jne 0x46fe5e
push str.ZinorKnisaPatuach
push str.QTPro.exe
call fcn.00453070
add esp, 8
test eax, eax
je 0x46fe5c
push eax
mov ecx, edi
call fcn.00423020
test eax, eax
jne 0x46fe5e
xor eax, eax
pop esi
pop ebx
pop edi
add esp, 0x38
ret
Function at 0x46fe70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
mov ecx, dword [0x50bcf8]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov eax, 0x4ee738
mov dword [esp + 0x20], str.SoftwareAdobeAcrobat_Reader10.0Privileged
cmp byte [ecx + 0x31], bl
je 0x46fe9e
mov dword [esp + 0x20], str.SoftwareAdobeAdobe_Acrobat10.0Privileged
mov eax, 0x4ee6c0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, 4
test eax, eax
jne 0x46ff2b
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46ff2b
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x4ee6a0
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
call edi
test eax, eax
jne 0x46ff16
cmp dword [esp + 0x18], ebp
jne 0x46ff16
cmp dword [esp + 0x1c], ebx
mov byte [esp + 0x13], 1
setne byte [esp + 0x12]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x13], bl
jne 0x46ffb1
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push ecx
push SysReAllocString
call esi
test eax, eax
jne 0x46ffb1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46ffb1
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push 0x4ee6a0
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
call edi
test eax, eax
jne 0x46ff98
cmp dword [esp + 0x20], ebp
jne 0x46ff98
cmp dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
push eax
setne bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x14]
mov bl, byte [esp + 0x12]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x18
ret
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x46ffd0
Capabilities:
Query environment variable

Disassembly:
push ebp
push esi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebp, eax
test ebp, ebp
je 0x47004e
mov ecx, ebp
cmp word [ebp], si
je 0x47000a
mov eax, ecx
lea esi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x46fff0
sub eax, esi
sar eax, 1
cmp word [ecx + eax*2 + 2], dx
lea ecx, [ecx + eax*2 + 2]
jne 0x46ffe8
sub ecx, ebp
add ecx, 2
sar ecx, 1
push edi
mov edi, ecx
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
push 0x50d228
neg ecx
or ecx, eax
push ecx
call fcn.0048eb50
mov esi, eax
add esp, 8
test esi, esi
je 0x470048
lea eax, [edi + edi]
push eax
push ebp
push esi
call fcn.0048e7e0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
ret
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4703a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x210], eax
mov ecx, dword [esp + 0x21c]
push esi
mov esi, dword [esp + 0x21c]
push edi
mov edi, dword [esp + 0x228]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push ecx
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x47043c
cmp word [esp + 0xc], 0
je 0x47043c
test edi, edi
je 0x470405
push edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x47043c
cmp byte [esp + 0x22c], 0
je 0x470436
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x47043c
push 0x4e8e18
push 0x105
lea ecx, [esp + 0x14]
push ecx
call fcn.00403c73
test eax, eax
jl 0x47043c
lea edx, [esp + 0xc]
jmp 0x470441
mov edx, 0x4cdc24
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x470460
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00401cd6
mov ecx, dword [esp + 0x218]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0048e25d
add esp, 0x214
ret
Function at 0x4704a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c88fb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov esi, dword [esp + 0x258]
mov edi, dword [esp + 0x25c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0x2c
xor eax, eax
push str.SoftwareAdobeAcrobat_Reader10.0Installer
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b], bl
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], ax
call fcn.00401cd6
mov ecx, dword [0x50bcf8]
mov dword [esp + 0x250], ebx
cmp byte [ecx + 0x31], bl
je 0x470537
push 0x2b
push str.SoftwareAdobeAdobe_Acrobat10.0Installer
lea ecx, [esp + 0x24]
call fcn.00401cd6
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x470546
lea eax, [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4705cd
push 0x20a
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0048e760
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push ebx
push str.Path
push eax
mov dword [esp + 0x2c], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4705b8
cmp word [esp + 0x38], bx
je 0x4705b8
push edi
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4705b8
mov byte [esp + 0x13], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x38]
cmp byte [esp + 0x13], bl
jne 0x4705d2
mov edx, 0x4cdc24
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4705e7
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00401cd6
cmp dword [esp + 0x34], 8
jb 0x470613
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048e006
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0048e25d
add esp, 0x244
ret
Function at 0x470640
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
test byte [0x50d16c], 1
push esi
mov esi, dword [esp + 0x42c]
jne 0x470698
or dword [0x50d16c], 1
xor eax, eax
push 0x4cc040
mov dword [0x50d168], 7
mov dword [0x50d164], ebx
mov word [0x50d154], ax
call fcn.00490ecf
add esp, 4
cmp byte [0x50d14c], bl
jne 0x47074a
lea ecx, [esp + 8]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x50d14c], 1
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47074a
push 0x410
lea edx, [esp + 0x18]
push ebx
push edx
mov dword [esp + 0x18], ebx
call fcn.0048e760
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push str.Debugger
push eax
mov dword [esp + 0x28], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47073f
lea eax, [esp + 0x14]
lea edx, [eax + 2]
jmp 0x470720
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x470720
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x50d150
call fcn.00401cd6
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
push ebx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x50d150
mov ecx, esi
mov word [esi + 4], ax
call fcn.00401c43
mov ecx, dword [esp + 0x424]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0048e25d
add esp, 0x420
ret