joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427650
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
call fcn.0042dc90
add esp, 8
test eax, eax
jne 0x427679
pop edi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push esi
lea ecx, [ebp - 0x14]
call fcn.0042e130
push 0
push 1
push dword [ebp + 0x18]
lea ecx, [ebp - 0x14]
call fcn.0042ef50
test al, al
je 0x42773f
push 0
push 1
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0042ef50
test al, al
je 0x42773f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov esi, dword [eax]
push dword [ecx]
push edi
mov esi, dword [esi + 0x30]
mov ecx, esi
push ebx
push eax
call dword [0x438430]
call esi
mov esi, eax
test esi, esi
jne 0x427744
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
mov ecx, dword [ebp + 8]
add esp, 8
mov esi, eax
mov eax, dword [ecx]
push dword [ebp + 0x14]
push 1
mov eax, dword [eax + 0x2c]
mov dword [ebp - 4], eax
test esi, esi
jne 0x42771b
push dword [ebp + 0x1c]
push edi
push ebx
push ecx
mov ecx, eax
call dword [0x438430]
call dword [ebp - 4]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0042e360
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push dword [ebp + 0x18]
push edi
push ebx
push ecx
mov ecx, eax
call dword [0x438430]
call dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.0042e360
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, 1
lea ecx, [ebp - 0x14]
call fcn.0042e360
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x427820
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042dc90
add esp, 8
test eax, eax
jne 0x427843
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret 0x10
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
test esi, esi
je 0x4278ed
lea ecx, [ebp - 0x10]
call fcn.0042e130
push 1
push edi
push esi
lea ecx, [ebp - 0x10]
call fcn.0042ef50
test al, al
jne 0x42787d
lea ecx, [ebp - 0x10]
call fcn.0042e360
lea eax, [edi + 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427882
sub ecx, edx
sar ecx, 1
je 0x4278d6
movzx eax, word [esi + ecx*2 - 2]
cmp eax, 0x2e
je 0x4278d6
cmp ecx, 1
jbe 0x4278af
cmp word [esi + ecx*2 - 4], 0x2e
jne 0x4278af
cmp eax, 0x5c
je 0x4278d6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4278db
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0042e360
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, 1
lea ecx, [ebp - 0x10]
call fcn.0042e360
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x427900
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042dc90
add esp, 8
test eax, eax
jne 0x427923
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret 0x10
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
test edi, edi
je 0x42797d
lea ecx, [ebp - 0x10]
call fcn.0042e130
push esi
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.0042ef50
test al, al
jne 0x427958
lea ecx, [ebp - 0x10]
call fcn.0042e360
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x42796b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0042e360
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, 1
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x427f30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 8]
call fcn.0042a940
add esp, 0xc
test al, al
jne 0x427f58
mov eax, 0x57
mov esp, ebp
pop ebp
ret 0x10
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x427f80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push ebx
push esi
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 8]
call fcn.0042a940
add esp, 0xc
test al, al
je 0x42806c
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x42806c
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x42806c
cmp word [esi], 1
jne 0x42805f
cmp dword [esi + 4], 1
jne 0x42805f
cmp dword [esi + 0x14], 0
jne 0x42805f
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
jne 0x428071
cmp ebx, 2
jb 0x42805f
test bl, 1
jne 0x42805f
cmp dword [esi + 0x10], ebx
jne 0x42805f
mov edx, dword [ebp - 4]
cmp byte [edx + ebx - 2], al
jne 0x42805f
cmp byte [edx + ebx - 1], al
jne 0x42805f
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428010
sub ecx, edi
sar ecx, 1
pop edi
lea eax, [ecx*2 + 2]
cmp eax, ebx
jne 0x42805f
push ebx
push edx
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42804e
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x57
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x428080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 8]
call fcn.0042a940
add esp, 0xc
test al, al
jne 0x4280aa
mov eax, 0x57
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4280e5
cmp dword [ebp - 0xc], 4
jne 0x4280e5
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4280f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push esi
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 8]
call fcn.0042a940
add esp, 0xc
test al, al
je 0x4281ac
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x4281ac
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4281a0
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x428197
push eax
push 0
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov dword [esi], eax
test eax, eax
jne 0x428169
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
jne 0x428197
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x57
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4281c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 8]
call fcn.0042a940
add esp, 0xc
test al, al
jne 0x4281e8
mov eax, 0x57
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4285b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa48
mov eax, dword [0x442f98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
push eax
push ecx
call fcn.0042dc90
add esp, 8
test eax, eax
je 0x428729
push 0x3c
lea eax, [ebp - 0xa48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa2c], eax
lea eax, [ebp - 0x208]
push eax
push 0
push 0
push 0
push esi
mov dword [ebp - 0xa48], 0x3c
mov dword [ebp - 0xa44], 0x100
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], edi
mov dword [ebp - 0xa38], esi
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa30], ebx
mov dword [ebp - 0xa0c], 0x400
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath]
add esp, 0x20
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa08]
push eax
push str.open
lea eax, [ebp - 0x208]
push eax
push 9
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jne 0x428729
push dword [ebp - 0xa0c]
lea eax, [ebp - 0xa08]
push str.WinWord
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x428703
push dword [ebp - 0xa0c]
lea eax, [ebp - 0xa08]
push str.Excel
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x428703
push dword [ebp - 0xa0c]
lea eax, [ebp - 0xa08]
push str.OUTLOOK
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x428703
push dword [ebp - 0xa0c]
lea eax, [ebp - 0xa08]
push str.POWERPNT
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x428729
lea eax, [ebp - 0xa48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x428729
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ca0
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434ca0
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x428750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x442f98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push eax
push ecx
call fcn.0042dc90
add esp, 8
test eax, eax
jne 0x428791
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ca0
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4287c0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ca0
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
pop esi
sete cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ca0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429d30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4369e7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x442f98]
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 0x439f74
xor bl, bl
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x429f37
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
test edi, edi
je 0x429d95
mov eax, dword [ebx]
test eax, eax
je 0x429d8f
mov eax, dword [eax]
jmp 0x429d91
xor eax, eax
cmp eax, edi
je 0x429dee
mov ecx, ebx
call fcn.0042a570
push 0xc
call fcn.00434c53
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x429ddb
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x429ddd
test edi, edi
jne 0x429f54
jmp 0x429ddd
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], esi
test esi, esi
je 0x429f5e
push dword [0x43f034]
lea ecx, [ebp - 0x14]
call fcn.00429910
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00429a20
mov esi, dword [ebp - 0x14]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x429e5e
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x429e5e
mov eax, dword [esi]
test eax, eax
je 0x429e3c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x429e53
push eax
call fcn.00434cba
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00434c83
add esp, 8
push 0x439654
lea ecx, [ebp - 0x14]
call fcn.00429910
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00429a20
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x429eca
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x429eca
mov eax, dword [esi]
test eax, eax
je 0x429ea8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x429ebf
push eax
call fcn.00434cba
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00434c83
add esp, 8
push dword [0x43f038]
lea ecx, [ebp - 0x14]
call fcn.00429910
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.00429a20
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x429f35
lock xadd dword [esi + 8], edi
dec edi
jne 0x429f35
mov eax, dword [esi]
test eax, eax
je 0x429f13
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x429f2a
push eax
call fcn.00434cba
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00434c83
add esp, 8
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.0042f0f0
push 0x8007000e
call fcn.0042f0f0
int3
Function at 0x42a2d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a3db
push esi
push 0x1fe
mov dword [ebp - 8], 0xff
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x42a3d1
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 dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42a3c7
nop
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 dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42a3c7
push esi
push dword [ebp - 4]
call fcn.0042a2d0
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 dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42a3c7
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x42a3c7
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 dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42a340
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esp, ebp
pop ebp
ret
Function at 0x42aa30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436a5f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x442f98]
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 0x4398e0
mov byte [edi + 0x20], al
call fcn.0042d850
mov dword [edi + 0x18], eax
test eax, eax
je 0x42ab84
push 0xc
call fcn.00434c53
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x42aaf3
push str.MAPIFreeBuffer
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MAPIAllocateBuffer
push dword [edi + 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx], vtable.MapiAllocator.0
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
jmp 0x42aaf5
xor ebx, ebx
push str.MAPIInitialize
push dword [edi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MAPIUninitialize
push dword [edi + 0x18]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MAPILogonEx
push dword [edi + 0x18]
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HrQueryAllRows
push dword [edi + 0x18]
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [edi + 4]
mov dword [edi + 0x10], eax
test esi, esi
je 0x42ab84
cmp dword [edi + 8], 0
je 0x42ab84
cmp dword [edi + 0xc], 0
je 0x42ab84
push 0
mov ecx, esi
call dword [0x438430]
call esi
mov dword [edi + 0x1c], eax
test eax, eax
js 0x42ab8b
mov esi, dword [edi + 0xc]
mov ecx, esi
push edi
push 0x63
push 0
push 0
push 0
call dword [0x438430]
call esi
mov dword [edi + 0x1c], eax
jmp 0x42ab8b
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 0x42d850
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x43c4e0
push 0x435200
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x442f98]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
cmp dword [0x4435b4], 0
jne 0x42d92b
mov eax, dword [0x4435b0]
test eax, eax
jne 0x42d92b
mov ecx, dword [0x4435bc]
test ecx, ecx
je 0x42d8c8
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4435b0]
mov ecx, dword [0x4435bc]
test eax, eax
jne 0x42d92b
test ecx, ecx
jne 0x42d8d9
call fcn.00424d60
test eax, eax
je 0x42d8ec
lea eax, [ebp - 0x20]
push eax
push dword [section..data]
call fcn.00424ab0
test eax, eax
jne 0x42d92b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x42d921
cmp eax, 0x7e
je 0x42d921
cmp eax, 0x78
je 0x42d921
cmp eax, 1
je 0x42d921
cmp eax, 0x32
je 0x42d921
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [0x4435b0], 1
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.0042d965
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42d9d0
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 - 8], esi
call fcn.004016a0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42da97
push eax
push 0x401580
push dword [edi]
call fcn.004017d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x42da97
push eax
push 0x43f058
push dword [edi]
call fcn.00401820
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x42da97
push 0x10
mov dword [ebp - 8], 0x10
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
sete bl
test esi, esi
je 0x42da93
push 0xf0000000
push 1
push 0
xorps xmm0, xmm0
lea eax, [ebp - 4]
push 0
movups xmmword [esi], xmm0
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x42da93
push esi
push 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x42da93
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
push 0x10
push esi
push dword [edi]
call fcn.00401850
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x42daa9
push edi
call fcn.00401790
mov eax, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x42dab8
jmp 0x42daac
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x42dac6
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436b49
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x442f98]
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 - 0x21c], edi
push 0
push 0
mov dword [ebp - 0x220], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0042de00
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x21c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042de00
mov dword [esi], eax
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_AcrobatDC
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042eb40
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_ReaderDC
mov ecx, edi
call fcn.0042eb40
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_SynchronizerDC
mov ecx, edi
call fcn.0042eb40
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42e22a
push str.AdobeAcrobatDC
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042e870
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42e269
push str.AdobeAcrobatDC
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042e870
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42e2a8
push str.AdobeLinguisticsDictionaries
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042e870
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov ecx, edi
call fcn.0042e950
push str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
mov ecx, edi
call fcn.0042e950
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 fcn.00434ca0
mov esp, ebp
pop ebp
ret