joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001746a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x1002c7f3
call fcn.1002a0fc
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x1001748b
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push 7
pop edi
mov dword [ebp - 0x800], ebx
mov dword [ebp - 0x7fc], edi
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
mov dword [ebp - 4], ebx
push eax
call fcn.10017661
pop ecx
test al, al
je 0x10017647
xor eax, eax
mov dword [ebp - 0x818], ebx
push 0x10030870
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], edi
mov word [ebp - 0x828], ax
call fcn.1000308f
xor eax, eax
mov byte [ebp - 4], 1
push str.SoftwareMicrosoftOffice_sOutlookSecurity
lea ecx, [ebp - 0x7f8]
mov dword [ebp - 0x7e8], ebx
mov dword [ebp - 0x7e4], edi
mov word [ebp - 0x7f8], ax
call fcn.1000308f
push ebx
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x7f8]
call fcn.1001fddd
cmp dword [ebp - 0x7fc], 8
mov ecx, eax
push dword [ebp - 0x800]
lea eax, [ebp - 0x810]
cmovae eax, dword [ebp - 0x810]
push eax
push dword [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x7f8]
call fcn.10014a6c
cmp dword [ebp - 0x7e4], 8
lea ecx, [ebp - 0x84c]
push ecx
push 0x20019
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10017629
lea eax, [ebp - 0x848]
mov dword [ebp - 0x844], ebx
push eax
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x848], 0x7d0
push eax
lea eax, [ebp - 0x844]
push eax
push ebx
push str.OutlookSecureTempFolder
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001761d
cmp dword [ebp - 0x844], 1
jne 0x1001761d
cmp dword [ebp - 0x848], eax
je 0x1001761d
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x830], ebx
push eax
mov dword [ebp - 0x82c], edi
call fcn.1000308f
lea eax, [ebp - 0x840]
mov ecx, esi
push eax
call fcn.1001fddd
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.1001fddd
mov byte [ebp - 4], 2
mov bl, 1
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 4
call fcn.1001fddd
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 5
call fcn.1001fddd
lea ecx, [ebp - 0x810]
mov dword [ebp - 4], 6
call fcn.1001fddd
mov al, bl
call fcn.1002a0a6
ret
Function at 0x10017661
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x814
mov eax, 0x1002c826
call fcn.1002a0fc
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x10017682
mov eax, dword [esi]
xor ecx, ecx
mov edi, 0x20019
mov word [eax], cx
lea eax, [ebp - 0x820]
push eax
push edi
push ebx
push str.Outlook.Application
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100177f4
lea eax, [ebp - 0x81c]
push eax
push edi
push ebx
push str.CurVer
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100177e8
lea eax, [ebp - 0x818]
mov dword [ebp - 0x814], ebx
push eax
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x818], 0x7d0
push eax
lea eax, [ebp - 0x814]
push eax
push ebx
push ebx
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100177dc
cmp dword [ebp - 0x814], 1
jne 0x100177dc
cmp dword [ebp - 0x818], ebx
je 0x100177dc
mov word [ebp - 0x7f8], ax
lea ecx, [ebp - 0x7f8]
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x7e8], ebx
push eax
mov dword [ebp - 0x7e4], 7
call fcn.1000308f
or edi, 0xffffffff
mov dword [ebp - 4], ebx
push edi
push 0x1002ff30
lea ecx, [ebp - 0x7f8]
call fcn.1001fddd
cmp eax, edi
je 0x100177c7
inc eax
cmp eax, edi
je 0x100177c7
push edi
xor ecx, ecx
mov dword [ebp - 0x800], ebx
push eax
lea eax, [ebp - 0x7f8]
mov word [ebp - 0x810], cx
push eax
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x7fc], 7
call fcn.1001fddd
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.1001fddd
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 1
call fcn.1001fddd
push 0x10030868
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.10013c2e
mov bl, 1
lea ecx, [ebp - 0x7f8]
mov dword [ebp - 4], 2
call fcn.1001fddd
mov dword [ebp - 4], edi
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.1002a0a6
ret

Function at 0x1001bb74
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1003d1f4], 0
jne 0x1001bbe3
push ebx
call fcn.1001fddd
xor ebx, ebx
mov byte [0x1003d1f5], al
inc ebx
test al, al
jne 0x1001bbdc
call fcn.100286d1
cmp eax, 0x6b
jl 0x1001bbdc
xor eax, eax
mov byte [ebp - 2], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 2]
push eax
call fcn.1001fddd
add esp, 0x10
test al, al
je 0x1001bbdc
movzx eax, byte [0x1003d1f5]
cmp byte [ebp - 1], 0
cmovne eax, ebx
mov byte [0x1003d1f5], al
mov byte [0x1003d1f4], bl
pop ebx
cmp byte [0x1003cde0], 0
je 0x1001bc26
cmp byte [0x1003d1f5], 0
mov ecx, str.FALSE
push esi
mov eax, str.TRUE
mov esi, 0x1003cde8
cmove eax, ecx
push eax
push str.IsRunningInAppContainer___s
push esi
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x1001bc25
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
mov al, byte [0x1003d1f5]
leave
ret
Function at 0x1001e688
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1003cde0], 0
push ebx
push esi
push edi
mov ebx, 0x1003d210
je 0x1001e6bc
push str._PDFX__PDFXSendOrSave
push ebx
call fcn.1001fddd
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x1001e6bc
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ebx, dword [edi + 0x20]
push dword [ebx + 0x24]
push eax
call fcn.1001fddd
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1001e7c1
cmp word [ebx + 0x58], ax
jne 0x1001e72e
cmp byte [0x1003cde0], al
je 0x1001e711
push str._PDFX__PDFXSendOrSave_Store
mov ebx, 0x1003d210
push ebx
call fcn.1001fddd
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x1001e711
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1001fddd
jmp 0x1001e7c1
cmp dword [edi + 0xc], 0
jne 0x1001e73c
xor eax, eax
inc eax
jmp 0x1001e7c3
push dword [edi + 0xc]
push dword [ebp - 4]
call fcn.1001fddd
pop ecx
pop ecx
test eax, eax
jne 0x1001e7c3
inc dword [edi + 0x38]
mov dword [ebp - 8], edi
cmp byte [0x1003cde0], al
je 0x1001e787
mov eax, dword [ebp + 0x14]
mov ebx, 0x1003d210
shr eax, 1
and eax, 1
push eax
push str._PDFX__PDFXSendOrSave_Send_waitCompleted___d
push ebx
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x1001e787
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0x14]
shr eax, 1
and eax, 1
push eax
push dword [ebp - 4]
call fcn.1001fddd
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001e7b9
test byte [ebp + 0x14], 4
je 0x1001e7b9
call fcn.10028a98
shr eax, 0x10
mov cx, 9
cmp cx, ax
sbb eax, eax
and esi, eax
lea ecx, [ebp - 8]
call fcn.1001fddd
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001e832
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x54
mov eax, 0x1002cbc4
call fcn.1002a0fc
mov esi, dword [ebp + 8]
xor eax, eax
cmp word [ebp + 0x20], ax
movzx ebx, word [ebp + 0x1c]
setne al
movzx eax, ax
push eax
push esi
call fcn.1001fddd
pop ecx
pop ecx
test eax, eax
jne 0x1001e974
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001e971
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1001e971
mov eax, dword [esi + 4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], esi
inc dword [eax + 0x38]
inc dword [esi + 0x14]
mov eax, dword [esi + 4]
and dword [ebp - 4], 0
test bx, bx
mov dword [ebp - 0x54], eax
mov eax, 0x50555348
mov dword [ebp - 0x58], 0x50455354
cmovne eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
xor eax, eax
mov word [ebp - 0x4c], ax
test bx, bx
lea eax, [esi + 0xc]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], eax
mov esi, 0x50454552
mov eax, 0x50444154
mov dword [ebp - 0x44], 4
cmovne eax, esi
mov dword [ebp - 0x34], edx
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x3c], ax
mov word [ebp - 0x2c], ax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
xor eax, eax
cmp byte [0x1003cde0], 0
push 4
pop ecx
mov word [ebp - 0x1c], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], 0x504f4653
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0x4c454e20
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
je 0x1001e947
test bx, bx
mov ecx, str.kPDFXPush
mov eax, str.kPDFXPushError
mov ebx, 0x1003d210
cmove eax, ecx
push eax
push esi
push str.__lx__PDFXSendOrSave__s_
push ebx
call fcn.1001fddd
add esp, 0x10
cmp byte [0x1003cde0], 0
je 0x1001e947
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor eax, eax
cmp word [ebp + 0x20], ax
push 8
pop ecx
cmovne eax, ecx
push eax
push 4
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.1001fddd
add esp, 0x10
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.1001fddd
mov eax, esi
jmp 0x1001e974
push 3
pop eax
call fcn.1002a0a6
ret
Function at 0x1001e97a
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x50
mov eax, 0x1002cbf1
call fcn.1002a0fc
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], eax
xor eax, eax
cmp word [ebp + 0x1c], ax
setne al
movzx eax, ax
push eax
push esi
call fcn.1001fddd
pop ecx
pop ecx
test eax, eax
jne 0x1001ea85
mov eax, dword [esi + 4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
inc dword [eax + 0x38]
inc dword [esi + 0x14]
and dword [ebp - 4], 0
xor eax, eax
mov ebx, dword [esi + 4]
mov word [ebp - 0x4c], ax
lea eax, [esi + 0xc]
mov dword [ebp - 0x48], eax
xor eax, eax
push 4
pop ecx
mov word [ebp - 0x3c], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor eax, eax
push 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x54]
push 0x7fffffff
push eax
mov dword [ebp - 0x50], 0x50525350
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0x52535043
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0x52535048
mov dword [ebp - 0x28], eax
call fcn.1001fddd
mov dword [ebp - 0x24], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], 0x55524544
cmp byte [0x1003cde0], 0
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
je 0x1001ea5d
push ebx
push str.__lx__PDFXSendOrSave_kPDFXPushResponse_
mov esi, 0x1003d210
push esi
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x1001ea5d
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor eax, eax
cmp word [ebp + 0x1c], ax
push 8
pop ecx
cmovne eax, ecx
push eax
push 4
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.1001fddd
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.1001fddd
mov eax, esi
call fcn.1002a0a6
ret
Function at 0x1001fddd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1001fdec
pop dword [ebp - 0x20]
mov eax, 0x1001fdec
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc0b113b0
sub dword [ebp - 0x30], 0x725ece65
mov dword [ebp - 0x2c], 0xdced6df1
sub dword [ebp - 0x2c], 0xaaba21ac
mov dword [ebp - 0x28], 0xb743f782
add dword [ebp - 0x28], 0x95084cac
mov dword [ebp - 0x24], 0xe71cd498
sub dword [ebp - 0x24], 0xe71cd498
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x1ecb43f6
add dword [ebp - 0x30], 0x55a72560
mov dword [ebp - 0x2c], 0xb45be90d
sub dword [ebp - 0x2c], 0x72ef8798
mov dword [ebp - 0x28], 0xdd8cab84
sub dword [ebp - 0x28], 0x7a1d3f18
mov dword [ebp - 0x24], 0x413ef4cb
add dword [ebp - 0x24], 0xbec10b35
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x4a8e881a
add eax, 0xc574584e
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x43ee2
push 0
call eax
mov ecx, 0x21da67ac
add ecx, 0xde25db79
xor edi, edi
add edi, eax
mov ebx, 0xc0f15fc0
add ebx, 0x4f130240
add ebx, dword [ebp - 0x20]
mov edx, 0x5a5dfaf0
sub edx, 0x2b26951
xor dword [ebp - 0x10], 0xd1b66dab
mov esi, dword [ebx]
add dword [ebp - 0x18], edx
xor esi, edx
xor dword [ebp - 0x1c], 0x75df6d1e
mov dword [edi], esi
xor dword [ebp - 0xc], ecx
add edi, 0x8646b067
add edi, 0x79b94f9d
add ebx, 4
loop 0x1001ff06
add eax, 0xff67
xor ebx, ebx
add ebx, eax
add eax, 0xee29ce16
add eax, 0x11d631ef
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10020d8c
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x1003cde0], 0
push ebx
push esi
push edi
mov esi, 0x1003d210
je 0x10020dba
push str.PDFXTerm
push esi
call fcn.1001fddd
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x10020dba
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [0x1003d610]
xor ecx, ecx
xor ebx, ebx
inc ecx
test eax, eax
je 0x10020ea4
jmp 0x10020e5b
mov edi, dword [eax]
cmp word [edi + 0x2c], bx
jne 0x10020e1c
mov word [edi + 0x2c], cx
cmp byte [0x1003cde0], bl
je 0x10020e03
push edi
push str.PDFX_0x_xl_.closing__true
push esi
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], bl
je 0x10020e03
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [0x1003d610]
push 2
push dword [edi + 8]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002e5c4]
call esi
pop ecx
pop ecx
push edi
mov dword [edi + 8], ebx
call fcn.1001fddd
mov eax, dword [0x1003d610]
mov ecx, dword [edi]
push 4
push ebx
push edi
mov dword [eax], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1003d610]
add esp, 0x10
mov esi, dword [eax + 0x28]
mov ecx, esi
push edi
call dword [0x1002e5c4]
call esi
mov eax, dword [0x1003d610]
mov esi, 0x1003d210
pop ecx
push 1
pop ecx
cmp dword [eax], ebx
jne 0x10020dd1
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x10020e76
push ecx
call fcn.1001fddd
mov eax, dword [0x1003d610]
pop ecx
push 4
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1003d610]
add esp, 0xc
mov esi, dword [eax + 0x28]
mov ecx, esi
push eax
call dword [0x1002e5c4]
call esi
pop ecx
xor ecx, ecx
mov dword [0x1003d610], ebx
mov esi, 0x1003d210
inc ecx
mov eax, dword [0x1003d614]
test eax, eax
je 0x10020f81
jmp 0x10020f40
mov edi, dword [eax]
cmp word [edi + 0x2c], bx
jne 0x10020f01
mov word [edi + 0x2c], cx
cmp byte [0x1003cde0], bl
je 0x10020ee8
push edi
push str.PDFX_0x_xl_.closing__true
push esi
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], bl
je 0x10020ee8
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [0x1003d614]
push 2
push dword [edi + 8]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002e5c4]
call esi
pop ecx
pop ecx
push edi
mov dword [edi + 8], ebx
call fcn.1001fddd
mov eax, dword [0x1003d614]
mov ecx, dword [edi]
push 4
push ebx
push edi
mov dword [eax], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1003d614]
add esp, 0x10
mov esi, dword [eax + 0x28]
mov ecx, esi
push edi
call dword [0x1002e5c4]
call esi
mov eax, dword [0x1003d614]
mov esi, 0x1003d210
pop ecx
push 1
pop ecx
cmp dword [eax], ebx
jne 0x10020eb6
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x10020f5b
push ecx
call fcn.1001fddd
mov eax, dword [0x1003d614]
pop ecx
push 4
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1003d614]
add esp, 0xc
mov esi, dword [eax + 0x28]
mov ecx, esi
push eax
call dword [0x1002e5c4]
call esi
pop ecx
mov dword [0x1003d614], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x10021ace
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x440
mov eax, 0x1002ccbc
call fcn.1002a16a
mov eax, dword [ebp + 8]
mov esi, 0x208
mov dword [ebp - 0x438], eax
xor edi, edi
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x424]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x434], 0x104
lea eax, [ebp - 0x428]
xorps xmm0, xmm0
movsd qword [ebp - 0x430], xmm0
push eax
push 0x20019
push edi
push 0x1003233c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10021ced
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x434]
mov ebx, edi
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
jmp 0x10021bda
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp qword [ebp - 0x44c]
movsd xmm0, qword [ebp - 0x44c]
comisd xmm0, xmmword [0x100325c8]
pop ecx
jbe 0x10021bc6
comisd xmm0, xmmword [ebp - 0x430]
jbe 0x10021bc6
lea eax, [ebp - 0x21c]
movsd qword [ebp - 0x430], xmm0
push eax
lea eax, [ebp - 0x424]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x434]
inc ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
je 0x10021b72
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x10021ced
push str.ClientUserInterface
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, eax
mov dword [esp], str.SoftwareMicrosoftSoftGrid_
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
xor ecx, ecx
mov dword [ebp - 0x42c], edi
push 2
pop edx
lea ebx, [eax + 0x105]
mov dword [ebp - 4], edi
add ebx, esi
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001fddd
mov esi, eax
mov dword [ebp - 0x42c], esi
pop ecx
pop ecx
test esi, esi
je 0x10021ced
push ebx
push edi
push esi
call fcn.1001fddd
push str.SoftwareMicrosoftSoftGrid_
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x424]
push eax
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push str.ClientUserInterface
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x30
lea eax, [ebp - 0x428]
push eax
push 0x20019
push edi
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10021ce6
push dword [ebp - 0x438]
push str.LaunchCommand
push dword [ebp - 0x428]
call fcn.10021d20
add esp, 0xc
push dword [ebp - 0x43c]
push str.DDELaunchCommand
push dword [ebp - 0x428]
call fcn.10021d20
add esp, 0xc
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.1002a647
pop ecx
call fcn.1002a0b7
ret
Function at 0x10021d20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x1002cce4
call fcn.1002a133
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10021e65
cmp dword [ebp - 0x18], 1
jne 0x10021e65
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
inc eax
mov dword [ebp - 4], ebx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001fddd
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
test esi, esi
je 0x10021e65
push dword [ebp - 0x14]
push ebx
push esi
call fcn.1001fddd
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea eax, [eax*2 - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10021e5a
cmp dword [ebp - 0x18], 1
jne 0x10021e5a
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 0x14], eax
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001fddd
mov dword [edi], eax
pop ecx
test eax, eax
je 0x10021e5a
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push ebx
push eax
call fcn.1001fddd
lea eax, [ebp - 0x20]
push eax
push 0x10032338
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x10021e3e
push ebx
call fcn.1001fddd
pop ecx
test al, al
je 0x10021e3e
mov eax, dword [ebp - 0x14]
push ebx
inc eax
push eax
push dword [edi]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
jmp 0x10021e5a
push dword [edi]
call fcn.1002a647
and dword [edi], 0
pop ecx
jmp 0x10021e5a
test esi, esi
je 0x10021e65
push esi
call fcn.1002a647
pop ecx
call fcn.1002a091
ret

Function at 0x100225b9
Capabilities:
Print debug messages

Disassembly:
push esi
push 0x10032094
xor esi, esi
call fcn.1001fddd
pop ecx
test eax, eax
jne 0x100225da
push 0x100320ac
call fcn.1001fddd
pop ecx
test eax, eax
je 0x100225dd
xor esi, esi
inc esi
cmp byte [0x1003cde0], 0
je 0x1002260c
push edi
push esi
push str._BrowserIntegrationWin__IsLoadedInProcByAcrobat__d
mov edi, 0x1003d628
push edi
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x1002260b
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop edi
mov eax, esi
pop esi
ret
Function at 0x100246d8
Capabilities:
Print debug messages

Disassembly:
push esi
push str.sftldr.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x1002473d
push str.sftldr_wow64.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x1002473d
push ebx
push str.AppVEntSubsystems32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
setne bl
cmp byte [0x1003cde0], 0
je 0x10024738
movzx eax, bl
mov esi, 0x1003e190
push eax
push str._ACTWinBrowser__IsRunningInAppV_isAppV5___d
push esi
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x10024738
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov al, bl
pop ebx
pop esi
ret
cmp byte [0x1003cde0], 0
je 0x10024768
push str._ACTWinBrowser__IsRunningInAppV_isAppV4OrEarlier
mov esi, 0x1003e190
push esi
call fcn.1001fddd
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x10024768
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov al, 1
pop esi
ret