joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402890
Capabilities:
Parse pe header

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

Function at 0x4038b0
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 [0x5817c0]
mov ecx, ebx
call esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4039b3
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 [0x5817c0]
mov ecx, ebx
call esi
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4039b3
mov ecx, dword [ebp + 8]
cmp ecx, 0xffff
ja 0x40391c
movzx edi, cx
jmp 0x4039e8
mov eax, dword [ebx]
push dword [edi + 0x20]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5817c0]
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 0x4039b3
mov eax, edi
sub eax, edx
sar eax, 2
mov eax, eax
test eax, eax
jns 0x403951
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 [0x5817c0]
mov ecx, ebx
call esi
mov esi, dword [ebp + 8]
mov dl, byte [esi]
test dl, dl
je 0x403991
mov cl, dl
sub esi, eax
nop dword [eax]
mov dl, cl
cmp cl, byte [eax]
jne 0x403991
mov cl, byte [esi + eax + 1]
inc eax
mov dl, cl
test cl, cl
jne 0x403980
movzx eax, byte [eax]
movzx ecx, dl
sub ecx, eax
je 0x4039be
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 0x403941
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 [0x5817c0]
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 [0x5817c0]
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 0x408bb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b617
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5edd38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5f38f4], 0
je 0x408bf1
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.00406a5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x408c23
push 0x30
push 0
push esi
call fcn.0053f340
add esp, 0xc
mov ecx, esi
push 0
call fcn.00408cb0
jmp 0x408c25
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5f38f4], 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 0x408c52
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00408f30
mov ecx, dword [0x5f38f4]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 1
call fcn.004090a0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 2
cmp eax, 8
jb 0x408c9d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
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 0x4090a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b698
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5edd38]
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.00409170
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x409133
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.00409b80
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x40914f
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040a2e0
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.00401682
mov esp, ebp
pop ebp
ret 4
Function at 0x40cf80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5edd38]
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.0053f340
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.004066c8
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 0x40d0cf
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 0x40d09a
cmp dword [ebp - 0x210], 4
jne 0x40d09a
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.00401682
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0x10], 0
mov ebx, esi
je 0x40d0af
test edi, edi
je 0x40d0af
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.00401682
mov esp, ebp
pop ebp
ret
mov eax, esi
test bx, bx
je 0x40d0e4
test edi, edi
je 0x40d0e4
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.00401682
mov esp, ebp
pop ebp
ret
Function at 0x40e9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x5edd38]
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.0040eae0
add esp, 0x14
test eax, eax
js 0x40eaca
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 0x40eaca
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 0x40eabe
cmp dword [ebp - 0x808], 4
jne 0x40eabe
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.00401682
mov esp, ebp
pop ebp
ret

Function at 0x410940
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 0x410963
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410998
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x410998
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x41098d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410998
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4109d5
push 0x5f42f8
push 0x208
call fcn.0041bedf
mov esi, eax
add esp, 8
test esi, esi
je 0x4109d5
push 0x208
push 0
push esi
call fcn.0053f340
push 0
push esi
call fcn.0047a280
add esp, 0x14
test eax, eax
je 0x4109da
push esi
call fcn.0041c2b1
add esp, 4
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
jae 0x4109ec
add eax, 0x3e8
push ebx
push 1
push eax
push esi
call fcn.0047a470
xor ebx, ebx
add esp, 0xc
test eax, eax
sete bl
test eax, eax
jne 0x410a37
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
je 0x410a36
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 1
jne 0x410a23
push 0
push 0xce
jmp 0x410a2d
test edi, edi
jne 0x410a36
push edi
push 0xcc
push esi
call fcn.0047a470
add esp, 0xc
pop edi
push esi
call fcn.0041c2b1
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x411710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c26b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5edd38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0x592e40
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0xc
lfence
call fcn.00406a5e
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x2c], eax
lea esi, [edi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x14
mov dword [ebp - 0x10], esi
lfence
call fcn.00406a5e
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x3c], 0
mov word [edi + 0x44], ax
mov eax, edi
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411db0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5cf6b0
push 0x53f500
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5edd38]
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 0x411f7c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x411f7c
cmp byte [ecx], bl
je 0x411f7c
test eax, eax
je 0x411f7c
cmp byte [eax], bl
je 0x411f7c
test esi, esi
je 0x411f7c
cmp dword [ebp + 0x18], 0
je 0x411f7c
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x411f7c
push 0
push 0x40
push esi
call fcn.00412030
add esp, 0xc
test al, al
je 0x411f7c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x411f7c
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x30], eax
push 0
push 0xf8
push eax
call fcn.00412030
add esp, 0xc
test al, al
je 0x411f7c
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0x4550
jne 0x411f7c
mov esi, dword [eax + 0x80]
mov edx, dword [ebp - 0x2c]
add esi, edx
cmp esi, eax
je 0x411fa2
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411eb4
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x411ef6
mov edi, edx
nop word [eax + eax]
add eax, edi
push ecx
push dword [ebp - 0x20]
push eax
call fcn.00412198
add esp, 0xc
test eax, eax
je 0x411ef0
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
mov ecx, dword [ebp - 0x30]
jne 0x411ed0
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
cmp dword [esi + 0xc], 0
je 0x411fa2
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 0x411f7c
cmp eax, ecx
jne 0x411f9a
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 0x411f7c
mov dword [ebp - 4], 0
xchg dword [esi], edi
mov bl, 1
mov byte [ebp - 0x25], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x411f65
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.00401682
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x411f08
xor al, al
jmp 0x411f7e
Function at 0x413950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c42c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5edd38]
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 [0x5f4760]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5f1690]
cmp eax, dword [ecx + 4]
jg 0x4139b4
mov eax, dword [0x5f168c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
push 0x5f1690
call fcn.00410499
add esp, 4
cmp dword [0x5f1690], 0xffffffff
jne 0x413995
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x20019
xor esi, esi
mov dword [ebp - 0x2c], 0
push esi
push 0x583df0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413a3a
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 0x583e64
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413a2f
cmp dword [ebp - 0x14], 4
jne 0x413a2f
mov esi, dword [ebp - 0x18]
jmp 0x413a90
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413a3a
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push 0x583e98
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413a9b
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 0x413a90
cmp dword [ebp - 0x1c], 4
cmove esi, dword [ebp - 0x20]
jmp 0x413a90
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413a9b
push 0x5f1690
mov dword [0x5f168c], esi
call fcn.00410720
add esp, 4
jmp 0x413995
Function at 0x4147f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c5b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5edd38]
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 [0x5f38c0], eax
call fcn.004149b0
add esp, 8
cmp dword [0x5f38d0], 0
jne 0x414846
push 0xffffffffffffffff
push dword [0x5f38c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x414851
mov ecx, dword [0x5f38c4]
call fcn.00414cb0
mov eax, dword [0x5f38e0]
mov dword [ebp - 4], 0
test eax, eax
je 0x414872
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5f38e0], 0
mov eax, dword [ebp + 0xc]
mov dword [0x5f38d8], eax
test eax, eax
je 0x4148f9
cmp eax, 2
je 0x4148f9
mov ecx, dword [0x5f38dc]
test ecx, ecx
jne 0x4148ba
push 0x18
call fcn.00406a5e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4148b2
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
jmp 0x4148b4
xor ecx, ecx
mov dword [0x5f38dc], ecx
mov edx, esi
lea edi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4148c0
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.00408f30
cmp dword [ebp + 0x14], 0
jne 0x4148f0
mov eax, dword [0x5f38dc]
cmp dword [eax + 0x14], 8
jb 0x4148e9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00497040
mov bl, al
jmp 0x4148fb
mov bl, 1
cmp dword [0x5f38d0], 0
mov dword [ebp - 4], 1
jne 0x41492b
push dword [0x5f38c8]
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 [0x5f38c4]
call fcn.00414d30
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 0x4157a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c730
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x16
xor eax, eax
mov dword [ebp - 0x40], 0
push str.bEnableSameObjectCheck
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov bh, 1
mov word [ebp - 0x50], ax
call fcn.00408f30
push 0x39
xor eax, eax
mov dword [ebp - 4], 0
push str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00408f30
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bh
push ecx
xor esi, esi
mov dword [ebp - 0x20], 0
push 0x20019
xor bl, bl
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push esi
cmovae eax, dword [ebp - 0x38]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41589d
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push ecx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], 4
cmovae eax, dword [ebp - 0x50]
push esi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415894
cmp dword [ebp - 0x14], 4
jne 0x415894
cmp dword [ebp - 0x18], 4
jne 0x415894
mov esi, dword [ebp - 0x1c]
mov bl, bh
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4158b6
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x4158e6
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a2e0
test bl, bl
je 0x4158f1
test esi, esi
setne al
jmp 0x4158f3
mov al, bh
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.00401682
mov esp, ebp
pop ebp
ret
Function at 0x415910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c730
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x25
xor eax, eax
mov dword [ebp - 0x40], 0
push str.bFilePathPreprocessingShortcutEnabled
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov bh, 1
mov word [ebp - 0x50], ax
call fcn.00408f30
push 0x39
xor eax, eax
mov dword [ebp - 4], 0
push str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00408f30
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bh
push ecx
xor esi, esi
mov dword [ebp - 0x20], 0
push 0x20019
xor bl, bl
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push esi
cmovae eax, dword [ebp - 0x38]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415a0d
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push ecx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], 4
cmovae eax, dword [ebp - 0x50]
push esi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415a04
cmp dword [ebp - 0x14], 4
jne 0x415a04
cmp dword [ebp - 0x18], 4
jne 0x415a04
mov esi, dword [ebp - 0x1c]
mov bl, bh
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x415a26
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x415a56
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a2e0
test bl, bl
je 0x415a61
test esi, esi
setne al
jmp 0x415a63
mov al, bh
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.00401682
mov esp, ebp
pop ebp
ret

Function at 0x415a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5edd38]
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 0x415af5
cmp eax, 0x104
jae 0x415af5
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415ac6
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00408f30
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00401682
mov esp, ebp
pop ebp
ret