joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ab54a
Capabilities:
Encode data using xor
Get disk size
Get hostname
Get memory capacity

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100ae134]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x10
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x100ab59a
mov al, byte [ebp - 0x1c]
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x40], ecx
test al, al
je 0x100ab59a
xor byte [ebp + ecx - 0xc], al
inc edx
inc ecx
cmp ecx, 6
sbb eax, eax
and ecx, eax
mov al, byte [edx]
test al, al
jne 0x100ab584
mov dword [ebp - 0x40], ecx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100ab5bf
mov eax, dword [ebp - 0xa]
xor eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x44]
mov dword [ebp - 0xa], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x44]
jmp 0x100ab5c2
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x3c], 0x20
xor eax, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
xor dword [ebp - 0xa], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x38]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
xor dword [ebp - 0xa], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa]
xor eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0xa], eax
mov eax, dword [ebp - 0x20]
xor dword [ebp - 0xc], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
test eax, eax
je 0x100ab624
mov eax, dword [ebp - 0x48]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
xor dword [ebp - 0xa], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x1002acb0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x100ab65a
mov ecx, dword [ebp - 0x4c]
imul ecx, dword [ebp - 0x50]
mov eax, ecx
imul ecx, dword [ebp - 0x58]
imul eax, dword [ebp - 0x54]
xor dword [ebp - 0xa], eax
xor dword [ebp - 0xc], ecx
or byte [ebp - 0xc], 0x80
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [0x100af0b4], eax
xor ecx, ebp
mov ax, word [ebp - 8]
mov word [0x100af0b8], ax
mov eax, 0x720
call fcn.100365c0
mov esp, ebp
pop ebp
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x408942
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop esi
mov ebx, 0x7ba94a65
or ebx, ebx
call fcn.00408975
add ebx, 0xe1b194a5
or ebx, edi
xor dword [eax], esi
dec ebx
and edi, edi
inc eax
add ebx, 0xdae9d22c
push ebx
pop ebx
cmp eax, ecx
jne fcn.00408942
dec ebx
or edi, ebx
ret
Function at 0x4026b0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4026e3
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4026e3
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x4026e3
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4026e3
mov al, 1
ret
xor al, al
ret

Function at 0x403690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x3c]
add edx, eax
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
push dword [edx + 0x78]
call dword [0x5677a4]
mov ecx, ebx
call esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x403793
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x3c]
add edx, ecx
mov ecx, dword [ebx]
mov esi, dword [ecx]
mov ecx, esi
push dword [edx + 0x78]
call dword [0x5677a4]
mov ecx, ebx
call esi
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x403793
mov ecx, dword [ebp + 8]
cmp ecx, 0xffff
ja 0x4036fc
movzx edi, cx
jmp 0x4037c8
mov eax, dword [ebx]
push dword [edi + 0x20]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5677a4]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0x18]
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edx
lea edi, [eax + ecx*4]
cmp eax, edi
je 0x403793
mov eax, edi
sub eax, edx
sar eax, 2
mov eax, eax
test eax, eax
jns 0x403731
add eax, 1
sar eax, 1
push dword [edx + eax*4]
lea ecx, [edx + eax*4]
mov eax, dword [ebx]
mov dword [ebp - 8], ecx
mov esi, dword [eax]
mov ecx, esi
call dword [0x5677a4]
mov ecx, ebx
call esi
mov esi, dword [ebp + 8]
mov dl, byte [esi]
test dl, dl
je 0x403771
mov cl, dl
sub esi, eax
nop dword [eax]
mov dl, cl
cmp cl, byte [eax]
jne 0x403771
mov cl, byte [esi + eax + 1]
inc eax
mov dl, cl
test cl, cl
jne 0x403760
movzx eax, byte [eax]
movzx ecx, dl
sub ecx, eax
je 0x40379e
mov edx, dword [ebp - 8]
test ecx, ecx
cmovle edi, edx
add edx, 4
test ecx, ecx
cmovle edx, dword [ebp - 4]
mov dword [ebp - 4], edx
cmp edx, edi
jne 0x403721
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov edi, dword [ebp - 0x10]
mov esi, dword [eax]
mov ecx, esi
push dword [edi + 0x24]
call dword [0x5677a4]
mov ecx, ebx
call esi
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x14]
sar edx, 2
mov ax, word [eax + edx*2]
add ax, word [edi + 0x10]
movzx edi, ax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax]
push dword [ecx + 0x1c]
mov ecx, esi
call dword [0x5677a4]
mov ecx, ebx
call esi
mov edx, dword [ebp - 0xc]
movzx ecx, di
pop edi
pop esi
sub ecx, dword [edx + 0x10]
pop ebx
lea eax, [eax + ecx*4]
mov esp, ebp
pop ebp
ret 4
Function at 0x4084c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5545f7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5c7cec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5ccd88], 0
je 0x408501
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x30
call fcn.00406909
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x408533
push 0x30
push 0
push esi
call fcn.005290f0
add esp, 0xc
mov ecx, esi
push 0
call fcn.004085b0
jmp 0x408535
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5ccd88], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408562
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00408740
mov ecx, dword [0x5ccd88]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 1
call fcn.00408890
lea ecx, [ebp - 0x28]
call fcn.00408e50
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408890
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554658
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
push ecx
push 3
push eax
call fcn.00408950
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x408923
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 4], 0
push esi
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00409410
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x2c]
call fcn.00408e50
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.0040154f
mov esp, ebp
pop ebp
ret 4
Function at 0x40c000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x21c], 0
call fcn.005290f0
mov bx, word [ebp + 0x10]
xor eax, eax
cmp dword [ebp + 0xc], eax
mov ecx, str.SoftwareAdobeAcrobat_ReaderDCFeatureState
mov dword [ebp - 0x210], 0
sete al
mov dword [ebp - 0x214], 0
movzx esi, ax
test bx, bx
mov eax, str.SoftwareAdobeAdobe_AcrobatDCFeatureState
mov dword [ebp - 0x218], 4
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00406577
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c14f
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c11a
cmp dword [ebp - 0x210], 4
jne 0x40c11a
push dword [ebp - 0x21c]
xor ebx, ebx
cmp dword [ebp - 0x214], ebx
setne bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0x10], 0
mov ebx, esi
je 0x40c12f
test edi, edi
je 0x40c12f
mov eax, 1
mov word [edi], ax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
mov eax, esi
test bx, bx
je 0x40c164
test edi, edi
je 0x40c164
mov eax, 1
mov word [edi], ax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x40da90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
xor bl, bl
push edi
mov edi, dword [ebp + 8]
push eax
push ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
mov dword [ebp - 0x818], edx
push 0x400
push eax
call fcn.0040db80
add esp, 0x14
test eax, eax
js 0x40db6a
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0
push eax
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40db6a
mov dword [ebp - 0x808], eax
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x810], 4
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push dword [ebp - 0x818]
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40db5e
cmp dword [ebp - 0x808], 4
jne 0x40db5e
cmp dword [ebp - 0x80c], eax
mov bl, 1
setne al
mov dword [esi], eax
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret

Function at 0x40e7d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554e28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c7cec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.0040e870
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov word [esi + 0xc], 0
lea edi, [esi + 0x10]
mov ebx, dword [ecx]
mov ecx, edi
push ebx
mov dword [ebp - 0x1c], edi
call fcn.00409a20
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x18]
call fcn.00409a20
mov dword [edi + 0x30], 0
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 0xc
Function at 0x40fca0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x40fcc3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fcf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40fcf8
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x40fced
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fcf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40fd35
push 0x5cd774
push 0x208
call fcn.0041e02e
mov esi, eax
add esp, 8
test esi, esi
je 0x40fd35
push 0x208
push 0
push esi
call fcn.005290f0
push 0
push esi
call fcn.00473c30
add esp, 0x14
test eax, eax
je 0x40fd3a
push esi
call fcn.0041e6ef
add esp, 4
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
jae 0x40fd4c
add eax, 0x3e8
push ebx
push 1
push eax
push esi
call fcn.00473e20
xor ebx, ebx
add esp, 0xc
test eax, eax
sete bl
test eax, eax
jne 0x40fd97
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
je 0x40fd96
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 1
jne 0x40fd83
push 0
push 0xce
jmp 0x40fd8d
test edi, edi
jne 0x40fd96
push edi
push 0xcc
push esi
call fcn.00473e20
add esp, 0xc
pop edi
push esi
call fcn.0041e6ef
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x411870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5adac8
push 0x529340
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c7cec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x24], edi
xor bl, bl
test edi, edi
je 0x411a3c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x411a3c
cmp byte [ecx], bl
je 0x411a3c
test eax, eax
je 0x411a3c
cmp byte [eax], bl
je 0x411a3c
test esi, esi
je 0x411a3c
cmp dword [ebp + 0x18], 0
je 0x411a3c
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x411a3c
push 0
push 0x40
push esi
call fcn.00411ad0
add esp, 0xc
test al, al
je 0x411a3c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x411a3c
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x30], eax
push 0
push 0xf8
push eax
call fcn.00411ad0
add esp, 0xc
test al, al
je 0x411a3c
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0x4550
jne 0x411a3c
mov esi, dword [eax + 0x80]
mov edx, dword [ebp - 0x2c]
add esi, edx
cmp esi, eax
je 0x411a62
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411974
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4119b6
mov edi, edx
nop word [eax + eax]
add eax, edi
push ecx
push dword [ebp - 0x20]
push eax
call fcn.00411d37
add esp, 0xc
test eax, eax
je 0x4119b0
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
mov ecx, dword [ebp - 0x30]
jne 0x411990
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
cmp dword [esi + 0xc], 0
je 0x411a62
mov esi, dword [esi + 0x10]
add esi, edx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
test eax, eax
je 0x411a3c
cmp eax, ecx
jne 0x411a5a
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x80
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x411a3c
mov dword [ebp - 4], 0
xchg dword [esi], edi
mov bl, 1
mov byte [ebp - 0x25], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x411a25
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x4119c8
xor al, al
jmp 0x411a3e
Function at 0x413a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55532c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5cda2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5cb3a8]
cmp eax, dword [ecx + 4]
jg 0x413a94
mov eax, dword [0x5cb3a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
push 0x5cb3a8
call fcn.0040fbfe
add esp, 4
cmp dword [0x5cb3a8], 0xffffffff
jne 0x413a75
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x20019
xor esi, esi
mov dword [ebp - 0x2c], 0
push esi
push str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413b1a
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 4
push eax
push esi
push str.bEnableEventViewerLogging
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413b0f
cmp dword [ebp - 0x14], 4
jne 0x413b0f
mov esi, dword [ebp - 0x18]
jmp 0x413b70
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413b1a
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push str.SoftwareAdobeAcrobat_ReaderDCPrivileged
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413b7b
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], esi
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], 4
push eax
push 0
push str.bEnableEventViewerLogging
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413b70
cmp dword [ebp - 0x1c], 4
cmove esi, dword [ebp - 0x20]
jmp 0x413b70
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413b7b
push 0x5cb3a8
mov dword [0x5cb3a4], esi
call fcn.0040fc50
add esp, 4
jmp 0x413a75
Function at 0x414720
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555498
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c7cec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
mov dword [0x5ccd54], eax
call fcn.004148e0
add esp, 8
cmp dword [0x5ccd84], 0
jne 0x414776
push 0xffffffffffffffff
push dword [0x5ccd7c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x414781
mov ecx, dword [0x5ccd78]
call fcn.00414c70
mov eax, dword [0x5ccd64]
mov dword [ebp - 4], 0
test eax, eax
je 0x4147a2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5ccd64], 0
mov eax, dword [ebp + 0xc]
mov dword [0x5ccd5c], eax
test eax, eax
je 0x414829
cmp eax, 2
je 0x414829
mov ecx, dword [0x5ccd60]
test ecx, ecx
jne 0x4147ea
push 0x18
call fcn.00406909
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4147e2
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
jmp 0x4147e4
xor ecx, ecx
mov dword [0x5ccd60], ecx
mov edx, esi
lea edi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4147f0
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.00408740
cmp dword [ebp + 0x14], 0
jne 0x414820
mov eax, dword [0x5ccd60]
cmp dword [eax + 0x14], 8
jb 0x414819
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0048de60
mov bl, al
jmp 0x41482b
mov bl, 1
cmp dword [0x5ccd84], 0
mov dword [ebp - 4], 2
jne 0x41485b
push dword [0x5ccd7c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5ccd78]
call fcn.00414cf0
mov al, bl
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 0x415990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor bl, bl
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x14], 0
mov dword [edi], 0
cmp dword [eax + 0x14], 8
jb 0x4159c6
mov eax, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415a2e
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
jb 0x4159f6
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415a25
cmp dword [ebp - 8], 4
jne 0x415a25
cmp dword [ebp - 0xc], 4
jne 0x415a25
mov eax, dword [ebp - 0x10]
mov bl, 1
mov dword [edi], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x415b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x415ba5
cmp eax, 0x104
jae 0x415ba5
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415b76
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00408740
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0040154f
mov esp, ebp
pop ebp
ret