joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x414611
test ebx, ebx
je 0x414611
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x414611
push 0x1c
lea eax, [ebp - 0x24]
mov dword [ebp - 8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4145a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, 0x40
and eax, 0xf0
lea eax, [ebp - 8]
push eax
mov eax, 4
cmovne eax, ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4145f8
push edi
push ebx
push esi
call fcn.0056a3d0
add esp, 0xc
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push dword [ebp - 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ebx, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x57
pop edi
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x414900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598edc
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x62cf50]
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 [0x6359c4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x631ad4]
cmp eax, dword [ecx + 4]
jg 0x414964
mov eax, dword [0x631ad0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
push 0x631ad4
call fcn.0040b37e
add esp, 4
cmp dword [0x631ad4], 0xffffffff
jne 0x414945
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x20019
xor esi, esi
mov dword [ebp - 0x2c], 0
push esi
push 0x5b4900
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4149ea
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 0x5b4974
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4149df
cmp dword [ebp - 0x14], 4
jne 0x4149df
mov esi, dword [ebp - 0x18]
jmp 0x414a40
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4149ea
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push 0x5b49a8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414a4b
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 0x414a40
cmp dword [ebp - 0x1c], 4
cmove esi, dword [ebp - 0x20]
jmp 0x414a40
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414a4b
push 0x631ad4
mov dword [0x631ad0], esi
call fcn.0040b56b
add esp, 4
jmp 0x414945
Function at 0x415550
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599080
mov eax, dword fs:[0]
push eax
mov eax, 0x140c
call fcn.00552d20
mov eax, dword [0x62cf50]
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 eax, dword [0x62bcac]
cmp eax, 0xffffffff
je 0x41569f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
and ebx, 0xfffffffc
test al, 3
je 0x41569f
lea eax, [ebp - 0x810]
mov ecx, 0x200
mov esi, ebx
lea edi, [ebp - 0x810]
or eax, 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x62bcac]
push eax
push ecx
mov dword [ebp - 0x1418], ecx
call fcn.00415bc0
push ebx
call fcn.0041e935
add esp, 0xc
call fcn.00415d80
mov ecx, eax
mov dword [ebp - 0x1414], eax
call fcn.00415730
mov ecx, 0x300
lea edi, [ebp - 0x1410]
mov esi, 0x633e10
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x1414]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1414], 0x100
xor dl, dl
lea esi, [ebp - 0x1408]
xor edi, edi
nop word [eax + eax]
mov ecx, dword [ebp + edi*8 - 0x810]
test ecx, ecx
je 0x41566e
cmp dword [esi - 8], 0
je 0x41566e
mov eax, dword [ebp + edi*8 - 0x80c]
cmp eax, dword [esi]
jne 0x41566e
mov ebx, dword [esi - 4]
test ebx, ebx
je 0x41566e
push ecx
mov ecx, ebx
mov dword [ebp + edi*8 - 0x810], 0
call dword [0x5b1854]
call ebx
add esp, 4
mov dl, 1
inc edi
add esi, 0xc
cmp edi, 0x100
jl 0x415630
mov eax, dword [ebp - 0x1414]
dec eax
mov dword [ebp - 0x1414], eax
test eax, eax
jle 0x41568f
test dl, dl
jne 0x415620
push 2
push dword [ebp - 0x1418]
call fcn.00415bc0
add esp, 8
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 int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x415930
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x62bcac]
mov dword [ebp - 0x808], eax
cmp eax, 0xffffffff
jne 0x4159bb
lea eax, [ebp - 0x808]
push eax
call fcn.00415ba0
mov ecx, dword [ebp - 0x808]
add esp, 4
cmp ecx, 0xffffffff
jne 0x415989
lea eax, [ebp - 0x808]
push eax
call fcn.00415ba0
push 0xffffffffffffffff
call fcn.004a27b0
mov ecx, dword [ebp - 0x808]
add esp, 8
mov edx, 0x62bcac
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x4159b5
push dword [ebp - 0x808]
call fcn.004a27b0
mov eax, dword [0x62bcac]
add esp, 4
mov dword [ebp - 0x808], eax
jmp 0x4159bb
mov eax, dword [ebp - 0x808]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0056aed0
lea eax, [ebp - 0x804]
or eax, 3
push eax
push dword [ebp - 0x808]
call fcn.00415bc0
push 0x800
call fcn.00415d06
mov ebx, eax
lea esi, [ebp - 0x804]
mov ecx, 0x200
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
or ecx, 3
push ecx
push dword [ebp - 0x808]
call fcn.00415bc0
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x418610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5994f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x62cf50]
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.00409db0
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.00409db0
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 0x41870d
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 0x418704
cmp dword [ebp - 0x14], 4
jne 0x418704
cmp dword [ebp - 0x18], 4
jne 0x418704
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 0x418726
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a5e0
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 0x418756
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a5e0
test bl, bl
je 0x418761
test esi, esi
setne al
jmp 0x418763
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 int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x418780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5994f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x62cf50]
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.00409db0
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.00409db0
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 0x41887d
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 0x418874
cmp dword [ebp - 0x14], 4
jne 0x418874
cmp dword [ebp - 0x18], 4
jne 0x418874
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 0x418896
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a5e0
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 0x4188c6
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a5e0
test bl, bl
je 0x4188d1
test esi, esi
setne al
jmp 0x4188d3
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 int.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x418a00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x62cf50]
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 0x418a75
cmp eax, 0x104
jae 0x418a75
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418a46
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00409db0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x419a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62cf50]
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 0x419a66
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 0x419ace
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
jb 0x419a96
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 0x419ac5
cmp dword [ebp - 8], 4
jne 0x419ac5
cmp dword [ebp - 0xc], 4
jne 0x419ac5
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 int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x41d800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
push 0x20a
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push 0
push eax
mov byte [ebp - 0x219], 0
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x218], 0
cmp dword [edi + 0x14], 8
jb 0x41d85d
mov edi, dword [edi]
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d8e7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x214], 0x20a
jb 0x41d88d
mov esi, dword [esi]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d8db
cmp word [ebp - 0x210], ax
je 0x41d8db
test ebx, ebx
je 0x41d8d4
cmp word [ebx], ax
je 0x41d8d4
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x41d8db
mov byte [ebp - 0x219], 1
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x219], 0
lea edx, [ebp - 0x210]
mov ebx, dword [ebp - 0x220]
mov eax, 0x5b6ea8
cmove edx, eax
xor eax, eax
mov ecx, edx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d920
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00409db0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x420020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x63348c], 0
jne 0x4200a1
mov eax, 1
mov word [0x63348c], ax
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push str.SOFTWAREAdobeAcroPerf
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4200a1
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 4
push ecx
push 0
push 0
push str.bLaunchTiming
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
xor eax, eax
cmp dword [ebp - 8], eax
setne al
mov word [0x633488], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov ax, word [0x633488]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x421215
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00583d3c
Function at 0x426770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a2a4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x62cf50]
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 dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [edi], 0
mov dword [edi + 4], 0
push 0x18
lfence
call fcn.00406b5e
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x2c
mov dword [ebp - 0x24], esi
lfence
call fcn.00406b5e
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x40
mov dword [ebp - 0x24], esi
lfence
call fcn.00406b5e
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [ebp - 0x24], esi
lfence
call fcn.00406b5e
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x20]
mov byte [ebp - 4], 3
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [ebp - 0x24], esi
lfence
call fcn.00406b5e
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 4
push eax
mov byte [edi + 0x28], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x20019
push 0
push str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42691a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push eax
push 0
push 0x5c8d80
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426911
cmp dword [ebp - 0x14], 4
jne 0x426911
cmp dword [ebp - 0x18], 4
jne 0x426911
cmp dword [ebp - 0x1c], eax
setne cl
mov byte [edi + 0x28], cl
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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 int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4297c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
xor al, al
test edi, edi
je 0x42983c
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42983b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42981e
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x4ace70
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x12
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
test eax, eax
jne 0x429824
pop ebx
mov al, 1
pop edi
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
pop ebx
pop edi
pop ebp
ret

Function at 0x42d0a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a9a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x62cf50]
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, ecx
cmp dword [esi + 8], 0
lea edi, [esi + 0x10]
mov dword [esi], 0x5c056c
jne 0x42d12f
push 0x5c0588
push edi
call fcn.0042c780
add esp, 8
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0042cb60
test byte [0x633d1c], 1
je 0x42d127
call fcn.0049b990
test al, al
je 0x42d127
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x14]
push 0
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [0x633d24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x2c]
call fcn.0040c7f0
lea ecx, [esi + 0xb8]
call fcn.0042d160
mov ecx, edi
call fcn.0042d1b0
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 int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x42db20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x105
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42dbb9
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x42dbb9
cmp byte [ebp + 0xc], 0
je 0x42db84
push 0x5c0e34
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.004471d0
test eax, eax
js 0x42dbb9
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x210]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dba0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
jmp 0x42dbd2
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x5b6ea8
mov ecx, esi
call fcn.00409db0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call int.004016cd
mov esp, ebp
pop ebp
ret