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

Disassembly:
push 0xffffffffffffffff
push 0x4c95cb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push esi
push edi
mov eax, dword [0x50b384]
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.00401ce4
mov ecx, dword [0x50dd18]
mov dword [esp + 0x250], ebx
cmp byte [ecx + 0x31], bl
je 0x470d37
push 0x2b
push str.SoftwareAdobeAdobe_Acrobat10.0Installer
lea ecx, [esp + 0x24]
call fcn.00401ce4
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x470d46
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 0x470dcd
push 0x20a
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0048f0d0
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 0x470db8
cmp word [esp + 0x38], bx
je 0x470db8
push edi
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x470db8
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 0x470dd2
mov edx, 0x4cec14
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 0x470de7
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00401ce4
cmp dword [esp + 0x34], 8
jb 0x470e13
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048e976
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.0048ebcd
add esp, 0x244
ret
Function at 0x470e40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
test byte [0x50f17c], 1
push esi
mov esi, dword [esp + 0x42c]
jne 0x470e98
or dword [0x50f17c], 1
xor eax, eax
push 0x4cccf0
mov dword [0x50f178], 7
mov dword [0x50f174], ebx
mov word [0x50f164], ax
call fcn.0049183f
add esp, 4
cmp byte [0x50f15c], bl
jne 0x470f4a
lea ecx, [esp + 8]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x50f15c], 1
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x470f4a
push 0x410
lea edx, [esp + 0x18]
push ebx
push edx
mov dword [esp + 0x18], ebx
call fcn.0048f0d0
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 0x470f3f
lea eax, [esp + 0x14]
lea edx, [eax + 2]
jmp 0x470f20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x470f20
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x50f160
call fcn.00401ce4
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 0x50f160
mov ecx, esi
mov word [esi + 4], ax
call fcn.00401c51
mov ecx, dword [esp + 0x424]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0048ebcd
add esp, 0x420
ret
Function at 0x470f90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, dword [esp + 0x64]
xor ebx, ebx
test byte [0x50f1a0], 1
mov dword [esp + 0x14], ebx
lea edi, [ebx + 7]
jne 0x471000
or dword [0x50f1a0], 1
xor eax, eax
push 0x4ccd30
mov dword [0x50f19c], edi
mov dword [0x50f198], ebx
mov word [0x50f188], ax
call fcn.0049183f
add esp, 4
cmp byte [0x50f180], bl
jne 0x47112b
lea ecx, [esp + 0x34]
push ecx
mov byte [0x50f180], 1
call fcn.00470e40
add esp, 4
mov dword [esp + 0x5c], ebx
mov ebp, 8
cmp dword [esp + 0x48], ebx
je 0x471101
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0042a820
add esp, 8
mov byte [esp + 0x5c], 1
cmp dword [esp + 0x2c], ebx
je 0x4710df
lea ecx, [esp + 0x18]
push ecx
call fcn.0042a690
add esp, 4
test al, al
je 0x4710b4
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x471073
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x47108c
push str..exe
lea ecx, [esp + 0x1c]
call fcn.00402a04
lea edx, [esp + 0x18]
push edx
push 1
sub esp, 0x1c
mov eax, esp
xor ecx, ecx
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], ebx
mov dword [esp + 0x38], esp
mov word [eax + 4], cx
call fcn.0042a980
add esp, 0x24
cmp al, bl
je 0x4710df
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x4710c2
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4710df
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x20]
push edx
mov ecx, 0x50f184
call fcn.00401c51
cmp dword [esp + 0x30], ebp
jb 0x4710f2
mov eax, dword [esp + 0x1c]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x4c], ebp
jb 0x47111c
mov edx, dword [esp + 0x38]
push edx
call fcn.0048e976
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push ebx
mov word [esi + 4], cx
push 0x50f184
mov ecx, esi
call fcn.00401c51
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x4c
ret
Function at 0x471170
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c9608
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebx, ebx
test byte [0x50f1c4], 1
mov dword [esp + 0xc], ebx
jne 0x4711df
or dword [0x50f1c4], 1
xor eax, eax
push 0x4ccd70
mov dword [0x50f1c0], 7
mov dword [0x50f1bc], ebx
mov word [0x50f1ac], ax
call fcn.0049183f
add esp, 4
cmp byte [0x50f1a4], bl
jne 0x47126c
push ebx
push str.WerFault.exe
lea ecx, [esp + 0x18]
push 0x29
push ecx
mov byte [0x50f1a4], 1
call fcn.00470ba0
add esp, 0x10
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x24], ebx
je 0x47123d
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x471220
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47123d
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
push edx
mov ecx, 0x50f1a8
call fcn.00401c51
cmp dword [esp + 0x28], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x471259
mov eax, dword [esp + 0x14]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x50f1a8
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401c51
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x30
ret
Function at 0x4712b0
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c9608
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebx, ebx
test byte [0x50f1e8], 1
mov dword [esp + 0xc], ebx
jne 0x47131f
or dword [0x50f1e8], 1
xor eax, eax
push 0x4ccdb0
mov dword [0x50f1e4], 7
mov dword [0x50f1e0], ebx
mov word [0x50f1d0], ax
call fcn.0049183f
add esp, 4
cmp byte [0x50f1c8], bl
jne 0x4713ac
push ebx
push str.DWwin.exe
lea ecx, [esp + 0x18]
push 0x25
push ecx
call fcn.00470ba0
add esp, 0x10
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x24], ebx
je 0x471376
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x471359
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x471376
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
push edx
mov ecx, 0x50f1cc
call fcn.00401c51
cmp dword [esp + 0x28], 8
mov byte [0x50f1c8], 1
mov dword [esp + 0x38], 0xffffffff
jb 0x471399
mov eax, dword [esp + 0x14]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x50f1cc
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401c51
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x30
ret

Function at 0x471f60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x21c]
lea eax, [esp + 8]
push eax
push 0x105
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x471fd7
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x471fd7
cmp byte [esp + 0x220], 0
je 0x471fc9
push 0x4e9da0
push 0x105
lea edx, [esp + 0x10]
push edx
call fcn.00403aba
test eax, eax
jl 0x471fd7
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00401f43
jmp 0x471ff8
xor ecx, ecx
push ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], cx
push 0x4cec14
mov ecx, esi
call fcn.00401ce4
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0048ebcd
add esp, 0x214
ret 8
Function at 0x472020
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4c97cb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, dword [esp + 0x250]
cmp dword [esi + 0x14], 0
mov ebp, ecx
jne 0x472071
mov al, 1
jmp 0x47219b
xor bl, bl
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x472080
mov eax, dword [edi]
jmp 0x472082
mov eax, edi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4720a1
cmp eax, 0x50
je 0x4720a1
cmp eax, 0xb7
jne 0x472199
cmp dword [esi + 0x18], 8
jb 0x4720ab
mov esi, dword [edi]
jmp 0x4720ad
mov esi, edi
lea eax, [esp + 0x30]
mov ecx, eax
xor edi, edi
mov edx, 0x105
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffef9]
test ecx, ecx
je 0x4720e0
movzx ecx, word [esi + eax]
test cx, cx
je 0x4720e0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4720c0
jmp 0x4720e4
test edx, edx
jne 0x4720ec
sub eax, 2
mov edi, 0x8007007a
xor edx, edx
mov word [eax], dx
test edi, edi
jl 0x472199
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x472199
push 0x4e9da0
push 0x105
lea ecx, [esp + 0x38]
push ecx
call fcn.00403aba
test eax, eax
jl 0x472199
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.00401f43
push 0
push 0x4d3600
lea ecx, [esp + 0x1c]
mov dword [esp + 0x250], 0
call fcn.004071ba
test eax, eax
jne 0x47216d
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.004017db
push 0x4ea4b8
push 0
lea ecx, [esp + 0x1c]
call fcn.0042f000
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x47217c
lea eax, [esp + 0x18]
mov ecx, dword [ebp]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push 0
push 0
call eax
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.0040199c
mov al, bl
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x238
ret 4
Function at 0x4748b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c9d16
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov eax, dword [0x50dd18]
mov al, byte [eax + 0x31]
mov edi, ecx
mov ecx, str.SoftwarePoliciesAdobeAcrobat_Reader10.0FeatureLockDown
test al, al
je 0x474901
mov ecx, str.SoftwarePoliciesAdobeAdobe_Acrobat10.0FeatureLockDown
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x474b11
mov eax, dword [esp + 0xc]
test eax, eax
je 0x474b11
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
push 0
push str.bUseWhitelistConfigFile
mov esi, 4
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474b06
cmp dword [esp + 0x10], esi
jne 0x474b06
cmp dword [esp + 0x14], eax
je 0x474b06
push str.ReaderProtectedModeWhitelistConfig.txt
lea ecx, [esp + 0xc8]
call fcn.00401f43
mov edx, dword [0x50dd18]
cmp byte [edx + 0x31], 0
mov dword [esp + 0xec], 0
je 0x4749bc
push str.AcrobatProtectedModeWhitelistConfig.txt
lea ecx, [esp + 0xc8]
call fcn.004029ff
mov eax, dword [esp + 0xc8]
mov esi, 8
cmp dword [esp + 0xdc], esi
jae 0x4749d8
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.00470ca0
add esp, 8
mov eax, dword [esp + 0xac]
mov byte [esp + 0xec], 1
cmp dword [esp + 0xc0], esi
jae 0x474a08
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
lea ecx, [esp + 0x20]
test eax, eax
je 0x474a94
push 0x6a1
push str..policy_configurator.cpp
call fcn.00444980
mov ecx, dword [esp + 0xac]
mov byte [esp + 0xec], 2
cmp dword [esp + 0xc0], esi
jae 0x474a47
lea ecx, [esp + 0xac]
push ecx
add eax, 4
push str.Found_custom_policy_file:
push eax
call fcn.0040afbf
add esp, 8
push eax
call fcn.00444140
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 1
call fcn.00444620
mov eax, dword [esp + 0xac]
cmp dword [esp + 0xc0], esi
jae 0x474a8a
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.00474800
jmp 0x474aee
push 0x6a6
push str..policy_configurator.cpp
call fcn.00444980
mov ecx, dword [esp + 0xac]
mov byte [esp + 0xec], 3
cmp dword [esp + 0xc0], esi
jae 0x474ac2
lea ecx, [esp + 0xac]
push ecx
add eax, 4
push str.Custom_policy_file_NOT_found:
push eax
call fcn.0040afbf
add esp, 8
push eax
call fcn.00444140
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 1
call fcn.00444620
lea ecx, [esp + 0xa8]
call fcn.0040199c
lea ecx, [esp + 0xc4]
call fcn.0040199c
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0048ebcd
add esp, 0xe4
ret
Function at 0x475650
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push esi
test eax, eax
je 0x4756c5
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4756c5
mov edx, dword [esp + 0x10]
push ebx
mov bl, byte [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4756bd
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push esi
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4756b2
cmp dword [esp + 0xc], eax
setne bl
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop esi
add esp, 8
ret
mov al, byte [esp + 0x1c]
pop esi
add esp, 8
ret

Function at 0x4756d0
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
xor bl, bl
push esi
test eax, eax
je 0x475742
mov esi, dword [esp + 0x18]
test esi, esi
je 0x475742
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47573c
cmp byte [esp + 0x1c], al
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
setne al
push 0
push esi
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x475731
mov bl, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
pop ecx
ret
pop esi
xor al, al
pop ebx
pop ecx
ret

Function at 0x475750
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x4757b6
push ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4757b5
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4757b4
push esi
mov esi, dword [esp + 0x20]
test esi, esi
jbe 0x4757b3
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4757b3
push esi
push edi
push 1
push eax
mov eax, dword [esp + 0x24]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
pop ebx
ret
Function at 0x475e00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c81f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x4c]
push 0x2d
xor eax, eax
xor ebp, ebp
push str.SoftwareAdobeAcrobat_Reader10.0Privileged
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
call fcn.00401ce4
mov ecx, dword [0x50dd18]
cmp byte [ecx + 0x31], 0
mov dword [esp + 0x44], ebp
je 0x475e80
push 0x2c
push str.SoftwareAdobeAdobe_Acrobat10.0Privileged
lea ecx, [esp + 0x24]
call fcn.00401ce4
push 1
push 0x4d0ef8
lea ecx, [esp + 0x24]
call fcn.00402933
push 0xb
push str.Attachments
lea ecx, [esp + 0x24]
call fcn.00402933
push 1
push 0x4d0ef8
lea ecx, [esp + 0x24]
call fcn.00402933
push 0x1a
push str.cUserLaunchAttachmentPerms
lea ecx, [esp + 0x24]
call fcn.00402933
push 1
push 0x4d0ef8
lea ecx, [esp + 0x24]
call fcn.00402933
push 0x19
push str.cAttachmentTypeToPermList
lea ecx, [esp + 0x24]
call fcn.00402933
push 2
push 0x4f283c
lea ecx, [esp + 0x24]
call fcn.00402933
lea edx, [ebx + 2]
mov eax, edx
lea esi, [eax + 2]
jmp 0x475f00
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x475f00
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00402933
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x475f29
lea eax, [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x475fbb
cmp ebx, ebp
je 0x475f52
push 0x100
push ebx
call fcn.00491856
add esp, 8
mov ebp, eax
lea esi, [ebp + 1]
push esi
call fcn.0048e1ac
push esi
mov edi, eax
push 0
push edi
call fcn.0048f0d0
push ebp
push ebx
push esi
push edi
push 0
call fcn.00496228
mov eax, dword [esp + 0x3c]
add esp, 0x24
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
push 3
push 0
push str.sExtension
push eax
call esi
test eax, eax
jne 0x475fac
mov edx, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x54]
push ecx
push 4
push eax
push 0x4f2818
push edx
call esi
mov bl, 1
test eax, eax
je 0x475fb0
mov bl, byte [esp + 0x17]
push edi
call fcn.0048e976
add esp, 4
jmp 0x475fbf
mov bl, byte [esp + 0x17]
cmp dword [esp + 0x34], 8
jb 0x475fd3
mov eax, dword [esp + 0x20]
push eax
call fcn.0048e976
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x34
ret 8
Function at 0x476880
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4c9f93
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28c]
xor edi, edi
mov dword [esp + 0x10], edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x18], esi
mov word [esi + 4], ax
push 0x104
lea ecx, [esp + 0x74]
push ecx
mov ebx, 1
push str._APPDATA_
mov dword [esp + 0x290], edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4769f1
xor edx, edx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], edi
mov word [esp + 0x58], dx
lea eax, [esp + 0x70]
mov dword [esp + 0x284], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x476930
sub eax, edx
sar eax, 1
je 0x4769f1
push ebx
push 0x4d0ef8
lea ecx, [esp + 0x5c]
call fcn.00402933
push 0x40
push str.chc.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1Local_StoreHelp_
lea ecx, [esp + 0x5c]
call fcn.00402933
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f43
lea ecx, [esp + 0x54]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x290], 2
call fcn.00438b60
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov byte [esp + 0x290], 3
call fcn.00401c51
mov ebx, 8
cmp dword [esp + 0x34], ebx
jb 0x4769b8
mov eax, dword [esp + 0x20]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], cx
cmp dword [esp + 0x50], ebx
jb 0x4769de
mov edx, dword [esp + 0x3c]
push edx
call fcn.0048e976
add esp, 4
cmp dword [esp + 0x6c], ebx
jb 0x4769f1
mov eax, dword [esp + 0x58]
push eax
call fcn.0048e976
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x278
ret