joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x78], eax
call fcn.00408d90
cmp eax, 3
jl 0x48339c
push esi
push 0x52dac0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4833ac
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.InitializeProcThreadAttributeList
push esi
call ebx
mov edi, eax
test edi, edi
je 0x4833bd
push str.UpdateProcThreadAttribute
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x4833bd
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 1
push 0
call edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4833bd
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4833bd
lea eax, [ebp - 8]
push eax
push 0
push 1
push esi
call edi
test eax, eax
je 0x4833bd
push 0
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0x20000
push 0
push esi
call ebx
test eax, eax
je 0x4833bd
push 0x44
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.004f9050
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov dword [ebp - 0x10], esi
movdqu xmm0, xmmword [eax]
push dword [ebp - 0x78]
movdqu xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x54], 0x48
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [ebp - 0x44], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmm0, xmmword [eax + 0x30]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x6c]
mov eax, dword [ebp + 0x24]
push dword [ebp - 0x58]
or eax, 0x1080000
push eax
push dword [ebp + 0x20]
movdqu xmmword [ebp - 0x24], xmm0
push dword [ebp - 0x74]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00401590
mov esp, ebp
pop ebp
ret
Function at 0x485a40
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x214], 0
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
je 0x485a81
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push ebx
push edi
push 0xffffffffffffffff
mov eax, dword [eax]
mov dword [ebp - 0x20c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x20c]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x485b0d
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp eax, 0x80
je 0x485b0d
cmp eax, 0x81
je 0x485b0d
test eax, eax
je 0x485b0d
mov eax, dword [esi]
lea ecx, [ebp - 0x210]
push ecx
push 0x200
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x210], 0
push ecx
push dword [esi + 4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x485b02
cmp dword [ebp - 0x210], 0x200
je 0x485b20
push dword [esi + 8]
xor bl, bl
call edi
test eax, eax
jne 0x485b31
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov bl, 1
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
jne 0x485b0d
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x485b0d
test bl, bl
jne 0x485b86
mov eax, dword [esi]
push 0xffffffffffffffff
push 0
mov eax, dword [eax]
mov dword [ebp - 0x20c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x20c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
jne 0x485ab6
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00401590
mov esp, ebp
pop ebp
ret
Function at 0x486090
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x28], 0
call fcn.00408da0
cmp dword [eax + 0x28], 1
je 0x4860c6
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x4860ef
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x486101
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esi]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea eax, [ebp - 0x2c]
push 0
push 0
push 0x100002
push eax
push dword [ecx]
push dword [esi + 8]
push edi
call ebx
test eax, eax
je 0x486216
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push 0
push 0
push 0x100002
push ecx
push dword [eax]
push dword [esi + 0xc]
push edi
call ebx
test eax, eax
je 0x486216
mov eax, dword [esi]
mov edi, 0x1000
push 0x40
push 0x3000
push edi
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
jne 0x4861bd
lea esp, [esp]
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push 0x1c
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push edi
movdqu xmmword [ebp - 0x24], xmm0
movq qword [ebp - 0x14], xmm0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x4861b9
mov eax, dword [esi]
add edi, dword [ebp - 0x18]
push 0x40
push 0x3000
push 0x1000
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x486170
test ebx, ebx
je 0x486216
push 0x2c
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004f9050
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
push ecx
push 0x10
lea ecx, [ebp - 0x5c]
mov dword [ebp - 8], 0
push ecx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x486216
cmp dword [ebp - 8], 0x10
jne 0x486216
push ebx
mov ecx, esi
call fcn.00485c40
test al, al
je 0x486216
mov ecx, esi
call fcn.00485a40
test al, al
jne 0x486229
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push ebx
push dword [eax]
call fcn.00485ba0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.00401590
mov esp, ebp
pop ebp
ret
Function at 0x48f4b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524cbb
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
call fcn.00404d00
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, eax
call fcn.004164a0
test al, al
je 0x48f633
call fcn.00414330
mov edi, eax
test edi, edi
je 0x48f633
test esi, esi
je 0x48f633
cmp word [esi], 0
je 0x48f633
push esi
lea ecx, [ebp - 0x23c]
call fcn.004076f0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x48f57c
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x48f57c
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x48f57c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040b8c0
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x224]
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push 0
movq qword [ebp - 0x278], xmm0
push edi
mov dword [ebp - 0x278], 0x208
mov dword [ebp - 0x274], eax
movq qword [ebp - 0x224], xmm0
call fcn.00498730
push 0x30
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x270], 0
push 0
push eax
call fcn.004f9050
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x280], ebx
cmovae eax, dword [ebp - 0x23c]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x224]
push 0xfe
push eax
call fcn.0048a2b0
add esp, 0x24
lea ecx, [ebp - 0x23c]
test eax, eax
je 0x48f653
call fcn.004087d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret 0xc
call fcn.004087d0
mov eax, 1
jmp 0x48f635
Function at 0x4938a0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esi + 0x24], 0
test eax, eax
je 0x4938d5
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4938ea
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x49391c
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
jb 0x4938fe
mov eax, dword [edi]
jmp 0x493900
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x493916
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4939d1
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x5481e4
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4939d1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movdqa xmm0, xmmword [0x548250]
lea eax, [ebp - 0x424]
push 0
push eax
push 0
push 0
movdqu xmmword [ebp - 0x424], xmm0
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
cmp word [ebp - 0x20c], 0
mov dword [esi + 4], eax
mov dword [esi + 8], 0
jne 0x49399d
xor ecx, ecx
jmp 0x4939b5
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4939a6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xc]
call fcn.00407750
push dword [esi + 0x44]
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x28], 0
xor ecx, ebp
pop esi
call fcn.00401590
mov esp, ebp
pop ebp
ret

Function at 0x493b80
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x493b9b
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x493bb0
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x493be9
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
jb 0x493bc4
mov eax, dword [edi]
jmp 0x493bc6
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x493bdc
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
mov dword [esi + 0x24], eax
mov dword [esi], eax
pop esi
ret
mov dword [esi + 0x24], 0
mov dword [esi], 0
pop esi
ret
Function at 0x49a030
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x579630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 0x18]
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
jne 0x49a0f5
xor edi, edi
lea esp, [esp]
push 0
push 0x548260
push 0x548260
push 0
push 0x548260
inc edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x49a0dc
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x10], eax
push dword [eax + 4]
push eax
call fcn.004cf930
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 0x14]
sub ecx, eax
cmp ecx, 1
jb 0x49a0eb
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], ecx
mov ebx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
cmp edi, 3
jl 0x49a080
cmp dword [ebx + 0x14], 0
jne 0x49a0f5
xor edi, edi
jmp 0x49a11d
push str.list_T__too_long
call fcn.004f78ae
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0x14]
call fcn.004085be
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
push 6
xor bl, bl
mov dword [ebp - 0x21c], 0
call fcn.0040dfd0
add esp, 0xc
test al, al
je 0x49da9c
cmp dword [0x57fcb4], 0
jne 0x49da9c
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push eax
push 1
push 0
push str.4075174
call fcn.0040a3f0
add esp, 0x10
movzx eax, ax
cmp word [ebp - 0x228], 0
je 0x49d971
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004f9050
push str.SoftwareAdobeAdobe_AcrobatDCFeatureState
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0x104
push eax
mov dword [ebp - 0x214], 0
mov esi, 1
mov dword [ebp - 0x218], 4
call fcn.00403897
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49d96e
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push str.4075174
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49d962
cmp dword [ebp - 0x210], 4
jne 0x49d962
cmp dword [ebp - 0x214], eax
setne al
mov dword [ebp - 0x22c], eax
mov esi, eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, si
test ax, ax
je 0x49da9c
push str.mmdevapi.dll
call fcn.0042ea80
add esp, 4
mov dword [0x57fcb4], eax
test eax, eax
je 0x49da9c
push 0x57fcb4
push str.mmdevapi.dll
push 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x49da9c
cmp dword [0x57fcb4], 0
je 0x49da9c
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x21c]
push eax
push 0x548490
push 3
push 0
push 0x548480
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x49da9c
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x49daac
push dword [0x57fcb4]
mov esi, dword [esi]
push esi
call fcn.004756e0
add esp, 8
test al, al
je 0x49da9c
push dword [0x57fcb4]
lea eax, [esi + 0x20]
push eax
call fcn.004756e0
add esp, 8
test al, al
je 0x49da9c
push edi
push dword [0x57fcb4]
lea edi, [esi + 0x18]
push dword [edi]
call fcn.004756e0
add esp, 8
test al, al
je 0x49da9b
push dword [0x57fcb4]
add esi, 0x1c
push dword [esi]
call fcn.004756e0
add esp, 8
test al, al
je 0x49da9b
push 4
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], method.acrobat_broker::SandboxBrokerClientImpl.virtual_84
push eax
push edi
call fcn.00479380
add esp, 0xc
test al, al
je 0x49da9b
push 4
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], method.acrobat_broker::SandboxBrokerClientImpl.virtual_84
push eax
push esi
call fcn.00479380
add esp, 0xc
movzx ebx, bl
test al, al
mov ecx, 1
cmovne ebx, ecx
pop edi
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x49daac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00401590
mov esp, ebp
pop ebp
ret
Function at 0x49e970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525028
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x579630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.acrobat_broker::WininetCallbackReceiver.0
lea ecx, [edi + 0xc]
mov word [edi + 4], 0
mov byte [edi + 6], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00405fb0
mov dword [edi + 0xc], eax
lea eax, [edi + 0x14]
push eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a7b00
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529c58
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [0x57f480]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x4a7c56
push 0
push 0
push 6
call fcn.0040dfd0
add esp, 0xc
test al, al
je 0x4a7c56
call fcn.004091f0
lea eax, [ebp - 0x40]
push 0x52e234
push eax
call fcn.00470320
add esp, 8
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
je 0x4a7c45
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004f9d09
mov esi, eax
add esp, 4
test esi, esi
je 0x4a7c45
push 0x19
xor eax, eax
mov dword [ebp - 0x14], 7
push str..pipeACROCOMMACTWIN_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407750
push esi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push 0x533d8c
push eax
call fcn.00431e10
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040af40
cmp dword [ebp - 0x54], 8
mov byte [ebp - 4], 1
jb 0x4a7c12
push dword [ebp - 0x68]
call fcn.004085be
add esp, 4
mov ecx, dword [ebp - 0x50]
call fcn.004a8210
mov esi, eax
test esi, esi
jne 0x4a7c75
cmp dword [ebp - 0x14], 8
jb 0x4a7c31
push dword [ebp - 0x28]
call fcn.004085be
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
cmp dword [ebp - 0x2c], 8
jb 0x4a7c56
push dword [ebp - 0x40]
call fcn.004085be
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x4c]
push ecx
push 0x3e8
push 0
push 0
push 1
push 0xe
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], 0xc
cmovae eax, dword [ebp - 0x28]
push 0x80003
push eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp dword [ebp - 0x14], 8
mov edi, eax
jb 0x4a7cc1
push dword [ebp - 0x28]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
jb 0x4a7ced
push dword [ebp - 0x40]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x4a7c59
Function at 0x4aa1b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
mov dword [ebp - 0x420], 0
call fcn.004f9050
add esp, 0xc
xor bl, bl
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4aa279
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004f9050
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4aa272
push 0
push 0
push 0x105
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0040b560
add esp, 0x24
movzx ebx, bl
test eax, eax
mov ecx, 1
cmove ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
mov dword [edi + 0x14], 7
mov eax, 0x52d9b8
mov dword [edi + 0x10], 0
lea edx, [ebp - 0x41c]
cmove edx, eax
xor eax, eax
mov word [edi], ax
cmp word [edx], ax
jne 0x4aa2a5
xor ecx, ecx
jmp 0x4aa2bf
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aa2b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00407750
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401590
mov esp, ebp
pop ebp
ret