joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014c6a
Capabilities:
Parse url

Disassembly:
push 0xc
mov eax, 0x1002d6e3
call fcn.1002b0d2
mov esi, ecx
mov dword [ebp - 0x14], esi
push 7
mov dword [esi], vtable.TFUrlComponents.0
xor edx, edx
pop ecx
xor eax, eax
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], ecx
mov word [esi + 0x40], ax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], eax
xor eax, eax
mov byte [esi + 0x58], dl
mov dword [ebp - 4], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], ecx
mov word [esi + 0x60], ax
mov dword [esi + 0x88], edx
mov dword [esi + 0x8c], ecx
mov word [esi + 0x78], ax
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], ecx
mov word [esi + 0x90], ax
mov eax, dword [ebp + 8]
xor ecx, ecx
add eax, 0x10
mov dword [esi + 4], 0x3c
mov dword [ebp - 0x18], eax
push 2
pop edx
mov edi, dword [eax]
inc edi
mov byte [ebp - 4], 4
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100242af
mov dword [esi + 8], eax
pop ecx
test eax, eax
je 0x10014e40
lea ebx, [edi + edi]
mov dword [esi + 0xc], edi
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100242af
mov dword [esi + 0x14], eax
pop ecx
test eax, eax
je 0x10014e40
push ebx
push 0
push eax
mov dword [esi + 0x18], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100242af
mov dword [esi + 0x20], eax
pop ecx
test eax, eax
je 0x10014e40
push ebx
push 0
push eax
mov dword [esi + 0x24], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100242af
mov dword [esi + 0x28], eax
pop ecx
test eax, eax
je 0x10014e40
push ebx
push 0
push eax
mov dword [esi + 0x2c], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100242af
mov dword [esi + 0x30], eax
pop ecx
test eax, eax
je 0x10014e40
push ebx
push 0
push eax
mov dword [esi + 0x34], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100242af
mov dword [esi + 0x38], eax
pop ecx
test eax, eax
je 0x10014e40
push ebx
push 0
push eax
mov dword [esi + 0x3c], edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10014e10
mov eax, dword [eax]
lea ecx, [esi + 4]
push ecx
mov ecx, dword [ebp - 0x18]
push dword [esi + 0x5c]
push dword [ecx]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10014e40
mov ecx, esi
call fcn.10014f4a
mov ecx, esi
call fcn.10014fe0
mov ecx, esi
call fcn.1001504f
mov byte [esi + 0x58], 1
cmp byte [esi + 0x58], 0
jne 0x10014e60
mov ecx, esi
call fcn.100150b6
jmp 0x10014e60
mov eax, esi
call fcn.1002b030
ret 8
Function at 0x10017ed3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x81c
mov eax, 0x1002d947
call fcn.1002b09b
mov esi, dword [ebp + 8]
xor bl, bl
mov eax, esi
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x10017ef5
mov eax, dword [esi]
xor ecx, ecx
mov edi, 0x20019
mov word [eax], cx
lea eax, [ebp - 0x828]
push eax
push edi
push ecx
push str.Outlook.Application
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10018126
lea eax, [ebp - 0x824]
push eax
push edi
push 0
push str.CurVer
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001811a
lea eax, [ebp - 0x820]
mov dword [ebp - 0x820], 0x7d0
push eax
lea eax, [ebp - 0x7e0]
xor ecx, ecx
push eax
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], ecx
push eax
push ecx
push ecx
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001810e
cmp dword [ebp - 0x81c], 1
jne 0x1001810e
cmp dword [ebp - 0x820], eax
je 0x1001810e
and dword [ebp - 0x7e8], eax
lea ecx, [ebp - 0x7f8]
mov word [ebp - 0x7f8], ax
lea eax, [ebp - 0x7e0]
push eax
mov dword [ebp - 0x7e4], 7
call fcn.1000330f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x7f8]
or edi, 0xffffffff
push edi
push 0x10030fe0
call fcn.100242af
cmp eax, edi
je 0x10018092
inc eax
cmp eax, edi
je 0x10018092
and dword [ebp - 0x800], 0
xor ecx, ecx
push edi
push eax
lea eax, [ebp - 0x7f8]
mov word [ebp - 0x810], cx
push eax
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x7fc], 7
call fcn.100242af
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.100242af
mov eax, dword [ebp - 0x7fc]
cmp eax, 8
jb 0x10018084
mov ecx, dword [ebp - 0x810]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x818], ecx
mov byte [ebp - 4], 1
cmp eax, 0x1000
jb 0x10018077
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.100242af
mov eax, dword [ebp - 0x814]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x818]
push eax
push ecx
call fcn.100242af
pop ecx
pop ecx
mov byte [ebp - 4], 0
push 0x10031918
mov ecx, esi
call fcn.10013b83
mov bl, 1
mov eax, dword [ebp - 0x7e4]
mov dword [ebp - 4], edi
cmp eax, 8
jb 0x100180f4
mov ecx, dword [ebp - 0x7f8]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x100180e8
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.100242af
mov eax, dword [ebp - 0x818]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x814]
push eax
push ecx
call fcn.100242af
pop ecx
pop ecx
mov dword [ebp - 4], edi
and dword [ebp - 0x7e8], 0
xor eax, eax
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.1002b045
ret
Function at 0x1001be64
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1003d20c], 0
jne 0x1001bed3
push ebx
call fcn.100242af
xor ebx, ebx
mov byte [0x1003d20d], al
inc ebx
test al, al
jne 0x1001becc
call fcn.100298d0
cmp eax, 0x6b
jl 0x1001becc
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.100242af
add esp, 0x10
test al, al
je 0x1001becc
movzx eax, byte [0x1003d20d]
cmp byte [ebp - 1], 0
cmovne eax, ebx
mov byte [0x1003d20d], al
mov byte [0x1003d20c], bl
pop ebx
cmp byte [0x1003cdfb], 0
jne 0x1001bee5
cmp byte [0x1003cdfa], 0
je 0x1001bf1f
cmp byte [0x1003d20d], 0
mov ecx, str.FALSE
push esi
mov eax, str.TRUE
mov esi, 0x1003ce00
cmove eax, ecx
push eax
push str.IsRunningInAppContainer___s
push esi
call fcn.100242af
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1001bf1e
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
mov al, byte [0x1003d20d]
leave
ret
Function at 0x1001ec31
Capabilities:
Print debug messages

Disassembly:
push 0xc
mov eax, 0x1002dc5c
call fcn.1002b067
cmp byte [0x1003cdfb], 0
mov ebx, 0x1003d228
jne 0x1001ec54
cmp byte [0x1003cdfa], 0
je 0x1001ec81
push str._PDFX__PDFXSendOrSave
push ebx
call fcn.100242af
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1001ec71
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1001ec81
push ebx
call fcn.10005eb0
pop ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ebx, dword [edi + 0x20]
push dword [ebx + 0x24]
push eax
call fcn.100242af
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1001edc9
cmp word [ebx + 0x58], ax
jne 0x1001ed0b
cmp byte [0x1003cdfb], al
jne 0x1001ecbc
cmp byte [0x1003cdfa], al
je 0x1001ecee
push str._PDFX__PDFXSendOrSave_Store
mov ebx, 0x1003d228
push ebx
call fcn.100242af
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1001ecde
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1001ecee
push ebx
call fcn.10005eb0
pop ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
call fcn.100242af
jmp 0x1001edc9
cmp dword [edi + 0xc], eax
jne 0x1001ed18
xor eax, eax
inc eax
jmp 0x1001edcb
push dword [edi + 0xc]
push dword [ebp - 0x10]
call fcn.100242af
pop ecx
pop ecx
test eax, eax
jne 0x1001edcb
inc dword [edi + 0x38]
mov dword [ebp - 0x14], edi
and dword [ebp - 4], eax
cmp byte [0x1003cdfb], al
jne 0x1001ed55
mov al, byte [0x1003cdfa]
test al, al
jne 0x1001ed55
mov ebx, dword [ebp + 0x14]
mov edi, 0x1003d228
mov esi, ebx
shr esi, 1
jmp 0x1001ed7a
mov ebx, dword [ebp + 0x14]
mov edi, 0x1003d228
mov esi, ebx
shr esi, 1
mov eax, esi
and eax, 1
push eax
push str._PDFX__PDFXSendOrSave_Send_waitCompleted___d
push edi
call fcn.100242af
mov al, byte [0x1003cdfa]
add esp, 0xc
test al, al
je 0x1001ed85
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1001ed95
push edi
call fcn.10005eb0
pop ecx
and esi, 1
push esi
push dword [ebp - 0x10]
call fcn.100242af
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001edc1
test bl, 4
je 0x1001edc1
call fcn.10029c88
shr eax, 0x10
mov cx, 9
cmp cx, ax
sbb eax, eax
and esi, eax
lea ecx, [ebp - 0x14]
call fcn.100242af
mov eax, esi
call fcn.1002b030
ret
Function at 0x1001ee3b
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x54
mov eax, 0x1002dc7f
call fcn.1002b09b
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.100242af
pop ecx
pop ecx
test eax, eax
jne 0x1001ef9b
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001ef98
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1001ef98
mov eax, dword [esi + 4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], esi
inc dword [eax + 0x38]
inc dword [esi + 0x14]
and dword [ebp - 4], 0
test bx, bx
mov eax, dword [esi + 4]
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 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 [0x1003cdfb], 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
jne 0x1001ef21
cmp byte [0x1003cdfa], 0
je 0x1001ef6b
mov esi, dword [ebp - 0x54]
test bx, bx
mov ecx, str.kPDFXPush
mov eax, str.kPDFXPushError
cmove eax, ecx
mov ebx, 0x1003d228
push eax
push esi
push str.__lx__PDFXSendOrSave__s_
push ebx
call fcn.100242af
add esp, 0x10
cmp byte [0x1003cdfa], 0
je 0x1001ef59
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1001ef6e
push ebx
call fcn.10005eb0
pop ecx
jmp 0x1001ef6e
mov esi, dword [ebp - 0x54]
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.1001ec31
add esp, 0x10
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.100242af
mov eax, esi
jmp 0x1001ef9b
push 3
pop eax
call fcn.1002b045
ret
Function at 0x1001efa1
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x50
mov eax, 0x1002dcac
call fcn.1002b09b
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.100242af
pop ecx
pop ecx
test eax, eax
jne 0x1001f0c5
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.100242af
mov dword [ebp - 0x24], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], 0x55524544
cmp byte [0x1003cdfb], 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
jne 0x1001f069
cmp byte [0x1003cdfa], 0
je 0x1001f09d
push ebx
push str.__lx__PDFXSendOrSave_kPDFXPushResponse_
mov esi, 0x1003d228
push esi
call fcn.100242af
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1001f08d
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1001f09d
push esi
call fcn.10005eb0
pop ecx
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.1001ec31
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.100242af
mov eax, esi
call fcn.1002b045
ret
Function at 0x100223c5
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x440
mov eax, 0x1002dd87
call fcn.1002b109
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 0x100333cc
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100225e4
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 0x100224d1
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 [0x100336a8]
pop ecx
jbe 0x100224bd
comisd xmm0, xmmword [ebp - 0x430]
jbe 0x100224bd
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 0x10022469
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x100225e4
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.100242af
mov esi, eax
mov dword [ebp - 0x42c], esi
pop ecx
pop ecx
test esi, esi
je 0x100225e4
push ebx
push edi
push esi
call fcn.100242af
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 0x100225dd
push dword [ebp - 0x438]
push str.LaunchCommand
push dword [ebp - 0x428]
call fcn.10022617
add esp, 0xc
push dword [ebp - 0x43c]
push str.DDELaunchCommand
push dword [ebp - 0x428]
call fcn.10022617
add esp, 0xc
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.1002b601
pop ecx
call fcn.1002b056
ret
Function at 0x10022617
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x1002ddaf
call fcn.1002b0d2
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 0x1002275c
cmp dword [ebp - 0x18], 1
jne 0x1002275c
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.100242af
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
test esi, esi
je 0x1002275c
push dword [ebp - 0x14]
push ebx
push esi
call fcn.100242af
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 0x10022751
cmp dword [ebp - 0x18], 1
jne 0x10022751
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.100242af
mov dword [edi], eax
pop ecx
test eax, eax
je 0x10022751
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push ebx
push eax
call fcn.100242af
lea eax, [ebp - 0x20]
push eax
push 0x100333c8
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 0x10022735
push ebx
call fcn.100242af
pop ecx
test al, al
je 0x10022735
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 0x10022751
push dword [edi]
call fcn.1002b601
and dword [edi], 0
pop ecx
jmp 0x10022751
test esi, esi
je 0x1002275c
push esi
call fcn.1002b601
pop ecx
call fcn.1002b030
ret

Function at 0x10022f02
Capabilities:
Print debug messages

Disassembly:
push esi
push 0x10033124
xor esi, esi
call fcn.100242af
pop ecx
test eax, eax
jne 0x10022f23
push 0x1003313c
call fcn.100242af
pop ecx
test eax, eax
je 0x10022f26
xor esi, esi
inc esi
cmp byte [0x1003cdfb], 0
jne 0x10022f38
cmp byte [0x1003cdfa], 0
je 0x10022f6e
push edi
push esi
push str._BrowserIntegrationWin__IsLoadedInProcByAcrobat__d
mov edi, 0x1003d640
push edi
call fcn.100242af
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10022f5d
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10022f6d
push edi
call fcn.10005eb0
pop ecx
pop edi
mov eax, esi
pop esi
ret
Function at 0x100242af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x100242be
pop dword [ebp - 0x40]
mov eax, 0x100242be
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x8c83ef0e
sub dword [ebp - 0x50], 0x3e31a9c3
mov dword [ebp - 0x4c], 0xdbc5eaa6
sub dword [ebp - 0x4c], 0xa9929e61
mov dword [ebp - 0x48], 0x4d422007
add dword [ebp - 0x48], 0xff0a2427
mov dword [ebp - 0x44], 0xdb540062
add dword [ebp - 0x44], 0x24abff9e
lea eax, [ebp - 0x50]
push eax
mov eax, 0x5786eb65
sub eax, 0x4783f9d9
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xf7924bb4
add dword [ebp - 0x50], 0x7ce01da2
mov dword [ebp - 0x4c], 0x99baa3f7
sub dword [ebp - 0x4c], 0x584e4282
mov dword [ebp - 0x48], 0xfa92fa12
sub dword [ebp - 0x48], 0x97238da6
mov dword [ebp - 0x44], 0x1635d18d
sub dword [ebp - 0x44], 0x1635d18d
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xe77070ca
sub eax, 0xd76d7fde
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x43200
push 0
call eax
mov ecx, 0xf62a35f5
add ecx, 0x9d60c98
xor ebx, ebx
add ebx, eax
mov esi, 0xb8354b84
sub esi, 0xa830e784
add esi, dword [ebp - 0x40]
mov edx, 0x7429caec
mov dword [ebp - 0x24], 0xa53c007c
mov edi, dword [esi]
mov dword [ebp - 0x1c], 0xa43f8a55
add edi, edx
sub dword [ebp - 8], 0x3b2c882a
mov dword [ebx], edi
xor dword [ebp - 0x10], 0x82ac50c5
add ebx, 0x83815f83
sub ebx, 0x83815f7f
add esi, 0x85132fc5
sub esi, 0x85132fc1
loop 0x100243d7
add eax, 0xfd07
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x766ff2c4
add ecx, 0x99900d3c
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x100252bb
Capabilities:
Print debug messages

Disassembly:
push esi
push str.sftldr.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x10025339
push str.sftldr_wow64.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x10025339
push ebx
push str.AppVEntSubsystems32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
setne bl
cmp byte [0x1003cdfb], 0
jne 0x100252fd
cmp byte [0x1003cdfa], 0
je 0x10025334
movzx eax, bl
mov esi, 0x1003e1a8
push eax
push str._ACTWinBrowser__IsRunningInAppV_isAppV5___d
push esi
call fcn.100242af
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10025324
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10025334
push esi
call fcn.10005eb0
pop ecx
mov al, bl
pop ebx
pop esi
ret
cmp byte [0x1003cdfb], 0
jne 0x1002534b
cmp byte [0x1003cdfa], 0
je 0x1002537d
push str._ACTWinBrowser__IsRunningInAppV_isAppV4OrEarlier
mov esi, 0x1003e1a8
push esi
call fcn.100242af
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1002536d
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1002537d
push esi
call fcn.10005eb0
pop ecx
mov al, 1
pop esi
ret