joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
mov esi, ecx
je 0x43e047
mov eax, dword [esi]
mov ecx, eax
jmp 0x43e06c
mov eax, dword [esi]
test eax, eax
je 0x43e051
mov ecx, eax
jmp 0x43e06c
cmp dword [esi + 0xc], 0
je 0x43e05d
mov ecx, eax
xor eax, eax
jmp 0x43e06c
mov ecx, eax
xor eax, eax
cmp dword [esi + 4], 0
mov edx, 0
je 0x43e0c1
inc ecx
cmp ecx, 2
jb 0x43e089
call fcn.0040e440
push dword [esi]
call fcn.0040f9e0
add esp, 4
xor eax, eax
mov dword [esi], 0
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x43e0af
call fcn.0040e440
push dword [esi + 4]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 4], 0
xor ecx, ecx
mov eax, dword [esi]
mov edx, eax
mov eax, ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ebx, dword [edi]
cmp edx, ebx
je 0x43e108
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
mov edi, eax
inc ecx
cmp ecx, 2
jb 0x43e0ec
call fcn.0040e440
push dword [esi]
call fcn.0040f9e0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x43e0fb
mov dword [esi], ebx
call fcn.0040e440
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp eax, ebx
je 0x43e151
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
mov edi, eax
inc ecx
cmp ecx, 2
jb 0x43e137
call fcn.0040e440
push dword [esi + 4]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 4], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x43e147
mov dword [esi + 4], ebx
call fcn.0040e440
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x43e210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x6ccc30]
xor eax, ebp
test ecx, ecx
mov dword [ebp - 0x10], eax
je 0x43e29e
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0
call esi
mov ebx, eax
call esi
lea ecx, [ebp - 0x14]
push 2
push 0
push 0
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43e2a2
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
cmp dword [esi], edi
je 0x43e29e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jb 0x43e287
mov ebx, eax
call fcn.0040e440
push dword [esi]
call fcn.0040f9e0
mov eax, ebx
add esp, 4
mov dword [esi], 0
lea ecx, [edi + 1]
mov bl, 1
cmp ecx, 2
jb 0x43e2aa
mov dword [esi], edi
mov esi, eax
call fcn.0040e440
mov eax, esi
jmp 0x43e2aa
mov bl, 1
jmp 0x43e2b1
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43e2d0
Capabilities:
Patch process command line

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [0x6d1f58]
test eax, eax
jne 0x43e316
push 0x65d24c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x659404
mov esi, eax
mov dword [esp + 0x14], eax
call fcn.00401f00
test al, al
jne 0x43e30c
int3
xor eax, eax
lock cmpxchg dword [0x6d1f58], esi
mov eax, dword [0x6d1f58]
test eax, eax
jne 0x43e320
int3
mov eax, dword [0x6d1f58]
test eax, eax
je 0x43e414
push str.NtQueryInformationProcess
push dword [0x6d1f58]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test eax, eax
je 0x43e416
test ecx, ecx
je 0x43e41f
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
movaps xmmword [esp + 0x30], xmm0
call dword [0x64689c]
lea eax, [esp + 0x30]
push 0
push 0x18
push eax
push 0
push edi
call ecx
xor esi, esi
test eax, eax
jne 0x43e421
xorps xmm0, xmm0
lea ebx, [esp + 0xc]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
push ebx
push 0x1c
push eax
push dword [esp + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor esi, esi
test eax, eax
je 0x43e421
cmp dword [esp + 0xc], 0x1c
jne 0x43e421
mov esi, dword [esp + 0x18]
mov word [esp + 0xa], 0
lea eax, [esp + 0xa]
push ebx
push 2
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov cl, byte [esp + 0xa]
mov dl, byte [esp + 0xb]
xor edi, edi
xor cl, 0x4d
xor dl, 0x5a
or dl, cl
cmovne esi, edi
cmp dword [esp + 0xc], 2
cmovne esi, edi
test eax, eax
cmove esi, eax
jmp 0x43e421
xor ecx, ecx
int3
xor esi, esi
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43e600
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xc
mov eax, dword [0x6ccc30]
xor esi, esi
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
lock cmpxchg dword [0x6d0fd4], esi
jne 0x43e657
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x43e63f
push str.advapi32.dll
call fcn.00436bb0
add esp, 4
test eax, eax
je 0x43e657
push 0x658598
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x6d0fd4], ecx
mov dword [ebp - 0xc], 0
xor eax, eax
lock cmpxchg dword [0x6d0fd4], esi
je 0x43e683
mov ecx, eax
call dword [0x64689c]
lea eax, [ebp - 0xc]
push 4
push eax
call ecx
test al, al
je 0x43e683
mov esi, dword [ebp - 0xc]
jmp 0x43e6b8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call fcn.00628a9f
add esp, 4
test eax, eax
je 0x43e6b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00628b08
add esp, 4
call fcn.00628ae7
mov esi, eax
jmp 0x43e6b5
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005ce525
mov eax, esi
add esp, 0xc
pop esi
pop ebp
ret
Function at 0x442b10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov eax, dword [0x6ccc30]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x10], 0
je 0x442b92
cmp dword [edi + 0x14], 7
mov esi, ecx
mov eax, edi
jbe 0x442b3b
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x442b56
cmp eax, 0xb7
je 0x442b56
cmp eax, 0x50
jne 0x442bcc
cmp dword [edi + 0x14], 7
jbe 0x442b5e
mov edi, dword [edi]
mov eax, 0xfffffdf6
nop word cs:[eax + eax]
nop dword [eax]
movzx ecx, word [edi + eax + 0x20a]
test cx, cx
je 0x442b96
mov word [ebp + eax - 0x10], cx
add eax, 2
jne 0x442b70
mov word [ebp + eax - 0x12], 0
xor ebx, ebx
jmp 0x442bce
mov bl, 1
jmp 0x442bce
lea edi, [ebp - 0x21a]
mov word [ebp + eax - 0x10], 0
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x442bcc
mov eax, 0x105
nop word cs:[eax + eax]
nop dword [eax]
cmp word [edi], 0
je 0x442be7
add edi, 2
dec eax
jne 0x442bc0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov eax, ebx
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor edx, edx
nop dword [eax]
mov ecx, edx
movzx edx, word [edx + edx + 0x659400]
test dx, dx
je 0x442c14
mov word [edi + ecx*2], dx
lea edx, [ecx + 1]
cmp eax, edx
jne 0x442bf0
mov word [edi + ecx*2], 0
xor ebx, ebx
jmp 0x442bce
mov word [edi + ecx*2], 0
mov esi, dword [esi]
mov eax, dword [esi]
mov edi, dword [eax + 0x60]
mov ecx, edi
call dword [0x64689c]
lea eax, [ebp - 0x21a]
mov ecx, esi
push eax
push 0
push 0
call edi
test eax, eax
sete bl
jmp 0x442bce
Function at 0x443060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x21a]
push 0x20a
push 0
push edi
call fcn.0061e8c0
add esp, 0xc
push edi
push 0
push 0
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x443130
cmp word [ebp - 0x21a], 0
je 0x443130
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4430cf
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
mov ebx, 0x658578
cmovne ebx, edi
je 0x443135
cmp byte [ebp + 0x14], 0
jne 0x4430d5
jmp 0x443135
cmp byte [ebp + 0x14], 0
je 0x4430fe
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x443130
mov eax, 0x105
nop word cs:[eax + eax]
nop
cmp word [edi], 0
je 0x443106
add edi, 2
dec eax
jne 0x4430f0
jmp 0x443130
lea ebx, [ebp - 0x21a]
jmp 0x443135
xor edx, edx
nop dword [eax + eax]
mov ecx, edx
movzx edx, word [edx + edx + 0x659400]
test dx, dx
je 0x443197
mov word [edi + ecx*2], dx
lea edx, [ecx + 1]
cmp eax, edx
jne 0x443110
mov word [edi + ecx*2], 0
mov ebx, 0x658578
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], 0
push ebx
call fcn.005d3244
add esp, 4
mov edi, eax
cmp eax, 7
jbe 0x443172
sub esp, 0xc
mov al, byte [ebp - 0x10]
mov ecx, esi
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.00405590
jmp 0x44318a
mov eax, edi
mov dword [esi + 0x10], edi
add eax, edi
push eax
push ebx
push esi
call fcn.0061e340
add esp, 0xc
mov word [esi + edi*2], 0
mov eax, esi
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [ebp - 0x21a]
mov word [edi + ecx*2], 0
jmp 0x443135
Function at 0x447970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x513620
mov edi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp byte [edi + 4], 0
jne 0x4479b7
mov ecx, edi
push 0x17
call fcn.00447b00
mov ecx, edi
push 0x18
call fcn.00447b00
push 0x41dcf0
push 0x6d2734
call fcn.0041dac0
add esp, 8
test al, al
je 0x447a74
lea esi, [ebp - 0x38]
push str.Acrobatplug_ins_test_toolsAcroNGLToolsqe_ngl_tool.exe
push esi
call fcn.00445570
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x447a3d
cmp dword [ebp - 0x24], 7
mov dword [ebp - 0x20], edi
jbe 0x4479f4
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x10], 1
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x20]
test eax, eax
je 0x447a3d
mov esi, dword [ecx]
cmp dword [ebp - 0x24], 7
jbe 0x447a16
mov ebx, dword [ebp - 0x38]
jmp 0x447a19
lea ebx, [ebp - 0x38]
mov eax, dword [esi]
mov edi, dword [eax + 0x60]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0x64689c]
mov dword [ebp - 0x10], 1
mov ecx, esi
push ebx
push 5
push 2
call edi
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x447a74
mov eax, dword [ebp - 0x38]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x447a6a
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x447a87
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov al, 1
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x447aee
mov eax, dword [ebp - 0x38]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x447ae4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x447af3
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.006207e0
int3
Function at 0x44a580
Capabilities:
Check if file exists
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x513630
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x2c]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44a706
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x44a62b
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
cmp edx, 2
jb 0x44a622
mov dword [ebp - 0x34], eax
call fcn.0040e440
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x44a632
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0x4c
mov dword [ebp - 0x10], 2
push 0x4c
call fcn.005d8940
add esp, 4
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], 3
push ecx
push 0x4c
mov dword [ebp - 0x20], eax
push eax
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x44a6de
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
mov eax, dword [ebp - 0x20]
push dword [eax]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x44a6de
mov edi, dword [ebp - 0x28]
push edi
call fcn.005d3244
add esp, 4
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ecx + 0x14]
cmp eax, esi
jae 0x44a6b4
sub esp, 0xc
mov al, byte [ebp - 0x30]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
jmp 0x44a6d5
cmp eax, 7
mov ebx, ecx
jbe 0x44a6bd
mov ebx, dword [ecx]
mov eax, esi
mov dword [ecx + 0x10], esi
add eax, esi
push eax
push edi
push ebx
call fcn.0061e340
add esp, 0xc
mov word [ebx + esi*2], 0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x20]
call fcn.005db8b4
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x44a706
mov dword [ebp - 0x10], 0
call fcn.0040e440
push dword [ebp - 0x24]
call fcn.0040f9e0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x467ec0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [0x6ccc30]
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov edx, 0x20019
or edx, dword [ebp + 0x10]
push esi
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x467f27
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x467f47
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [esi + 4], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x467f2d
test eax, eax
js 0x467f2d
mov dword [ebp - 0x14], 0x104
lea edx, [esi + 8]
lea ebx, [ebp - 0x14]
push edi
push 0
push 0
push 0
push ebx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x467f2d
jmp 0x467f33

Function at 0x468a60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x6ccc30]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
lea ecx, [edx - 1]
test edx, edx
mov dword [esi + 4], ecx
jle 0x468aad
test eax, eax
je 0x468aad
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x14], 0x104
lea edx, [esi + 8]
lea ebx, [ebp - 0x14]
push edi
push 0
push 0
push 0
push ebx
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x468ab3
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46f060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x568040
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov ecx, edi
mov dword fs:[0], eax
call fcn.00414860
mov dword [edi], vtable.acrobat_broker::SandboxPreviewDispatcher.0
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 0
push 0x20
call fcn.005d0220
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
lea ecx, [edx + 0x14]
mov dword [edx + 0x14], eax
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov byte [edx + 0x58], 0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x60], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x2c], ecx
push 0x24
call fcn.005d0220
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ecx + 0x5c], eax
lea edx, [ecx + 0x5c]
lea eax, [ecx + 0x40]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x28], edx
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 8]
lea edi, [ecx + 4]
cmp eax, dword [ecx + 0xc]
je 0x46f19c
mov esi, ecx
push 0x58
push 0x687ca0
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [esi + 8]
add eax, 0x58
mov dword [esi + 8], eax
cmp eax, dword [esi + 0xc]
je 0x46f1bc
push 0x58
push 0x687cf8
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [esi + 8]
add eax, 0x58
mov dword [esi + 8], eax
cmp eax, dword [esi + 0xc]
je 0x46f1dc
push 0x58
push 0x687d50
push eax
call fcn.0061e340
add esp, 0xc
add dword [esi + 8], 0x58
jmp 0x46f1e9
mov dword [ebp - 0x24], edi
mov ecx, edi
push 0x687ca0
push eax
call fcn.00414cc0
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [ecx + 8]
mov esi, ecx
cmp eax, dword [esi + 0xc]
jne 0x46f168
mov dword [ebp - 0x24], edi
mov ecx, edi
push 0x687cf8
push eax
call fcn.00414cc0
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [ecx + 8]
mov esi, ecx
cmp eax, dword [esi + 0xc]
jne 0x46f186
mov ecx, edi
push 0x687d50
push eax
call fcn.00414cc0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x24], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x20]
lea ecx, [edx + 0x20]
mov dword [edx + 0x28], eax
push ecx
push 0
push edx
push 0x485ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x46f2d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x50f730
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov ecx, edi
mov dword fs:[0], eax
call fcn.00414860
mov dword [edi], vtable.acrobat_broker::SandboxDDEDispatcher.0
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
lea eax, [edi + 0x38]
mov dword [ebp - 0x20], edi
cmp dword [0x6d1ebc], 0
mov dword [ebp - 0x28], eax
je 0x46f42c
lea eax, [edi + 0x44]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 8]
lea edi, [ecx + 4]
cmp eax, dword [ecx + 0xc]
je 0x46f3a0
mov esi, ecx
push 0x58
push 0x678140
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [esi + 8]
add eax, 0x58
mov dword [esi + 8], eax
cmp eax, dword [esi + 0xc]
je 0x46f3c0
push 0x58
push 0x678198
push eax
call fcn.0061e340
add esp, 0xc
add dword [esi + 8], 0x58
jmp 0x46f3cd
mov dword [ebp - 0x24], edi
mov ecx, edi
push 0x678140
push eax
call fcn.00414cc0
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [ecx + 8]
mov esi, ecx
cmp eax, dword [esi + 0xc]
jne 0x46f38a
mov ecx, edi
push 0x678198
push eax
call fcn.00414cc0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x20]
lea ecx, [edx + 0x18]
mov dword [edx + 0x20], eax
push ecx
push 0
push edx
push 0x4780b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], eax
call fcn.0046f480
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x34], vtable.std::exception.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x34]
push 0x6c0018
push eax
call fcn.0061df07
add esp, 8
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
mov ecx, dword [ebp - 0x28]
call fcn.005d38f0
mov ecx, dword [ebp - 0x20]
call fcn.0049e2b0
add esp, 0x18
pop ebp
ret
Function at 0x470860
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov edx, dword [0x6ccc30]
mov al, byte [ebp + 8]
mov esi, ecx
xor edx, ebp
test al, al
mov dword [ebp - 0x10], edx
je 0x4708b3
mov ecx, esi
push 0
push 0x401950
push 1
push str.NtMapViewOfSection
push 0x660652
call fcn.0044dd00
mov ecx, esi
push 1
push 0x403fd0
push 1
push str.NtUnmapViewOfSection
push 0x660652
call fcn.0044dd00
jmp 0x4708bd
cmp dword [esi + 8], 0
je 0x470a24
mov eax, dword [esi]
mov eax, dword [eax]
push 1
push 0x2000
push 0x10000
push 0
mov dword [ebp - 0x70], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x74], esi
mov esi, 0xffb0
lea edi, [ebp - 0x60]
mov dword [ebp - 0x78], eax
shl ecx, 6
sub esi, ecx
mov dword [ebp - 0x6c], ecx
nop word cs:[eax + eax]
nop dword [eax]
push edi
call fcn.00470a40
add esp, 4
movzx ebx, word [ebp - 0x60]
cmp ebx, esi
mov dword [ebp - 0x60], ebx
ja 0x470900
mov eax, dword [ebp - 0x6c]
mov ecx, 0x1000
mov edx, 0x800
lea esi, [eax + 0x50]
mov eax, 0x800
nop dword [eax]
shr edx, 1
mov edi, ecx
cmp eax, esi
mov ecx, eax
mov eax, edx
jae 0x470930
neg edi
mov ecx, dword [ebp - 0x78]
and ebx, edi
mov eax, ebx
and eax, 0xf000
add ecx, eax
mov eax, dword [ebp - 0x6c]
add eax, 0x104f
and eax, 0xfffff000
push 0x40
push 0x1000
push eax
push ecx
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
je 0x470a1d
and ebx, 0xfff
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0x10
add eax, ebx
push 0x520
push 0
push 0x6d20b8
mov ebx, eax
call fcn.0061e8c0
add esp, 0xc
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
push esi
mov dword [ebp - 0x6c], ebx
push ebx
call fcn.00470a60
mov ebx, eax
test eax, eax
jne 0x470a26
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 0x10
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
mov ebx, 0x2a
je 0x470a26
cmp dword [ebp - 0x64], 0x10
jne 0x470a26
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push eax
push 0x20
push esi
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [edi]
push 0
push 0x520
push 0x6d20b8
push str.g_originals
call fcn.0043e6d0
mov ebx, eax
jmp 0x470a26
mov ebx, 7
jmp 0x470a26
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov eax, ebx
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret 4