joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4951c0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e498
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x556620]
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 dword [ebp - 0x50], ecx
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [0x55b408]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x495316
push 0
push 0
push 6
call fcn.0040bb80
add esp, 0xc
test al, al
je 0x495316
call fcn.00408da0
lea eax, [ebp - 0x40]
push 0x511f44
push eax
call fcn.004643d0
add esp, 8
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
je 0x495305
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004df5f3
mov esi, eax
add esp, 4
test esi, esi
je 0x495305
push 0x19
xor eax, eax
mov dword [ebp - 0x14], 7
push str..pipeACROCOMMACTWIN_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004073d0
push esi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push 0x517160
push eax
call fcn.0042e4d0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040f160
cmp dword [ebp - 0x54], 8
mov byte [ebp - 4], 1
jb 0x4952d2
push dword [ebp - 0x68]
call fcn.0040823e
add esp, 4
mov ecx, dword [ebp - 0x50]
call fcn.00495840
mov esi, eax
test esi, esi
jne 0x495335
cmp dword [ebp - 0x14], 8
jb 0x4952f1
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
cmp dword [ebp - 0x2c], 8
jb 0x495316
push dword [ebp - 0x40]
call fcn.0040823e
add esp, 4
or eax, 0xffffffff
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.00401580
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x4c]
push ecx
push 0x3e8
push 0
push 0
push 1
push 6
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], 0xc
cmovae eax, dword [ebp - 0x28]
push 0x80003
push eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp dword [ebp - 0x14], 8
mov edi, eax
jb 0x495381
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
jb 0x4953ad
push dword [ebp - 0x40]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x495319
Function at 0x497980
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
mov dword [ebp - 0x420], 0
call fcn.004dead0
add esp, 0xc
xor bl, bl
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x497a49
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004dead0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x497a42
push 0
push 0
push 0x105
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0041b90e
add esp, 0x24
movzx ebx, bl
test eax, eax
mov ecx, 1
cmove ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
mov dword [edi + 0x14], 7
mov eax, 0x511a98
mov dword [edi + 0x10], 0
lea edx, [ebp - 0x41c]
cmove edx, eax
xor eax, eax
mov word [edi], ax
cmp word [edx], ax
jne 0x497a75
xor ecx, ecx
jmp 0x497a8f
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497a80
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004073d0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x4983b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor bl, bl
mov dword [ebp - 0x234], eax
test esi, esi
je 0x4983dd
mov dword [esi], 0
test eax, eax
je 0x4984df
cmp dword [eax + 0x10], 0
je 0x4984df
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4984cc
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004dead0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4984c5
lea esp, [esp]
mov ecx, dword [ebp - 0x234]
xor eax, eax
mov word [ebp - 6], ax
call fcn.0041e2d0
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004099a7
add esp, 8
test eax, eax
sete bl
test bl, bl
je 0x49846e
test esi, esi
jne 0x4984bd
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.004dead0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
test bl, bl
jne 0x4984c5
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x498440
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x228]
mov dword [esi], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x49c6d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b798
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x556620]
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 dword [ebp - 0x34], ecx
lea esi, [ecx + 0x14]
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0xc]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x49c7ed
lea ebx, [edi + edi*2]
shl ebx, 3
cmp eax, edi
jbe 0x49c85e
mov ecx, dword [ebp - 0x34]
push 0x52dc44
mov eax, dword [ecx]
add eax, ebx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042abc0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040f160
cmp dword [ebp - 0x3c], 8
mov byte [ebp - 4], 1
jb 0x49c79d
push dword [ebp - 0x50]
call fcn.0040823e
add esp, 4
mov eax, dword [ebp - 0x34]
inc edi
add ebx, 0x18
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
ja 0x49c75e
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x49c7ed
lea ecx, [ebx - 1]
cmp ebx, ecx
jae 0x49c7d6
push str.invalid_string_position
call fcn.004dcd57
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], 0
test ebx, ebx
je 0x49c868
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREAdobeAcrobat_ReaderDCPrivileged
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x49c868
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push 1
push 0
push str.tHostWhiteList
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [ebp - 0x30]
test eax, eax
push dword [ebp - 0x2c]
mov ecx, 1
movzx ebx, bl
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x49c86b
push str.invalid_vector_T__subscript
call fcn.004dcd57
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x14], 8
jb 0x49c87c
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
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.00401580
mov esp, ebp
pop ebp
ret 4
Function at 0x4a0980
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bf4b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x556620]
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
mov dword [ebp - 0x238], edi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x4a09c6
mov al, 1
jmp 0x4a0b25
xor bl, bl
cmp dword [esi + 0x14], 8
jb 0x4a09d2
mov eax, dword [esi]
jmp 0x4a09d4
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4a09f3
cmp eax, 0x50
je 0x4a09f3
cmp eax, 0xb7
jne 0x4a0b23
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004dead0
add esp, 0xc
mov dword [ebp - 0x220], 7
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x234]
mov word [ebp - 0x234], ax
push 0xffffffffffffffff
push eax
push esi
call fcn.00407980
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
mov ecx, dword [edi]
cmovae edx, dword [ebp - 0x234]
push edx
push 0
mov eax, dword [ecx]
push 0
mov dword [ebp - 4], 0
call dword [eax + 0x60]
test eax, eax
jne 0x4a0b0c
cmp dword [ebp - 0x220], 8
lea esi, [ebp - 0x234]
lea ecx, [ebp - 0x21c]
mov edx, 0x105
cmovae esi, dword [ebp - 0x234]
mov eax, ecx
xor edi, edi
sub esi, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x4a0aaf
movzx eax, word [esi + ecx]
test ax, ax
je 0x4a0aaf
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x4a0a91
jmp 0x4a0ab3
test edx, edx
jne 0x4a0abb
sub ecx, 2
mov edi, 0x8007007a
xor eax, eax
mov word [ecx], ax
test edi, edi
js 0x4a0b0c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x4a0b0c
push 0x52caa0
push 0x105
lea eax, [ebp - 0x21c]
push eax
call fcn.0042b2e0
test eax, eax
js 0x4a0b0c
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x60]
test eax, eax
sete bl
cmp dword [ebp - 0x220], 8
jb 0x4a0b23
push dword [ebp - 0x234]
call fcn.0040823e
add esp, 4
mov al, bl
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.00401580
mov esp, ebp
pop ebp
ret 4

Function at 0x4a0b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x10], 0
je 0x4a0b96
cmp dword [esi + 0x14], 8
jb 0x4a0b6a
mov eax, dword [esi]
jmp 0x4a0b6c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a0b96
cmp dword [esi + 0x14], 8
jb 0x4a0b7f
mov esi, dword [esi]
mov ecx, dword [edi]
push esi
push 7
push 2
mov eax, dword [ecx]
call dword [eax + 0x60]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
pop ebp
ret 4
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x4a0ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bf8e
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55bcb4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x430], 0
test al, 1
jne 0x4a0c21
or eax, 1
mov dword [0x55bcb4], eax
xor eax, eax
mov dword [ebp - 4], 0
push 0x510a70
mov dword [0x55bcb0], 7
mov dword [0x55bcac], 0
mov word [0x55bc9c], ax
call fcn.00405b4e
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [0x55bc98], 0
jne 0x4a0ccf
lea eax, [ebp - 0x42c]
mov byte [0x55bc98], 1
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push 0x80000002
mov dword [ebp - 0x42c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a0ccf
push 0x410
push eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
call fcn.004dead0
add esp, 0xc
mov dword [ebp - 0x428], 0x410
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.Debugger
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a0cc3
lea eax, [ebp - 0x420]
mov ecx, 0x55bc9c
push eax
call fcn.00412520
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x55bc9c
mov word [esi], ax
call fcn.00407980
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.00401580
mov esp, ebp
pop ebp
ret
Function at 0x4a0e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c036
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55bcd4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x80], 0
test al, 1
jne 0x4a0ebc
or eax, 1
mov dword [0x55bcd4], eax
xor eax, eax
mov dword [ebp - 4], 0
push 0x5109b0
mov dword [0x55bcd0], 7
mov dword [0x55bccc], 0
mov word [0x55bcbc], ax
call fcn.00405b4e
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [0x55bcb8], 0
jne 0x4a1053
lea eax, [ebp - 0x48]
mov byte [0x55bcb8], 1
push eax
call fcn.004a0ba0
add esp, 4
cmp dword [ebp - 0x38], 0
mov dword [ebp - 4], 1
je 0x4a103b
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00472aa0
add esp, 8
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x4a102a
lea eax, [ebp - 0x28]
xor bl, bl
push 0
push eax
call fcn.00419d10
add esp, 8
test al, al
je 0x4a1002
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x4a0f46
push 0x52e3f8
lea ecx, [ebp - 0x28]
call fcn.0042b180
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.drwtsn32.exe
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004099a7
add esp, 8
test eax, eax
jne 0x4a0f8a
push eax
push str.drwtsn32.exe
lea eax, [ebp - 0x7c]
push 0x29
push eax
call fcn.0042b3f0
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.00407aa0
lea ecx, [ebp - 0x7c]
call fcn.00408450
jmp 0x4a1002
lea ecx, [ebp - 0x64]
call fcn.00465210
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00465520
test al, al
je 0x4a0ff2
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.004651c0
xor eax, eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x7c]
push 1
push eax
call fcn.004722f0
add esp, 0xc
lea ecx, [ebp - 0x7c]
mov bl, al
call fcn.00408450
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00465230
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00465250
test bl, bl
je 0x4a102a
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 0x4a102a
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov ecx, 0x55bcbc
push eax
call fcn.00407980
cmp dword [ebp - 0x14], 8
jb 0x4a103b
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
cmp dword [ebp - 0x34], 8
mov dword [ebp - 4], 0xffffffff
jb 0x4a1053
push dword [ebp - 0x48]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x55bcbc
mov word [esi], ax
call fcn.00407980
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x4a11f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c0c2
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x220], ebx
mov byte [ebp - 0x219], bl
test esi, esi
je 0x4a1282
cmp word [esi], bx
je 0x4a1282
push esi
lea ecx, [ebp - 0x238]
call fcn.00407370
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x238]
push 0
mov ebx, 1
push eax
mov dword [ebp - 0x220], ebx
call fcn.00419d10
add esp, 8
test al, al
jne 0x4a1282
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a1282
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov byte [ebp - 0x21a], bl
test eax, eax
jne 0x4a1289
mov byte [ebp - 0x21a], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4a12ac
cmp dword [ebp - 0x224], 8
jb 0x4a12ac
push dword [ebp - 0x238]
call fcn.0040823e
add esp, 4
cmp byte [ebp - 0x21a], 0
je 0x4a130e
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00403887
add esp, 0xc
test eax, eax
jne 0x4a130e
push str.Common
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4a130e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a130a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4a130a
mov al, 1
jmp 0x4a1314
xor al, al
jmp 0x4a1314
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x4a1f20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c2c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20019
push str.SoftwareAdobeAcrobat_ReaderDCPrivileged
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
push 0x80000001
movq qword [ebp - 0x1c], xmm0
call fcn.0040baf0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push str.bAllowTestDomains
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.0040bc50
test eax, eax
jne 0x4a1f94
cmp dword [ebp - 0x14], eax
je 0x4a1f94
mov bl, 1
jmp 0x4a1ff0
lea eax, [ebp - 0x34]
push str.Readerplug_insTest_Tools_aaFEAT.api
push eax
call fcn.00418230
add esp, 8
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
je 0x4a1fc9
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a1fc9
mov bl, 1
jmp 0x4a1fcb
xor bl, bl
cmp dword [ebp - 0x20], 8
jb 0x4a1fdc
push dword [ebp - 0x34]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040beb0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x4a4fa0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c458
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x254]
push 0x2b
xor eax, eax
mov dword [ebp - 0x258], 0
push 0x531878
xor bh, bh
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
call fcn.004073d0
push 0x2e
xor eax, eax
mov dword [ebp - 4], 0
push str.SoftwareAdobeAcrobat_ReaderDCInstallerIOD
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
call fcn.004073d0
cmp dword [ebp - 0x240], 8
lea ecx, [ebp - 0x258]
push ecx
push 0x20019
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x254]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a50b6
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x258]
push ecx
push 0x20019
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a51b6
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dead0
add esp, 0xc
mov dword [ebp - 0x224], 0x20a
lea eax, [ebp - 0x224]
mov dword [ebp - 0x220], 0
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.Library
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a51aa
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x274]
call fcn.00407370
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 2
push 0
push eax
mov dword [ebp - 0x25c], 1
call fcn.00419d10
add esp, 8
test al, al
jne 0x4a515a
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a515a
mov bl, 1
jmp 0x4a515c
xor bl, bl
cmp dword [ebp - 0x260], 8
mov dword [ebp - 4], 1
jb 0x4a517a
push dword [ebp - 0x274]
call fcn.0040823e
add esp, 4
test bl, bl
je 0x4a51aa
call fcn.0043bed0
test al, al
je 0x4a51aa
lea eax, [ebp - 0x21c]
push eax
call fcn.0040c7d0
test eax, eax
je 0x4a51aa
push str.MaintenanceRepair
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [edi], eax
setne bh
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x228], 8
jb 0x4a51cd
push dword [ebp - 0x23c]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x228], 7
cmp dword [ebp - 0x240], 8
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
jb 0x4a5201
push dword [ebp - 0x254]
call fcn.0040823e
add esp, 4
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret