joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004cd1
Capabilities:
Resume thread
Terminate thread

Disassembly:
push 0x10
mov eax, 0x1002785d
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10004e03
cmp dword [eax + 8], 0
je 0x10004e03
lea eax, [esi + 0x30]
mov ebx, eax
mov dword [ebp - 0x10], eax
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb edi, edi
neg edi
mov dword [ebp - 0x18], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1001d8de
pop ecx
test eax, eax
jne 0x10004d5f
mov esi, ebx
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10004d35
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ebx, esi
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb edi, edi
neg edi
mov dword [ebp - 0x18], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1001d8de
pop ecx
test eax, eax
je 0x10004d26
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10004da8
cmp dword [eax + 8], 0
je 0x10004da8
cmp dword [esi + 0x2c], 0
jne 0x10004da8
push 0
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x20], 1
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x24]
or dword [ebp - 4], 0xffffffff
and dword [eax + 8], 0
test edi, edi
je 0x10004e03
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x10004e03
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10004db7
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x24]
xor ebx, ebx
mov dword [esi + 0x2c], ebx
push dword [eax + 0x1c]
call dword [sym.imp.kernel32.dll_SetEvent]
mov eax, dword [esi + 0x24]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [esi + 0x24]
push 0x3e8
mov edi, dword [eax + 8]
push edi
mov dword [eax + 8], ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10004df5
mov dword [esi + 0x20], ebx
jmp 0x10004e03
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x20], 1
call fcn.10026544
ret
Function at 0x1000c475
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push 0x1002b7b4
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x1000c496
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x1000c492
xor eax, eax
ret

Function at 0x1000c4a4
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x1000c4c5
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x1000c4c1
xor eax, eax
ret

Function at 0x10010a25
Capabilities:
Check os version

Disassembly:
push 0x14c
mov eax, 0x10028360
call fcn.100265a9
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
xor bl, bl
call fcn.1001d8de
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push dword [sym.imp.MSVCR120.dll_towlower]
cmovae edx, dword [ebp - 0x28]
push edx
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x158]
push ecx
push eax
call fcn.1001d8de
mov edi, 0x114
lea eax, [ebp - 0x154]
push edi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x20
mov dword [ebp - 0x154], edi
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
test eax, eax
je 0x10010ad7
cmp dword [ebp - 0x150], 5
jne 0x10010ad7
cmp dword [ebp - 0x14c], ecx
jne 0x10010ad7
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10010f8c
test al, al
je 0x10010ad4
xor eax, eax
inc eax
mov bl, al
jmp 0x10010b35
xor ecx, ecx
inc ecx
and dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], cl
push eax
call fcn.100124b6
pop ecx
test al, al
je 0x10010b20
push dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.1001d8de
cmp eax, 0xffffffff
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
jmp 0x10010b23
xor eax, eax
inc eax
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001d8de
xor eax, eax
inc eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.1001d8de
mov al, bl
call fcn.10026558
ret 4
Function at 0x1001388c
Capabilities:
Parse url

Disassembly:
push 8
mov eax, 0x10028622
call fcn.100265df
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 + 0x54], ecx
mov dword [esi + 0x50], edx
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 [esi + 0x74], ecx
mov dword [esi + 0x70], edx
mov dword [ebp - 4], edx
mov word [esi + 0x60], ax
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], edx
mov word [esi + 0x78], ax
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xa0], edx
mov word [esi + 0x90], ax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 4], 0x3c
push 2
pop edx
mov edi, dword [eax + 0x10]
inc edi
mov byte [ebp - 4], 4
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001d8de
mov dword [esi + 8], eax
pop ecx
test eax, eax
je 0x10013a5c
lea ebx, [edi + edi]
mov dword [esi + 0xc], edi
push ebx
push 0
push eax
call sub.MSVCR120.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.1001d8de
mov dword [esi + 0x14], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x18], edi
call sub.MSVCR120.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.1001d8de
mov dword [esi + 0x20], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x24], edi
call sub.MSVCR120.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.1001d8de
mov dword [esi + 0x28], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x2c], edi
call sub.MSVCR120.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.1001d8de
mov dword [esi + 0x30], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x34], edi
call sub.MSVCR120.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.1001d8de
mov dword [esi + 0x38], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x3c], edi
call sub.MSVCR120.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x10013a30
mov eax, dword [eax]
lea edx, [esi + 4]
push edx
push dword [esi + 0x5c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10013a5c
mov ecx, esi
call fcn.10013aab
mov ecx, esi
call fcn.10013b7b
mov ecx, esi
call fcn.10013bf8
mov byte [esi + 0x58], 1
cmp byte [esi + 0x58], 0
jne 0x10013a7c
mov ecx, esi
call fcn.10013c6d
jmp 0x10013a7c
mov eax, esi
call fcn.10026544
ret 8
Function at 0x1001566e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x100288c5
call fcn.100265a9
mov esi, dword [ebp + 8]
xor edx, edx
mov bl, dl
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x10015691
mov eax, dword [esi]
jmp 0x10015693
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push 7
pop edi
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x830], edx
mov word [ebp - 0x840], ax
lea eax, [ebp - 0x840]
mov dword [ebp - 4], edx
push eax
call fcn.100158a9
pop ecx
test al, al
je 0x1001588e
and dword [ebp - 0x800], 0
xor eax, eax
mov dword [ebp - 0x7fc], edi
mov edi, dword [sym.imp.MSVCR120.dll_wcslen]
push 0x1002c528
mov word [ebp - 0x810], ax
call edi
pop ecx
push eax
push 0x1002c528
lea ecx, [ebp - 0x810]
call fcn.1001d8de
and dword [ebp - 0x7e8], 0
xor eax, eax
push str.SoftwareMicrosoftOffice_sOutlookSecurity
mov byte [ebp - 4], 1
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
call edi
pop ecx
push eax
push str.SoftwareMicrosoftOffice_sOutlookSecurity
lea ecx, [ebp - 0x7f8]
call fcn.1001d8de
push dword [ebp - 0x800]
cmp dword [ebp - 0x7fc], 8
lea eax, [ebp - 0x810]
push 0
cmovae eax, dword [ebp - 0x810]
lea ecx, [ebp - 0x7f8]
push eax
mov byte [ebp - 4], 2
call fcn.1001d8de
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x840]
push ecx
push dword [ebp - 0x800]
lea ecx, [ebp - 0x7f8]
push eax
call fcn.1001d8de
cmp dword [ebp - 0x7e4], 8
lea ecx, [ebp - 0x848]
push ecx
push 0x20019
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10015868
and dword [ebp - 0x844], eax
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x84c], 0x7d0
push eax
lea eax, [ebp - 0x844]
push eax
push 0
push str.OutlookSecureTempFolder
push dword [ebp - 0x848]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001585c
cmp dword [ebp - 0x844], 1
jne 0x1001585c
cmp dword [ebp - 0x84c], eax
je 0x1001585c
and dword [ebp - 0x818], eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
cmp word [ebp - 0x7e0], ax
je 0x1001582a
lea eax, [ebp - 0x7e0]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x828]
call fcn.1001d8de
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.1001d8de
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.1001d8de
mov bl, 1
push dword [ebp - 0x848]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 1
call fcn.1001d8de
push 0
push 1
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 0
call fcn.1001d8de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
push 0
push 1
call fcn.1001d8de
mov al, bl
call fcn.10026558
ret
Function at 0x100158a9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x814
mov eax, 0x100288f8
call fcn.100265a9
mov esi, dword [ebp + 8]
xor bl, bl
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x100158cb
mov eax, dword [esi]
jmp 0x100158cd
mov eax, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x814]
push eax
push 0x20019
push ecx
push str.Outlook.Application
push 0x80000000
call edi
test eax, eax
jne 0x10015a44
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push str.CurVer
push dword [ebp - 0x814]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10015a3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x7d0
push eax
lea eax, [ebp - 0x7e0]
xor ecx, ecx
push eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x820], ecx
push eax
push ecx
push ecx
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10015a34
cmp dword [ebp - 0x820], 1
jne 0x10015a34
cmp dword [ebp - 0x81c], eax
je 0x10015a34
and dword [ebp - 0x7e8], eax
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
cmp word [ebp - 0x7e0], ax
je 0x100159a6
lea eax, [ebp - 0x7e0]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x7f8]
call fcn.1001d8de
and dword [ebp - 4], 0
push 0x1002bc44
call dword [sym.imp.MSVCR120.dll_wcslen]
pop ecx
push eax
push 0xffffffffffffffff
push 0x1002bc44
lea ecx, [ebp - 0x7f8]
call fcn.1001d8de
cmp eax, 0xffffffff
je 0x10015a21
inc eax
cmp eax, 0xffffffff
je 0x10015a21
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x7f8]
call fcn.1001d8de
push eax
mov ecx, esi
call fcn.1001d8de
push 0
push 1
lea ecx, [ebp - 0x810]
call fcn.1001d8de
push 0x1002c520
mov ecx, esi
call fcn.1001d8de
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7f8]
push 0
push 1
call fcn.1001d8de
push dword [ebp - 0x818]
call edi
push dword [ebp - 0x814]
call edi
mov al, bl
call fcn.10026558
ret

Function at 0x100196b4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x10037304], 0
jne 0x10019723
push ebx
call fcn.1001d8de
xor ebx, ebx
mov byte [0x10037305], al
inc ebx
test al, al
jne 0x1001971c
call fcn.1002509f
cmp eax, 0x6b
jl 0x1001971c
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.1001d8de
add esp, 0x10
test al, al
je 0x1001971c
movzx eax, byte [0x10037305]
cmp byte [ebp - 1], 0
cmovne eax, ebx
mov byte [0x10037305], al
mov byte [0x10037304], bl
pop ebx
cmp byte [0x10036ee8], 0
je 0x10019767
cmp byte [0x10037305], 0
mov ecx, str.FALSE
push esi
mov eax, 0x1002c608
mov esi, 0x10036f00
cmove eax, ecx
push eax
push str.IsRunningInAppContainer___s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10019766
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
mov al, byte [0x10037305]
mov esp, ebp
pop ebp
ret
Function at 0x1001c5e3
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x54
mov eax, 0x10028ce2
call fcn.100265a9
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
movzx ebx, ax
xor eax, eax
cmp word [ebp + 0x20], ax
setne al
movzx eax, ax
push eax
push esi
call fcn.1001d8de
pop ecx
pop ecx
test eax, eax
jne 0x1001c72c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001c729
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1001c729
mov eax, dword [esi + 4]
mov dword [ebp - 0x60], eax
inc dword [eax + 0x38]
mov dword [ebp - 0x5c], esi
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 [0x10036ee8], 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 0x1001c6fb
test bx, bx
mov ecx, str.kPDFXPush
mov eax, str.kPDFXPushError
mov ebx, 0x10037330
cmove eax, ecx
push eax
push esi
push str.__lx__PDFXSendOrSave__s_
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
cmp byte [0x10036ee8], 0
je 0x1001c6fb
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.1001d8de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
add esp, 0x10
mov esi, eax
call fcn.1001b329
mov eax, esi
jmp 0x1001c72c
push 3
pop eax
call fcn.10026558
ret
Function at 0x1001c732
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x50
mov eax, 0x10028d0f
call fcn.100265a9
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.1001d8de
pop ecx
pop ecx
test eax, eax
jne 0x1001c842
mov eax, dword [esi + 4]
mov dword [ebp - 0x5c], eax
inc dword [eax + 0x38]
mov dword [ebp - 0x58], esi
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.1001d8de
mov dword [ebp - 0x24], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], 0x55524544
cmp byte [0x10036ee8], 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 0x1001c816
push ebx
push str.__lx__PDFXSendOrSave_kPDFXPushResponse_
mov esi, 0x10037330
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x1001c816
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.1001d8de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
add esp, 0x10
mov esi, eax
call fcn.1001b329
mov eax, esi
call fcn.10026558
ret
Function at 0x1001d8de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1001d8ed
pop dword [ebp - 0x50]
mov eax, 0x1001d8ed
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x7c2ef470
add dword [ebp - 0x60], 0xd22350db
mov dword [ebp - 0x5c], 0xbfc1cbfb
sub dword [ebp - 0x5c], 0x8d8e7fb6
mov dword [ebp - 0x58], 0xd11f7b8d
add dword [ebp - 0x58], 0x7b2cc8a1
mov dword [ebp - 0x54], 0x7e5c38
sub dword [ebp - 0x54], 0x7e5c38
lea eax, [ebp - 0x60]
push eax
mov eax, 0x34ff715e
add eax, 0xdb032f6e
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x1802e637
sub dword [ebp - 0x60], 0xa3907ce1
mov dword [ebp - 0x5c], 0x992c61f9
add dword [ebp - 0x5c], 0xa83fff7c
mov dword [ebp - 0x58], 0xd425f757
add dword [ebp - 0x58], 0x8f497515
mov dword [ebp - 0x54], 0x94c33406
sub dword [ebp - 0x54], 0x94c33406
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xa913cd74
add eax, 0x66eed2f4
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3f752
push 0
call eax
mov ecx, 0xdccf7d0a
sub ecx, 0xdccf3d02
xor edi, edi
add edi, eax
mov esi, 0x7f43956b
sub esi, 0x6f3fa76b
add esi, dword [ebp - 0x50]
mov ebx, 0x55178233
sub ebx, 0x6010bdb7
mov edx, dword [esi]
xor edx, ebx
sub dword [ebp - 0x48], 0x72be2f0
mov dword [edi], edx
add edi, 0xe16e3c64
add edi, 0x1e91c3a0
add esi, 0x38401bd3
add esi, 0xc7bfe431
loop 0x1001da0c
add eax, 0xeae51aeb
sub eax, 0xeae427f8
xor ebx, ebx
add ebx, eax
add eax, 0x4c2e8754
sub eax, 0x4c2e874f
mov ecx, 0xbb9fc264
sub ecx, 0xab9fc264
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x1001ecde
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x10036ee8], 0
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
je 0x1001ed14
push str.PDFXTerm
push 0x10037330
call ebx
cmp byte [0x10036ee8], 0
pop ecx
pop ecx
je 0x1001ed14
push 0x10037330
call edi
mov eax, dword [0x10037310]
xor ecx, ecx
xor esi, esi
inc ecx
test eax, eax
je 0x1001edd7
jmp 0x1001eda2
mov esi, dword [eax]
xor eax, eax
cmp word [esi + 0x2c], ax
jne 0x1001ed6f
mov word [esi + 0x2c], cx
cmp byte [0x10036ee8], al
je 0x1001ed5e
push esi
push str.PDFX_0x_xl_.closing__true
push 0x10037330
call ebx
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x1001ed5e
push 0x10037330
call edi
mov eax, dword [0x10037310]
push 2
push dword [esi + 8]
call dword [eax + 0x20]
pop ecx
pop ecx
xor eax, eax
push esi
mov dword [esi + 8], eax
call fcn.1001d8de
mov eax, dword [0x10037310]
mov ecx, dword [esi]
push 4
mov dword [eax], ecx
xor eax, eax
push eax
push esi
call sub.MSVCR120.dll_memset
mov eax, dword [0x10037310]
push esi
call dword [eax + 0x28]
mov eax, dword [0x10037310]
add esp, 0x14
xor esi, esi
push 1
pop ecx
cmp dword [eax], esi
jne 0x1001ed28
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x1001edb9
push ecx
call fcn.1001d8de
mov eax, dword [0x10037310]
pop ecx
push 4
push esi
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [0x10037310]
push eax
call dword [eax + 0x28]
xor ecx, ecx
mov dword [0x10037310], esi
add esp, 0x10
inc ecx
mov eax, dword [0x10037314]
test eax, eax
je 0x1001ee92
jmp 0x1001ee60
mov esi, dword [eax]
xor eax, eax
cmp word [esi + 0x2c], ax
jne 0x1001ee2d
mov word [esi + 0x2c], cx
cmp byte [0x10036ee8], al
je 0x1001ee1c
push esi
push str.PDFX_0x_xl_.closing__true
push 0x10037330
call ebx
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x1001ee1c
push 0x10037330
call edi
mov eax, dword [0x10037314]
push 2
push dword [esi + 8]
call dword [eax + 0x20]
pop ecx
pop ecx
xor eax, eax
push esi
mov dword [esi + 8], eax
call fcn.1001d8de
mov eax, dword [0x10037314]
mov ecx, dword [esi]
push 4
mov dword [eax], ecx
xor eax, eax
push eax
push esi
call sub.MSVCR120.dll_memset
mov eax, dword [0x10037314]
push esi
call dword [eax + 0x28]
mov eax, dword [0x10037314]
add esp, 0x14
xor esi, esi
push 1
pop ecx
cmp dword [eax], esi
jne 0x1001ede6
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x1001ee77
push ecx
call fcn.1001d8de
mov eax, dword [0x10037314]
pop ecx
push 4
push esi
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [0x10037314]
push eax
call dword [eax + 0x28]
add esp, 0x10
mov dword [0x10037314], esi
pop edi
pop esi
pop ebx
ret
Function at 0x1001f440
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10028d77
call fcn.100265df
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor esi, esi
push eax
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
push dword [ebp + 8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [edi], esi
call ebx
test eax, eax
jne 0x1001f586
cmp dword [ebp - 0x18], 1
jne 0x1001f586
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
inc eax
mov dword [ebp - 4], esi
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001d8de
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
test esi, esi
je 0x1001f586
push dword [ebp - 0x14]
push 0
push esi
call fcn.1001d8de
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 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x1001f57b
cmp dword [ebp - 0x18], 1
jne 0x1001f57b
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.1001d8de
mov dword [edi], eax
pop ecx
test eax, eax
je 0x1001f57b
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push 0
push eax
call fcn.1001d8de
lea eax, [ebp - 0x20]
push eax
push 0x1002df90
push esi
call dword [sym.imp.MSVCR120.dll_wcstok_s]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x1001f55f
push ebx
call fcn.1001d8de
pop ecx
test al, al
je 0x1001f55f
mov eax, dword [ebp - 0x14]
push ebx
inc eax
push eax
push dword [edi]
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
jmp 0x1001f57b
push dword [edi]
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
and dword [edi], 0
pop ecx
jmp 0x1001f57b
test esi, esi
je 0x1001f586
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.10026544
ret

Function at 0x1001fc1b
Capabilities:
Print debug messages

Disassembly:
push esi
push 0x1002dcec
xor esi, esi
call fcn.1001d8de
pop ecx
test eax, eax
jne 0x1001fc3c
push 0x1002dd04
call fcn.1001d8de
pop ecx
test eax, eax
je 0x1001fc3f
xor esi, esi
inc esi
cmp byte [0x10036ee8], 0
je 0x1001fc6f
push edi
push esi
push str._BrowserIntegrationWin__IsLoadedInProcByAcrobat__d
mov edi, 0x10037748
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x1001fc6e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop edi
mov eax, esi
pop esi
ret