joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460c00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2488
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x460c39
inc eax
mov dword [esi + 0x10], eax
jmp 0x460d4c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x460c4d
mov eax, 0xffffffc7
jmp 0x460d4e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x460c5e
cmp dword [esi + 8], eax
jne 0x460c4d
cmp dword [esi + 8], eax
jne 0x460c77
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x460c77
mov eax, 0xffffffc7
jmp 0x460d4e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x460c8b
push eax
mov ecx, ebx
call fcn.00460430
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0042c200
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x460cbc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0042c220
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0045fba0
test eax, eax
mov dword [esp + 0x38], eax
je 0x460cef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e2ad0
call fcn.0042c400
mov eax, dword [esp + 0x38]
jmp 0x460d4e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00460a60
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x460d33
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00460a80
mov esi, eax
test esi, esi
jne 0x460d63
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00460a60
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x460d05
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e2ad0
call fcn.0042c400
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e2ad0
call fcn.0042c400
mov eax, esi
jmp 0x460d4e

Function at 0x463e80
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x463ee0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x463ee0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x463ee0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x463ee0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x463f20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4694f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a2ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0049af80
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00468e90
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0049aeae
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0049776f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0049776f
push 1
push 0
push 0
mov ecx, esi
call fcn.00497717
push 1
push 0
push 1
mov ecx, esi
call fcn.00497717
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049aff2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x469670
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a2ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0049af80
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00468e90
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0049aeae
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x469734
cmp dword [esp + 0x40], 1
jne 0x469732
cmp ecx, eax
jge 0x469734
mov eax, ecx
cmp eax, 0xc8
jge 0x469740
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004694f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049aff2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x469ec0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a2b43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00495b8f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4e8610
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x4e6130
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0049b228
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0049c787
test eax, eax
je 0x469fdc
mov ecx, dword [esp + 0x3c]
call fcn.0049b255
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x469fa0
push edi
mov ecx, esi
call fcn.004988b6
mov ecx, esi
call fcn.0046a140
cmp dword [esp + 0x38], 1
jne 0x469fd5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004989f1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x46ca00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46ca33
push esi
call fcn.0046fb10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46ca2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x46cab9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46caa2
mov eax, dword [esi + 8]
test eax, eax
je 0x46ca57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46ca9e
cmp eax, 2
je 0x46caa2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46ca4a
cmp eax, 3
je 0x46ca7d
cmp eax, 1
jne 0x46ca4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46ca4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46ca4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046cae0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46cac8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046cae0
add esp, 4
pop esi
ret
Function at 0x479b30
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x479bd3
test eax, eax
jbe 0x479bd3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x479bd3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x479b7e
xor esi, esi
jmp 0x479b84
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x479baf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0042cc90
add esi, eax
push esi
mov ebx, esi
call fcn.0042cc90
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x479b90
pop ebp
test edi, edi
pop edi
jne 0x479bd3
test ebx, ebx
je 0x479bd3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00484e50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x479d15
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x479e2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x479e2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00495fe1
mov esi, eax
test esi, esi
je 0x479e2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x479e2d
mov ecx, esi
call fcn.00479c80
cmp edi, eax
jge 0x479e2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x479db3
mov dword [esp + 0x34], 1
jmp 0x479e0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x479e2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004784a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x496985
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4969bd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00494a12
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004949ea
jmp 0x4969c9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x498073
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4980b5
call fcn.0049db72
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4980b5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4980ac
xor eax, eax
jmp 0x4980bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004980c3
pop edi
pop esi
pop ebx
ret 4

Function at 0x49e0a2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49e0d0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49e0ee
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049e008
jmp 0x49e0ee
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49e0ee
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049e008
test edi, edi
mov eax, edi
jne 0x49e0d8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10003cd0
Capabilities:
Move file

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push esi
push edi
push str.OnReplaceFileA:___s_____s_
push 0x10027760
call fcn.1000b440
push 0
push 0x100366ac
call fcn.10011400
add esp, 0x18
push 0x100366ac
push str.OnReplaceFileA:___s_
push 0x10027760
call fcn.1000b440
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
add esp, 0xc
push esi
call ebx
push edi
mov ebp, eax
call ebx
push str..pdf
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
call ebp
test eax, eax
jne 0x10003d61
push str..tmp
push ebx
call ebp
test eax, eax
jne 0x10003d61
push 0x100366ac
call fcn.1000caa0
add esp, 4
cmp eax, 1
jne 0x10003d61
push edi
push 0x100366ac
call fcn.10008f80
add esp, 8
push esi
call fcn.10010e10
add esp, 4
cmp eax, 1
jne 0x10003db8
push str..tmp
push ebx
call ebp
test eax, eax
jne 0x10003db8
push esi
call fcn.1000caa0
add esp, 4
cmp eax, 1
jne 0x10003db8
push 0x100366ac
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x10003db8
push 0x100366ac
call fcn.1000caa0
add esp, 4
cmp eax, 1
jne 0x10003db8
push edi
push 0x100366ac
call fcn.10008f80
add esp, 8
mov eax, dword [0x10030b74]
test eax, eax
je 0x10003de0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
push edi
push esi
call eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x1000aa50
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x810
push ebp
push esi
mov esi, dword [esp + 0x81c]
push edi
push esi
call fcn.1000caa0
xor ebp, ebp
add esp, 4
sub eax, ebp
je 0x1000abb1
dec eax
je 0x1000ab78
dec eax
je 0x1000aa89
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x810
ret
push ebp
push 0x80
push 3
push ebp
push 1
push Ordinal_1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000aab3
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x810
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [esp + 0x10], ebp
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
lea ecx, [esp + 0x10]
push 0
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x2c], eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000ab03
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x1000ab03
lea edx, [esp + 0x10]
push 0
add edi, eax
push edx
push ebx
push edi
push esi
add ebp, eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000aae3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
xor eax, eax
push ebp
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
call fcn.1000a070
lea eax, [esp + 0x24]
push 0x10030b98
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
push ebx
call fcn.1000a1e0
mov ebp, dword [esp + 0x30]
add esp, 0x1c
mov ecx, 2
mov edi, 0x100213c8
mov esi, ebp
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov eax, edx
sete al
test ebp, ebp
mov esi, eax
je 0x1000ab60
push ebp
call fcn.10014af4
add esp, 4
test ebx, ebx
je 0x1000ab6b
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop ebx
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x810
ret
call dword [sym.imp.DSIpcAg.dll_class_IDSIpcAg____cdecl_SCAPI_GetIDSIpcAgent_void_]
cmp eax, ebp
je 0x1000aa7d
mov edx, dword [eax]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push esi
push 0x3fc
mov ecx, eax
call dword [edx]
cmp eax, 0x1f
je 0x1000aa7d
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x810
ret
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
push esi
push ebp
push ebp
call edi
push eax
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push esi
push ebp
push ebp
call edi
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.ole32.dll_StgIsStorageFile]
pop edi
pop esi
pop ebp
add esp, 0x810
ret

Function at 0x1000b3f0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1000
call fcn.10018670
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1008]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x100c]
push eax
push ecx
push edx
call fcn.10018d45
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x1000
ret
Function at 0x1000b440
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1800
call fcn.10018670
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x180c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1810]
push eax
push ecx
push edx
call fcn.10018d45
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x811]
mov byte [esp + 0x810], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1814]
add esp, 0xc
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
lea edx, [esp + 0x804]
push eax
push ecx
push str.__s___s
push edx
call fcn.100189b1
add esp, 0x10
lea eax, [esp + 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x1800
ret

Function at 0x1000b590
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
mov ebp, 1
call dword [sym.imp.DSIpcAg.dll_class_IDSIpcAg____cdecl_SCAPI_GetIDSIpcAgent_void_]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
push 0
push 0
push 0
push 0
push 0
push 0xf
push 0
push ecx
push 0x3fa
mov ecx, eax
call dword [edx]
cmp eax, 0x23
jne 0x1000b5d0
push str.DSACLPrintDriverCheck_Denied_From_LocalSet
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebp
xor eax, eax
pop ebx
ret
test eax, eax
jne 0x1000b5e7
push str.DSACLPrintDriverCheck_Allowed_From_LocalSet
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [str.AdobePS_Acrobat_Distiller]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x100294d4
push edx
call ebx
test eax, eax
je 0x1000b63e
push esi
push edi
mov edi, 0x100294b8
mov esi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
push eax
push ecx
call ebx
test eax, eax
jne 0x1000b623
push str.DSACLPrintDriverCheck_Denied_From_SourceCode
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebp, ebp
mov edx, dword [esi + 4]
add esi, 4
push 0x100294d4
push edx
mov edi, esi
call ebx
test eax, eax
jne 0x1000b608
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x1000b930
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x10]
push eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Word.Document.8
push Ordinal_1
mov dword [esp + 0x38], 3
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000b9ab
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push 4
push edx
push 4
push 0
push str.BrowserFlags
push eax
mov dword [esp + 0x30], 8
call esi
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Excel.Sheet.8
push Ordinal_1
call ebp
test eax, eax
jne 0x1000b9fe
lea edx, [esp + 0x18]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x20]
push str.BrowserFlags
push eax
mov dword [esp + 0x30], 8
call esi
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.PowerPoint.Show.8
push Ordinal_1
call ebp
test eax, eax
jne 0x1000ba70
lea edx, [esp + 0x18]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x20]
push str.BrowserFlags
push eax
mov dword [esp + 0x30], 0xa
mov dword [esp + 0x34], 0x10000
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 3
push 0
push str.EditFlags
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret

Function at 0x1000ba80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
lea eax, [esp]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jle 0x1000bacd
lea ecx, [esp]
push str.PrintProLog.txt
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [esp + 0x404]
lea eax, [esp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000bacd
mov eax, 1
add esp, 0x400
ret
xor eax, eax
add esp, 0x400
ret