joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7df4c889
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x7df72088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0xc]
push 0x13
mov dword [ebp - 0xac], eax
pop eax
push 0x14
mov word [ebp - 0xdc], ax
pop eax
xor esi, esi
push esi
mov word [ebp - 0xda], ax
mov dword [ebp - 0xd8], 0x7de93cd8
call fcn.7df4ab8a
push esi
call fcn.7df4c2f4
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x30]
test byte [ebx + 3], 1
mov dword [ebp - 0xd0], eax
jne 0x7df7a964
mov eax, 0x7df7020c
mov dword [0x7df70210], eax
mov dword [0x7df7020c], eax
mov eax, 0x7df70214
mov dword [0x7df70218], eax
mov dword [0x7df70214], eax
mov eax, 0x7df7021c
mov dword [0x7df70220], eax
mov dword [0x7df7021c], eax
mov dword [0x7df70200], 0x30
mov byte [0x7df70204], 1
mov byte [0x7df70228], 0
mov dword [0x7df7022c], esi
lea eax, [ebp - 0x64]
push eax
push dword [ebx + 0x60]
mov dword [ebx + 0xc], 0x7df70200
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
call fcn.7df4c6fd
lea eax, [ebp - 0x64]
push eax
call fcn.7df4c3ad
push ebx
call fcn.7df4c392
push ebx
call fcn.7df4c377
mov eax, dword [ebx + 0x10]
test byte [eax + 8], 1
mov ecx, dword [eax + 0x3c]
je 0x7df7a992
mov dword [ebp - 0x94], ecx
mov dx, word [eax + 0x38]
mov word [ebp - 0x98], dx
mov edi, dword [ebp - 0x98]
add edi, 2
mov word [ebp - 0x96], di
cmp dx, 8
jb 0x7df4c9b2
cmp word [ecx], 0x5c
je 0x7df7197b
lea eax, [ebp - 0x70]
push eax
push esi
push esi
mov byte [0x7df7000a], 0
mov dword [ebp - 0xc8], esi
push dword [ebx + 8]
xor edi, edi
inc edi
push 3
mov dword [ebp - 0xa8], edi
call fcn.7df29495
cmp byte [0x7ffe02d5], 0
mov ecx, dword [ebp - 0x70]
je 0x7df7198b
mov al, byte [ecx + 0x5f]
and al, 1
test al, al
jne 0x7df5b181
push ecx
call fcn.7df4ccc9
test al, al
je 0x7df7a9e2
jmp 0x7df7a9e8

Function at 0x7df4dfd9
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x64
push 8
push dword [eax + 0x18]
call fcn.7df28026
test eax, eax
je 0x7df8bda6
or dword [eax], 0x400
ret
Function at 0x7df50728
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov word [ebp - 0x20], ax
lea edi, [ebp - 0x1e]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
mov dword [ebp - 0x10], edi
cmp esi, edi
je 0x7df5b265
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x7df5b265
cmp dword [eax], edi
je 0x7df5b265
cmp dword [ebp + 0xc], edi
je 0x7df5b265
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x1fe
push 8
push dword [eax + 0x18]
call fcn.7df28026
mov ebx, eax
test ebx, ebx
je 0x7df86f9a
push dword [ebp + 0xc]
lea eax, [ebx + 0xaa]
mov dword [ebp - 0x24], eax
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, 0xaa
mov word [ebp - 0x26], ax
lea eax, [ebp - 8]
push eax
call fcn.7df5049d
test eax, eax
jl 0x7df5b25b
lea eax, [ebp - 0x28]
push eax
movzx eax, word [ebp - 8]
push eax
call fcn.7df49eff
test al, al
je 0x7df5b25b
and dword [ebp - 0xc], edi
xor eax, eax
cmp ax, word [esi + 4]
jae 0x7df508df
and dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x20], ax
mov eax, 0xaa
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0x10]
add eax, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
push eax
push dword [ebp + 0xc]
call fcn.7df50cc0
mov edi, eax
test edi, edi
jl 0x7df508df
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.7df51011
mov edi, eax
test edi, edi
jl 0x7df508df
cmp byte [ebp + 8], 0
je 0x7df5b241
mov esi, dword [ebp + 0xc]
lea eax, [ebx + 0x154]
mov dword [ebp - 0x14], eax
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, 0xaa
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
lea edi, [ebp - 1]
mov byte [ebp - 1], 0
call fcn.7df50901
mov edi, eax
test edi, edi
jl 0x7df508df
cmp byte [ebp - 1], 0
jne 0x7df508c4
xor eax, eax
cmp word [ebp - 0x18], ax
jbe 0x7df508c4
mov esi, dword [ebp + 0xc]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push eax
push esi
push dword [ebp + 0x14]
call fcn.7df51011
mov edi, eax
test edi, edi
jl 0x7df508df
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 1]
call fcn.7df50901
mov edi, eax
test edi, edi
jge 0x7df50886
test edi, edi
jl 0x7df508df
mov esi, dword [ebp + 0x10]
movzx eax, word [esi + 4]
inc dword [ebp - 0xc]
add dword [ebp - 8], 6
cmp dword [ebp - 0xc], eax
jb 0x7df507f9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call fcn.7df27f85
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x7df517b0
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword fs:[0x18]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 0x7dec7d9c
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov edx, dword [eax + 0x30]
mov dword [ebp - 0xc], edi
je 0x7df7f91b
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x7df517e4
mov dword [ecx], edi
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
test eax, 0xfffffffc
jne 0x7df7f971
cmp ebx, 1
jb 0x7df7f971
cmp ecx, edi
je 0x7df7f971
cmp dword [ebp + 0x18], edi
je 0x7df7f971
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
and eax, 3
push edx
push eax
call 0x7df51c42
mov esi, eax
cmp esi, edi
jl 0x7df7f93a
cmp dword [ebp - 8], edi
je 0x7df51882
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x7df5188d
cmp dword [ebp - 4], edi
je 0x7df5188d
mov eax, dword [eax + 8]
cmp ebx, eax
jae 0x7df7f942
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.7df51899
mov esi, eax
cmp esi, edi
jl 0x7df7f95b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
lea eax, [eax + ebx*4]
cmp dword [eax], edi
je 0x7df5188d
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
add eax, 4
mov dword [ecx], eax
xor esi, esi
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 0x18
mov esi, 0xc00000e5
jmp 0x7df51884
Function at 0x100022b4
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push 0x48
mov eax, 0x1000c708
call fcn.1000b995
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x4c], eax
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 0x54], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea eax, [ebp - 0x48]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10002239
cmp dword [ebp - 0x38], ebx
jne 0x10002315
push 9
pop esi
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.1000a248
push dword [ebp - 0x54]
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
call fcn.1000ba18
ret 0xc
cmp dword [edi + 0xc], 0x400
jbe 0x10002322
push 8
jmp 0x100022ef
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [esi + 0x14], 2
push 0xffffffffffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push ebx
lea eax, [esi + 0x68]
je 0x10002348
lea eax, [esi + 0x4c]
push eax
call fcn.1000a248
cmp dword [esi + 8], ebx
jne 0x10002384
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1000235f
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x10002384
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1000a248
jmp 0x100022ed
mov eax, dword [ebp - 0x48]
push 8
pop esi
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x34], esi
jae 0x10002395
lea eax, [ebp - 0x48]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x50]
push ecx
push 0x40c
push dword [ebp - 0x4c]
push 0x410
push edi
push eax
call dword [sym.imp.kernel32.dll_CallNamedPipeW]
cmp eax, ebx
jne 0x100023e2
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 1
cmp eax, 0x5b4
jne 0x100023d8
call fcn.1000a248
push 0xa
jmp 0x100022ef
call fcn.1000a248
jmp 0x100022f0
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1000a248
xor esi, esi
jmp 0x100022f0
Function at 0x10002faf
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x10002fd0
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 0x10002fcc
xor eax, eax
ret

Function at 0x10002fde
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 0x10002fff
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 0x10002ffb
xor eax, eax
ret

Function at 0x100068d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000cb1e
call fcn.1000b9cb
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call fcn.10004616
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x1000692c
call fcn.100036d3
mov esi, eax
jmp 0x10006a02
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x10006945
call fcn.100036d3
jmp 0x100069f4
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x1000693b
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x1000697f
mov esi, 0x8007000e
jmp 0x100069f6
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000a248
mov dword [ebp - 4], 1
jmp 0x100069ad
cmp dword [ebp - 0x418], esi
je 0x10006978
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x1000693b
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1000a248
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10006a1b
lea ecx, [ebp - 0x418]
call fcn.10004030
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10003fb2
mov eax, esi
call fcn.1000ba27
ret 0x10
Function at 0x10009b34
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x1000cdf8
call fcn.1000b95f
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call esi
test eax, eax
jne 0x10009c78
cmp dword [ebp - 0x18], 1
jne 0x10009c78
mov edi, dword [ebp - 0x14]
shr edi, 1
inc edi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
neg ecx
or ecx, eax
push ecx
call fcn.1000a248
mov edi, eax
pop ecx
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x10009c6a
push dword [ebp - 0x14]
push ebx
push edi
call fcn.1000a248
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea eax, [eax + eax - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp eax, ebx
jne 0x10009c6a
cmp dword [ebp - 0x18], 1
jne 0x10009c6a
shr dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000a248
mov esi, dword [ebp + 0x10]
pop ecx
mov dword [esi], eax
cmp eax, ebx
je 0x10009c6a
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push ebx
push eax
call fcn.1000a248
lea eax, [ebp - 0x20]
push eax
push 0x100102f4
push edi
call dword [sym.imp.MSVCR100.dll_wcstok_s]
mov edi, eax
add esp, 0x18
cmp edi, ebx
je 0x10009c50
push edi
call fcn.1000a248
pop ecx
cmp al, bl
je 0x10009c50
mov eax, dword [ebp - 0x14]
push edi
inc eax
push eax
push dword [esi]
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
jmp 0x10009c6a
push dword [esi]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi], ebx
jmp 0x10009c6a
cmp dword [ebp - 0x1c], ebx
je 0x10009c78
push dword [ebp - 0x1c]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.1000ba04
ret
Function at 0x10009c7e
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x438
mov eax, 0x1000ce13
call fcn.1000b9cb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x43c], eax
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x424], ax
xor esi, esi
lea eax, [ebp - 0x422]
push esi
push eax
call sub.MSVCR100.dll_memset
xor eax, eax
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call sub.MSVCR100.dll_memset
fldz
add esp, 0x18
fstp qword [ebp - 0x444]
lea eax, [ebp - 0x42c]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSoftGrid
mov ebx, 0x104
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x438], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009ecd
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x428], esi
push esi
jmp 0x10009d98
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR100.dll__wtof]
fldz
fcomp st(1)
pop ecx
fnstsw ax
test ah, 5
jp 0x10009d78
fld qword [ebp - 0x444]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10009d78
lea eax, [ebp - 0x21c]
fstp qword [ebp - 0x444]
push eax
lea eax, [ebp - 0x424]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
jmp 0x10009d7a
fstp st(0)
inc dword [ebp - 0x428]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
call edi
mov dword [ebp - 0x430], eax
cmp eax, esi
je 0x10009d30
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x430], 0x103
jne 0x10009ecd
mov edi, dword [sym.imp.MSVCR100.dll_wcslen]
push str.ClientUserInterface
call edi
mov ebx, str.SoftwareMicrosoftSoftGrid_
push ebx
mov dword [ebp - 0x430], eax
call edi
mov ecx, dword [ebp - 0x430]
lea edi, [ecx + eax + 0x105]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
neg ecx
or ecx, eax
push ecx
call fcn.1000a248
add esp, 0xc
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x10009ecd
push edi
push esi
push eax
call fcn.1000a248
push ebx
push edi
push dword [ebp - 0x428]
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
mov ebx, dword [sym.imp.MSVCR100.dll_wcscat_s]
add esp, 0x18
lea eax, [ebp - 0x424]
push eax
push edi
push dword [ebp - 0x428]
call ebx
add esp, 0xc
push str.ClientUserInterface
push edi
push dword [ebp - 0x428]
call ebx
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
push 0x20019
push esi
push dword [ebp - 0x428]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10009ec1
push dword [ebp - 0x434]
push str.LaunchCommand
push dword [ebp - 0x42c]
call fcn.10009b34
add esp, 0xc
push dword [ebp - 0x43c]
push 0x100102f8
push dword [ebp - 0x42c]
call fcn.10009b34
add esp, 0xc
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x428]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.1000ba27
ret
Function at 0x1000a248
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1000a257
pop dword [ebp - 0x10]
mov eax, 0x1000a257
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x319131e5
sub dword [ebp - 0x20], 0xe33eec9a
mov dword [ebp - 0x1c], 0xa83d74c2
sub dword [ebp - 0x1c], 0x760a287d
mov dword [ebp - 0x18], 0x265c12e6
add dword [ebp - 0x18], 0x25f03148
mov dword [ebp - 0x14], 0x2552f84
sub dword [ebp - 0x14], 0x2552f84
lea eax, [ebp - 0x20]
push eax
mov eax, 0xae8edb03
add eax, 0x61721589
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x41721f9d
add dword [ebp - 0x20], 0x330049b9
mov dword [ebp - 0x1c], 0x2427ade1
sub dword [ebp - 0x1c], 0xe2bb4c6c
mov dword [ebp - 0x18], 0x9e9f37b4
add dword [ebp - 0x18], 0xc4d034b8
mov dword [ebp - 0x14], 0xe2dfe6cd
sub dword [ebp - 0x14], 0xe2dfe6cd
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x78b18154
add eax, 0x974f6ef0
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3a9a0
push 0
call eax
mov ecx, 0x4f3c
mov edi, eax
mov ebx, 0xab438efd
sub ebx, 0x9b41eafd
add ebx, dword [ebp - 0x10]
mov esi, 0x4fae8a30
add esi, 0xea366145
mov dword [ebp - 8], 0x9853b94e
mov edx, dword [ebx]
add edx, esi
sub dword [ebp - 4], ecx
mov dword [edi], edx
xor dword [ebp - 0xc], edi
add edi, 4
add ebx, 0xa1484463
add ebx, 0x5eb7bba1
loop 0x1000a36e
add eax, 0xc310eb76
sub eax, 0xc30fbbb3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5a8b5bf9
sub ecx, 0x4a8b5bf9
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1000a817
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push 0x89c
mov eax, 0x1000cea5
call fcn.1000b995
mov eax, dword [ebp + 8]
push 0x44
pop esi
xor ebx, ebx
push esi
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x8a8]
push ebx
push eax
mov dword [ebp - 0x850], ecx
mov byte [ebp - 0x849], bl
call sub.MSVCR100.dll_memset
xor eax, eax
push 0x10
mov word [ebp - 0x878], ax
lea eax, [ebp - 0x864]
push ebx
push eax
mov dword [ebp - 0x8a8], esi
mov dword [ebp - 0x87c], 1
call sub.MSVCR100.dll_memset
add esp, 0x18
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
push ebx
mov esi, 0x105
push esi
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], ebx
call fcn.1000a248
cmp dword [ebp - 0x834], 8
mov eax, dword [ebp - 0x848]
jae 0x1000a8bb
lea eax, [ebp - 0x848]
push eax
push dword [ebp - 0x838]
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
cmp eax, ebx
je 0x1000aa62
cmp eax, dword [ebp - 0x838]
ja 0x1000aa62
xor eax, eax
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
push ebx
push esi
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 1
call fcn.1000a248
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x1000a917
lea eax, [ebp - 0x82c]
push dword [ebp - 0x81c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x1000aa51
cmp eax, dword [ebp - 0x81c]
ja 0x1000aa51
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x1000a94d
lea eax, [ebp - 0x82c]
mov esi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
push eax
call esi
test eax, eax
je 0x1000aa51
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x1000a973
lea eax, [ebp - 0x82c]
lea ecx, [ebp - 0x864]
push ecx
lea ecx, [ebp - 0x8a8]
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x854]
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
cmp dword [ebp - 0x834], 8
mov edi, eax
mov eax, dword [ebp - 0x848]
jae 0x1000a9ab
lea eax, [ebp - 0x848]
push eax
call esi
cmp edi, ebx
je 0x1000a9df
push 0x186a0
push dword [ebp - 0x864]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x1000aa17
mov eax, dword [ebp - 0x864]
mov ecx, dword [ebp - 0x850]
mov dword [ecx + 0x24], eax
mov byte [ebp - 0x849], 1
jmp 0x1000aa17
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x800
mov esi, eax
lea eax, [ebp - 0x810]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push esi
push ebx
push 0x1000
call dword [sym.imp.kernel32.dll_FormatMessageW]
mov eax, dword [ebp - 0x85c]
mov ecx, dword [ebp - 0x850]
push ebx
mov dword [ecx + 0x28], eax
push 1
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], bl
call fcn.1000a248
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.1000a248
mov al, byte [ebp - 0x849]
jmp 0x1000aa76
push ebx
push 1
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], bl
call fcn.1000a248
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.1000a248
xor al, al
call fcn.1000ba18
ret 4
Function at 0x1000aa7e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x258
mov eax, 0x1000cef0
call fcn.1000b995
mov edi, ecx
xor esi, esi
mov byte [ebp - 0x251], 0
cmp dword [edi + 0x20], esi
jne 0x1000acb5
mov eax, dword [edi]
xor ebx, ebx
inc ebx
sub eax, esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], ebx
je 0x1000aacd
dec eax
jne 0x1000acb5
lea eax, [ebp - 0x25c]
push eax
push ebx
push esi
push str.softwareMicrosoftWindowsCurrentVersionApp_PathsAcrobat.exe
jmp 0x1000aadb
lea eax, [ebp - 0x25c]
push eax
push ebx
push esi
push str.softwareMicrosoftWindowsCurrentVersionApp_PathsAcroRd32.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x25c], esi
je 0x1000acb5
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
push esi
push 0x1000f51c
push dword [ebp - 0x25c]
mov dword [ebp - 0x264], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x1000aca9
cmp dword [ebp - 0x260], ebx
je 0x1000ab40
cmp dword [ebp - 0x260], 2
jne 0x1000aca9
push 0x1c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x1000ab65
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.1000a248
jmp 0x1000ab67
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], eax
cmp byte [0x10015902], 0
je 0x1000aca2
mov edx, dword [eax + 0x14]
push 8
pop esi
cmp edx, esi
jb 0x1000ab8f
mov ecx, dword [eax]
mov dword [ebp - 0x258], ecx
jmp 0x1000ab95
mov dword [ebp - 0x258], eax
cmp edx, esi
jb 0x1000ab9d
mov ecx, dword [eax]
jmp 0x1000ab9f
mov ecx, eax
mov ebx, dword [eax + 0x10]
lea ecx, [ecx + ebx*2]
cmp edx, esi
jb 0x1000abab
mov eax, dword [eax]
push dword [sym.imp.MSVCR100.dll_towlower]
push dword [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.1000a248
add esp, 0x14
push str.acrobat.exe
lea ecx, [ebp - 0x234]
call fcn.1000a248
push str.acrodbg.exe
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], 1
call fcn.1000a248
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], esi
jae 0x1000ac07
lea eax, [ebp - 0x234]
mov esi, dword [ebp - 0x224]
mov edi, dword [edi + 0x20]
push esi
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.1000a248
mov ebx, eax
test ebx, ebx
je 0x1000ac2e
mov dword [ebp - 0x258], esi
mov esi, str.acrord32.exe
jmp 0x1000ac64
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x1000ac43
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
mov ecx, edi
push 0xffffffffffffffff
push eax
call fcn.1000a248
mov ebx, eax
test ebx, ebx
je 0x1000ac7c
mov dword [ebp - 0x258], esi
mov esi, str.acrd32_d.exe
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
push esi
push dword [ebp - 0x258]
mov ecx, edi
push ebx
call fcn.1000a248
push 0
push 1
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.1000a248
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.1000a248
mov byte [ebp - 0x251], 1
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x251]
call fcn.1000ba18
ret