joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042cd40
add esp, 8
test eax, eax
jne 0x4283af
mov eax, 0x80004005
jmp 0x4284f9
mov edi, dword [ebp + 0x20]
test edi, edi
jne 0x4283ba
xor ebx, ebx
jmp 0x4283f5
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4283c0
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4283de
xor ebx, ebx
jmp 0x4283f5
add esi, esi
mov eax, esi
call fcn.00433750
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00425570
mov ebx, eax
push dword [ebp + 0x14]
call fcn.00426420
add esp, 4
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x1c]
call fcn.0042d110
mov edi, dword [ebp + 0x18]
lea ecx, [ebp - 0x1c]
push edi
push dword [ebp - 0xc]
call fcn.0042df30
test al, al
jne 0x428428
mov esi, 1
jmp 0x4284ef
test edi, edi
jne 0x428430
xor eax, eax
jmp 0x428468
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428435
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x428453
xor eax, eax
jmp 0x428468
add esi, esi
mov eax, esi
call fcn.00433750
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00425570
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4284ed
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x4284af
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428495
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4284b3
xor esi, esi
jmp 0x4284ca
add esi, esi
mov eax, esi
call fcn.00433750
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00425570
mov esi, eax
push ebx
call fcn.00425510
add esp, 4
inc eax
push eax
push ebx
push 3
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x1c]
call fcn.0042d2f0
mov eax, esi
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043342a
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x428510
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042cd40
add esp, 8
test eax, eax
jne 0x42853f
mov eax, 0x80004005
jmp 0x42863c
push dword [ebp + 0x14]
call fcn.00426420
add esp, 4
lea ecx, [ebp - 0x18]
mov ebx, eax
call fcn.0042d110
mov edi, dword [ebp + 0x18]
lea ecx, [ebp - 0x18]
push edi
push ebx
call fcn.0042df30
test al, al
jne 0x42856f
mov esi, 1
jmp 0x428632
test edi, edi
jne 0x428577
xor eax, eax
jmp 0x4285b3
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428580
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42859e
xor eax, eax
jmp 0x4285b3
add esi, esi
mov eax, esi
call fcn.00433750
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00425570
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x428630
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x4285fa
mov ecx, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4285e0
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4285fe
xor eax, eax
jmp 0x428613
add esi, esi
mov eax, esi
call fcn.00433750
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00425570
push 4
lea ecx, [ebp + 0x20]
push ecx
push 4
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x18]
call fcn.0042d2f0
mov eax, esi
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043342a
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x428660
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042cd40
add esp, 8
test eax, eax
jne 0x42868f
mov eax, 0x80004005
jmp 0x42876d
push dword [ebp + 0x14]
call fcn.00426420
add esp, 4
lea ecx, [ebp - 0x18]
mov ebx, eax
call fcn.0042d110
mov edi, dword [ebp + 0x18]
lea ecx, [ebp - 0x18]
push edi
push ebx
call fcn.0042df30
test al, al
jne 0x4286bf
mov esi, 1
jmp 0x428763
test edi, edi
jne 0x4286c7
xor eax, eax
jmp 0x428703
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4286d0
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4286ee
xor eax, eax
jmp 0x428703
add esi, esi
mov eax, esi
call fcn.00433750
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00425570
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x428761
mov edx, dword [ebp + 0x20]
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428730
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x18]
call fcn.0042d2f0
mov eax, esi
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043342a
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x428790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4347b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x43ffa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0x437afc
xor bl, bl
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x428875
push dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00425330
push dword [0x43c040]
lea ecx, [ebp - 0x14]
call fcn.004251a0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00425480
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004252d0
push 0x436e74
lea ecx, [ebp - 0x14]
call fcn.004251a0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00425480
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004252d0
push dword [0x43c044]
lea ecx, [ebp - 0x14]
call fcn.004251a0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00425480
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004252d0
mov bl, 1
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4288b0
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll_wcscat_s]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
push 0x437074
push 0x104
push edi
mov dword [ebp - 0x874], edi
mov dword [ebp - 0x870], eax
call ebx
push 0x437074
push 0x104
push dword [ebp - 0x870]
call ebx
push edi
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
push 0x437180
lea eax, [ebp - 0x61c]
push 0x104
push eax
call ebx
add esp, 0x30
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x428959
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043342a
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x428af3
lea eax, [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x428af3
push dword [ebp - 0x874]
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call ebx
push dword [ebp - 0x870]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call ebx
add esp, 0x30
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4289f7
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x86c], 0x10
jne 0x428a25
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x428961
xor esi, esi
jmp 0x428961
mov ecx, 0x437188
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428a56
test dx, dx
je 0x428a52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428a56
add eax, 4
add ecx, 4
test dx, dx
jne 0x428a30
xor eax, eax
jmp 0x428a5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x428961
mov eax, 0x43718c
lea ecx, [ebp - 0x840]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x428a96
test dx, dx
je 0x428a92
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x428a96
add ecx, 4
add eax, 4
test dx, dx
jne 0x428a70
xor eax, eax
jmp 0x428a9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x428961
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x428ace
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x428961
mov esi, 1
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004288b0
add esp, 8
test eax, eax
jne 0x428961
xor esi, esi
jmp 0x428961
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043342a
mov esp, ebp
pop ebp
ret
Function at 0x428b10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 4]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push eax
push 0xf003f
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x428c21
push esi
push 0x1fe
mov dword [ebp - 8], 0xff
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x428c17
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xff
push eax
push esi
push 0
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x428c0a
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ebx, [ebx]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push dword [ebp - 4]
call edi
test eax, eax
jne 0x428c07
push esi
push dword [ebp - 4]
call fcn.00428b10
add esp, 8
lea eax, [ebp - 0xc]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push dword [ebp - 4]
call edi
test eax, eax
jne 0x428c07
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x428c07
lea eax, [ebp - 0x18]
mov dword [ebp - 8], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push esi
push 0
push dword [ebp - 4]
call ebx
test eax, eax
je 0x428b90
mov edi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR120.dll_free]
mov ebx, dword [ebp + 0xc]
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429b30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43484b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x43ffa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], 0
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0x2c], eax
setne al
push 0x4372d0
mov byte [edi + 0x20], al
call fcn.0042c5e0
mov dword [edi + 0x18], eax
test eax, eax
je 0x429c6b
push 0xc
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x429bfa
push str.MAPIFreeBuffer
push dword [edi + 0x18]
call esi
push str.MAPIAllocateBuffer
push dword [edi + 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx], vtable.MapiAllocator.0
mov dword [ebx + 4], eax
jmp 0x429bfc
xor ebx, ebx
push str.MAPIInitialize
push dword [edi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x14], ebx
call esi
push str.MAPIUninitialize
push dword [edi + 0x18]
mov dword [edi + 4], eax
call esi
push str.MAPILogonEx
push dword [edi + 0x18]
mov dword [edi + 8], eax
call esi
push str.HrQueryAllRows
push dword [edi + 0x18]
mov dword [edi + 0xc], eax
call esi
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x429c6b
cmp dword [edi + 8], 0
je 0x429c6b
cmp dword [edi + 0xc], 0
je 0x429c6b
push 0
call eax
mov dword [edi + 0x1c], eax
test eax, eax
js 0x429c72
mov eax, dword [edi + 0xc]
push edi
push 0x63
push 0
push 0
push 0
call eax
mov dword [edi + 0x1c], eax
jmp 0x429c72
mov dword [edi + 0x1c], 0x80040102
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x42cb30
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.004016a0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42cbf0
push eax
push 0x401580
push dword [edi]
call fcn.004017d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x42cbf0
push eax
push 0x43c064
push dword [edi]
call fcn.00401820
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x42cbf0
push 0x10
mov dword [ebp - 4], 0x10
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov esi, eax
test esi, esi
sete bl
test ebx, ebx
jne 0x42cbf0
push 0xf0000000
push 1
push ebx
xorps xmm0, xmm0
lea eax, [ebp - 8]
push ebx
movdqu xmmword [esi], xmm0
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x42cc02
push esi
push 0x10
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x42cc02
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
push 0x10
push esi
push dword [edi]
call fcn.00401850
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x42cc02
push edi
call fcn.00401790
mov eax, dword [ebp - 4]
add esp, 4
test eax, eax
je 0x42cc11
jmp 0x42cc05
mov eax, dword [ebp - 4]
push eax
push 0
push esi
call fcn.0043373c
add esp, 0xc
test esi, esi
je 0x42cc1f
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d110
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434919
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
mov dword [ebp - 0x21c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0042d910
mov dword [edi], eax
push 0
push 0
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0042d910
mov dword [edi + 8], eax
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_AcrobatDC
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042dc20
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_ReaderDC
mov ecx, edi
call fcn.0042dc20
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_SynchronizerDC
mov ecx, edi
call fcn.0042dc20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0043373c
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0
push 0x1a
push eax
push 0
call ebx
mov esi, dword [sym.imp.MSVCR120.dll_wcscat_s]
test eax, eax
je 0x42d20b
push str.AdobeAcrobatDC
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042d950
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
test eax, eax
je 0x42d242
push str.AdobeAcrobatDC
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042d950
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
test eax, eax
je 0x42d279
push str.AdobeLinguisticsDictionaries
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042d950
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov ecx, edi
call fcn.0042da40
push str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
mov ecx, edi
call fcn.0042da40
mov eax, edi
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.0043342a
mov esp, ebp
pop ebp
ret
Function at 0x42da40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
mov edi, ecx
lea ecx, [ebp - 0x810]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x42dc06
push esi
lea eax, [ebp - 0x814]
mov dword [ebp - 0x80c], 0x400
push eax
push 0x20019
push 0
push str.cAllowedRegistryPaths
push dword [ebp - 0x810]
call ebx
mov esi, dword [sym.imp.MSVCR120.dll_wcstok_s]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42db47
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push str.tWhiteList
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42db3f
mov eax, dword [ebp - 0x80c]
add eax, eax
cmp eax, 0x800
jae 0x42dc18
xor ecx, ecx
mov word [ebp + eax - 0x804], cx
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x808], ecx
push 0x437888
push eax
call esi
add esp, 0xc
lea ebx, [ebx]
push eax
mov ecx, edi
call fcn.0042dc20
lea eax, [ebp - 0x808]
push eax
push 0x437888
push 0
call esi
add esp, 0xc
test eax, eax
jne 0x42db20
push dword [ebp - 0x814]
call ebx
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push 0x43788c
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42dbfd
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push str.tWhiteList
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42dbf5
mov eax, dword [ebp - 0x80c]
add eax, eax
cmp eax, 0x800
jae 0x42dc18
xor ecx, ecx
mov word [ebp + eax - 0x804], cx
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x808], ecx
push 0x437888
push eax
call esi
add esp, 0xc
push eax
mov ecx, edi
call fcn.0042d950
lea eax, [ebp - 0x808]
push eax
push 0x437888
push 0
call esi
add esp, 0xc
test eax, eax
jne 0x42dbd6
push dword [ebp - 0x818]
call ebx
push dword [ebp - 0x810]
call ebx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043342a
mov esp, ebp
pop ebp
ret 4
call fcn.004335d8
int3

Function at 0x42e290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x42e301
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42e2fc
lea eax, [ebp + 8]
mov dword [ebp + 8], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
call esi
push dword [ebp - 4]
call esi
xor eax, eax
cmp dword [ebp - 8], eax
pop esi
setne al
mov esp, ebp
pop ebp
ret 0x10
Function at 0x432926
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov ecx, esi
call fcn.0042ef68
cmp dword [esi + 4], ebx
jne 0x432943
xor eax, eax
jmp 0x432b0c
push edi
mov ecx, esi
call fcn.0042ef68
xor edi, edi
inc edi
cmp dword [esi + 4], edi
jne 0x432972
push ebx
mov ecx, esi
call fcn.0042e5e1
movzx eax, ax
push eax
call fcn.00432dde
add esp, 4
test al, al
je 0x432972
mov eax, edi
jmp 0x432b0b
mov ecx, esi
call fcn.0042ef68
cmp dword [esi + 4], 3
push 2
pop edi
jne 0x4329de
push ebx
mov ecx, esi
call fcn.0042e5e1
movzx eax, ax
push eax
call dword [sym.imp.MSVCR120.dll_iswalpha]
pop ecx
test eax, eax
je 0x4329de
xor eax, eax
mov ecx, esi
inc eax
push eax
call fcn.0042e5e1
cmp ax, 0x3a
jne 0x4329de
push edi
mov ecx, esi
call fcn.0042e5e1
movzx eax, ax
push eax
call fcn.00432dde
add esp, 4
test al, al
je 0x4329de
mov ecx, esi
call fcn.0042ef68
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x432b0b
mov ecx, esi
call fcn.0042ef68
cmp dword [esi + 4], edi
jbe 0x432b09
push ebx
mov ecx, esi
call fcn.0042e5e1
movzx eax, ax
push eax
call fcn.00432dde
add esp, 4
test al, al
je 0x432b09
xor eax, eax
mov ecx, esi
inc eax
push eax
call fcn.0042e5e1
movzx eax, ax
push eax
call fcn.00432dde
add esp, 4
test al, al
je 0x432b09
push edi
mov ecx, esi
call fcn.0042e5e1
movzx eax, ax
push eax
call fcn.00432dde
add esp, 4
test al, al
jne 0x432b10
mov ecx, esi
inc edi
call fcn.0042ef68
cmp edi, dword [esi + 4]
jae 0x432a6a
push edi
mov ecx, esi
call fcn.0042e5e1
movzx eax, ax
push eax
call fcn.00432dde
add esp, 4
test al, al
je 0x432a45
mov ecx, esi
call fcn.0042ef68
cmp dword [esi + 4], edi
je 0x432b10
mov ecx, esi
inc edi
call fcn.0042ef68
cmp dword [esi + 4], edi
je 0x432b10
push edi
mov ecx, esi
call fcn.0042e5e1
movzx eax, ax
push eax
call fcn.00432dde
add esp, 4
test al, al
jne 0x432b10
mov ecx, esi
inc edi
call fcn.0042ef68
cmp edi, dword [esi + 4]
jae 0x432ac8
push edi
mov ecx, esi
call fcn.0042e5e1
movzx eax, ax
push eax
call fcn.00432dde
add esp, 4
test al, al
je 0x432aa3
mov ecx, esi
call fcn.0042ef68
lea eax, [edi + 1]
cmp dword [esi + 4], eax
ja 0x432b10
mov ecx, esi
call fcn.0042ef68
cmp dword [esi + 4], edi
jne 0x432af2
movzx eax, word [0x43ffa4]
mov ecx, esi
push eax
call fcn.0042e877
mov ecx, esi
call fcn.0042ef68
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb ebx, ebx
neg ebx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x432b0b
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
push 0
push str.__silent
push str.unins000.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
ret

Function at 0x405198
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00404e58