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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [esi + 0x28], ebx
cmp eax, ebx
je 0x47efe0
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x47eff1
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], ebx
cmp dword [esi + 0x1c], ebx
je 0x47f01e
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
jb 0x47f004
mov eax, dword [edi]
jmp 0x47f006
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x47f018
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
lea ecx, [ebp - 0x414]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x47f0cf
lea edx, [ebp - 0x20c]
push edx
push ebx
push 0x52671c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x47f0cf
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea edx, [ebp - 0x424]
push edx
push ebx
push ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], 0x5456
mov dword [ebp - 0x418], 0x6d24
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov dword [esi + 4], eax
lea eax, [ebp - 0x20c]
mov dword [esi + 8], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f0a2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
lea ecx, [esi + 0xc]
push eax
call fcn.00406300
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x2c], ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x485690
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5056c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x54e938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x2c]
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x24], esi
jne 0x48575e
push 0
push 0x526764
push 0x526764
push 0
inc esi
push 0x526764
mov dword [ebp - 0x14], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x48572e
mov edi, dword [ebx + 0x20]
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x10]
push eax
push ecx
push edi
lea ecx, [ebx + 0x20]
call fcn.004831c0
mov ecx, dword [ebx + 0x24]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x485754
inc ecx
mov dword [ebx + 0x24], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x18]
mov dword [ecx], eax
cmp esi, 3
jl 0x4856d8
cmp dword [ebx + 0x24], 0
jne 0x48575e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.004df998
mov edx, dword [ebx + 0x20]
mov eax, dword [edx]
mov esi, dword [eax + 8]
mov ecx, edx
mov eax, dword [ecx]
cmp eax, ecx
je 0x485789
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call fcn.00406ec9
add esp, 4
dec dword [ebx + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487fa0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor bl, bl
test edi, edi
je 0x487fc8
mov dword [edi], 0
test esi, esi
je 0x4880dd
cmp dword [esi + 0x10], 0
je 0x4880dd
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp eax, 0xffffffff
je 0x4880ca
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004e15a0
mov edx, dword [ebp - 0x234]
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push edx
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4880bd
lea ecx, [ecx]
xor eax, eax
mov ecx, esi
mov word [ebp - 6], ax
call fcn.0041a2d0
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004086e6
add esp, 8
test eax, eax
sete bl
test bl, bl
je 0x48805a
test edi, edi
jne 0x4880b5
push 0x22c
lea edx, [ebp - 0x230]
push 0
push edx
call fcn.004e15a0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
test bl, bl
jne 0x4880bd
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x488030
mov eax, dword [ebp - 0x234]
push eax
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.00401316
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x228]
mov dword [edi], edx
mov eax, dword [ebp - 0x234]
push eax
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.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x48b460
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504931
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x54e938]
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 esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp - 0x34]
push eax
push ebx
push str.open
push 0x50ea80
mov dword [ebp - 0x3c], ebx
mov edi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
push 2
push ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
call edi
cmp eax, 1
jne 0x48b59d
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jbe 0x48b59d
cmp eax, 0x104
jae 0x48b4d6
mov eax, 0x104
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x3c]
push ecx
inc eax
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0041fde0
mov esi, dword [ebp - 0x4c]
lea edx, [ebp - 0x34]
push edx
push esi
push str.open
push 0x50ea80
push 2
push 0x20
mov dword [ebp - 4], ebx
call edi
test eax, eax
jne 0x48b586
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408940
lea eax, [ebp - 0x2c]
push ebx
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 1
call fcn.00416c50
add esp, 8
test al, al
jne 0x48b54e
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48b54e
push esi
call dword [sym.imp.SHELL32.dll_PathIsExe]
mov byte [ebp - 0x2d], 1
test eax, eax
jne 0x48b551
mov byte [ebp - 0x2d], bl
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040a2c0
cmp byte [ebp - 0x2d], bl
je 0x48b586
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, ebx
je 0x48b586
cmp word [eax], bx
je 0x48b586
mov esi, dword [ebp - 0x38]
push eax
mov ecx, esi
call fcn.00408940
lea ecx, [ebp - 0x4c]
call fcn.0041a760
jmp 0x48b5b9
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x48b59a
push esi
call fcn.00406ec9
add esp, 4
mov esi, dword [ebp - 0x38]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov word [esi], cx
push 0x50d97c
mov ecx, esi
call fcn.00406300
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 - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x48b700
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov dword [ebp - 0x420], 0
mov word [ebp - 0x41c], ax
call fcn.004e15a0
add esp, 0xc
push edi
push 0
push 0x410
xor bl, bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x48b7cc
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004e15a0
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x210]
push ecx
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x48b7bb
push 0
push 0
push 0x105
lea edx, [ebp - 0x41c]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00418909
add esp, 0x24
test eax, eax
jne 0x48b7bb
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x41c]
test bl, bl
jne 0x48b7d1
mov edx, 0x50d97c
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48b7f0
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00406300
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x497e70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506328
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x54e938]
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 esi, ecx
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x49], al
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov edi, dword [esi]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x10]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ebp - 4], 1
cmp ebx, eax
jae 0x497f7c
lea ecx, [ebx*8]
sub ecx, ebx
add ecx, ecx
add ecx, ecx
mov dword [ebp - 0x54], ecx
jmp 0x497f03
mov ecx, dword [ebp - 0x54]
cmp eax, ebx
jbe 0x49802d
add edi, ecx
push 0x52843c
lea ecx, [ebp - 0x48]
push edi
push ecx
call fcn.00429440
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040e6b0
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 1
jb 0x497f46
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406ec9
add esp, 4
mov edi, dword [esi]
mov ecx, dword [esi + 4]
add dword [ebp - 0x54], 0x1c
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jb 0x497f00
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x497f7c
push 0xffffffffffffffff
dec eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041a8e0
xor esi, esi
mov dword [ebp - 0x50], esi
cmp dword [ebp - 0x1c], esi
jbe 0x497fe0
push esi
lea eax, [ebp - 0x50]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREAdobeAcrobat_Reader11.0Privileged
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x497fe0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x497fb4
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0x50]
push 1
push esi
push str.tHostWhiteList
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x497fd6
mov byte [ebp - 0x49], 1
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
jb 0x497ff2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
add esp, 4
mov ecx, dword [ebp - 0x58]
xor eax, eax
push ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x49]
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.00401316
mov esp, ebp
pop ebp
ret 4
push str.invalid_vector_T__subscript
call fcn.004df9e5
int3
Function at 0x49a9f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov ebx, ecx
je 0x49aa38
cmp dword [esi + 0x14], 8
jb 0x49aa0a
mov eax, dword [esi]
jmp 0x49aa0c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49aa38
cmp dword [esi + 0x14], 8
jb 0x49aa1f
mov esi, dword [esi]
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push esi
push 7
push 2
call edx
neg eax
sbb eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret 4
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x49aa40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50680b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov edi, ecx
mov dword [ebp - 0x240], edi
jne 0x49aa85
mov al, 1
jmp 0x49abff
cmp dword [esi + 0x14], 8
mov byte [ebp - 0x239], 0
jb 0x49aa96
mov eax, dword [esi]
jmp 0x49aa98
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x49aab7
cmp eax, 0x50
je 0x49aab7
cmp eax, 0xb7
jne 0x49abf9
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.004e15a0
add esp, 0xc
xor edx, edx
push 0xffffffffffffffff
push edx
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], dx
call fcn.00406960
mov eax, dword [ebp - 0x238]
mov esi, 8
mov dword [ebp - 4], 0
cmp dword [ebp - 0x224], esi
jae 0x49ab21
lea eax, [ebp - 0x238]
mov ecx, dword [edi]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push 0
push 0
call eax
test eax, eax
jne 0x49abe1
cmp dword [ebp - 0x224], esi
mov esi, dword [ebp - 0x238]
jae 0x49ab4b
lea esi, [ebp - 0x238]
lea eax, [ebp - 0x21c]
mov ecx, eax
xor edi, edi
mov edx, 0x105
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffef9]
test ecx, ecx
je 0x49ab7e
movzx ecx, word [esi + eax]
test cx, cx
je 0x49ab7e
mov word [eax], cx
add eax, 2
dec edx
jne 0x49ab60
jmp 0x49ab82
test edx, edx
jne 0x49ab8a
sub eax, 2
mov edi, 0x8007007a
xor edx, edx
mov word [eax], dx
test edi, edi
js 0x49abe1
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x49abe1
push 0x5270e8
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00429b90
test eax, eax
js 0x49abe1
mov edx, dword [ebp - 0x240]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
call eax
test eax, eax
sete byte [ebp - 0x239]
cmp dword [ebp - 0x224], 8
jb 0x49abf9
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00406ec9
add esp, 4
mov al, byte [ebp - 0x239]
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.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x49ac20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x20]
push str.Readerplug_insTest_Tools_aaFEAT.api
push eax
call fcn.00415460
add esp, 8
cmp dword [ebp - 0x10], 0
je 0x49ac63
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x49ac54
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49ac63
mov bl, 1
jmp 0x49ac65
xor bl, bl
cmp dword [ebp - 0xc], 8
jb 0x49ac77
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ec9
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret

Function at 0x49ac90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506888
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x54e938]
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_Reader11.0Privileged
push 0x80000001
lea ecx, [ebp - 0x38]
call fcn.0040a8c0
lea eax, [ebp - 0x30]
push eax
push str.bAllowTestDomains
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
call fcn.0040a9b0
test eax, eax
jne 0x49ad0b
cmp dword [ebp - 0x30], eax
je 0x49ad0b
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.0040aa70
mov al, 1
jmp 0x49ad76
lea ecx, [ebp - 0x2c]
push str.Readerplug_insTest_Tools_aaFEAT.api
push ecx
call fcn.00415460
add esp, 8
cmp dword [ebp - 0x1c], 0
je 0x49ad3d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x49ad2e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49ad3d
mov bl, 1
jmp 0x49ad3f
xor bl, bl
cmp dword [ebp - 0x18], 8
jb 0x49ad51
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0040aa70
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.00401316
mov esp, ebp
pop ebp
ret
Function at 0x49ad90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
test byte [0x551b84], 1
push esi
mov esi, dword [ebp + 8]
jne 0x49ade5
or dword [0x551b84], 1
xor eax, eax
push 0x50ccb0
mov dword [0x551b7c], 7
mov dword [0x551b78], ebx
mov word [0x551b68], ax
call fcn.00404f03
add esp, 4
cmp byte [0x551b64], bl
jne 0x49aeae
lea ecx, [ebp - 0x418]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push 0x80000002
mov byte [0x551b64], 1
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49aeae
push 0x410
lea edx, [ebp - 0x414]
push ebx
push edx
mov dword [ebp - 0x41c], ebx
call fcn.004e15a0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x41c]
push edx
push ebx
push str.Debugger
push eax
mov dword [ebp - 0x420], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49aea1
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x49ae80
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x414]
push ecx
mov ecx, 0x551b68
call fcn.00406300
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
push ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x551b68
mov ecx, esi
mov word [esi], ax
call fcn.00406960
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x49aee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501d78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54e938]
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
test byte [0x551ba8], 1
mov dword [ebp - 0x30], ebx
jne 0x49af47
or dword [0x551ba8], 1
xor eax, eax
push 0x50cd30
mov dword [0x551ba0], 7
mov dword [0x551b9c], ebx
mov word [0x551b8c], ax
call fcn.00404f03
add esp, 4
cmp byte [0x551b88], bl
jne 0x49afb3
push ebx
push str.WerFault.exe
lea ecx, [ebp - 0x2c]
push 0x29
push ecx
mov byte [0x551b88], 1
call fcn.00429c80
add esp, 0x10
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x49af9a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x49af7e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49af9a
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x551b8c
call fcn.00406960
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x49afb3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov word [esi], cx
push 0x551b8c
mov ecx, esi
call fcn.00406960
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.00401316
mov esp, ebp
pop ebp
ret

Function at 0x49aff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501d78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54e938]
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
test byte [0x551bcc], 1
mov dword [ebp - 0x30], ebx
jne 0x49b057
or dword [0x551bcc], 1
xor eax, eax
push 0x50cd70
mov dword [0x551bc4], 7
mov dword [0x551bc0], ebx
mov word [0x551bb0], ax
call fcn.00404f03
add esp, 4
cmp byte [0x551bac], bl
jne 0x49b0c3
push ebx
push str.DWwin.exe
lea ecx, [ebp - 0x2c]
push 0x25
push ecx
call fcn.00429c80
add esp, 0x10
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x49b0a3
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x49b087
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49b0a3
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x551bb0
call fcn.00406960
cmp dword [ebp - 0x18], 8
mov byte [0x551bac], 1
mov dword [ebp - 4], 0xffffffff
jb 0x49b0c3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov word [esi], cx
push 0x551bb0
mov ecx, esi
call fcn.00406960
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.00401316
mov esp, ebp
pop ebp
ret
Function at 0x49b5d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5069d2
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x54e938]
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 - 0x23c], ebx
test esi, esi
je 0x49b692
cmp word [esi], bx
je 0x49b692
xor eax, eax
mov word [ebp - 0x234], ax
mov eax, esi
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b633
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.00406300
lea ecx, [ebp - 0x234]
push 0
mov ebx, 1
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], ebx
call fcn.00416c50
add esp, 8
test al, al
jne 0x49b692
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49b692
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov byte [ebp - 0x235], bl
test eax, eax
jne 0x49b699
mov byte [ebp - 0x235], 0
test bl, 1
je 0x49b6b6
cmp dword [ebp - 0x220], 8
jb 0x49b6b6
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406ec9
add esp, 4
cmp byte [ebp - 0x235], 0
je 0x49b714
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00402c49
add esp, 0xc
test eax, eax
jne 0x49b714
push str.Common
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x49b714
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49b714
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x49b714
mov al, 1
jmp 0x49b716
xor al, al
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.00401316
mov esp, ebp
pop ebp
ret