joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5254a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0x18]
sub esp, 0x10
mov eax, dword [eax + 0x30]
push esi
push edi
push dword [eax + 0xa0]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xc]
add ecx, 0xc
mov edx, dword [ecx]
cmp edx, ecx
je 0x5254ef
mov eax, dword ds:[ebp + 8]
test eax, eax
je 0x525514
cmp dword [edx + 0x18], eax
je 0x525514
mov edx, dword [edx]
cmp edx, ecx
jne 0x5254e4
xor esi, esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0xa0]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
test esi, esi
jne 0x52554b
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test edx, edx
je 0x5254ef
movzx eax, word ds:[edx + 0x24]
mov ecx, eax
test ax, ax
jne 0x52552e
call sym.SystemInformer.exe_PhReferenceEmptyString
mov esi, eax
jmp 0x5254f1
mov eax, dword [edx + 0x28]
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x1c], ecx
call sym.SystemInformer.exe_PhCreateString3
mov esi, eax
jmp 0x5254f1
push esi
call sym.SystemInformer.exe_PhGetFileName
mov edi, eax
lea ecx, [esi - 8]
or edx, 0xffffffff
lock xadd dword [ecx + 4], edx
dec edx
jne 0x525568
call fcn.004fbfa0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x525586
push 0
push 0x5c
push edi
call sym.SystemInformer.exe_PhFindLastCharInStringRef
xor edx, edx
cmp eax, 0xffffffff
lea ecx, [eax + 1]
cmove ecx, edx
mov dword [esi], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x5255a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov edi, edx
mov esi, ecx
push dword [eax + 0xa0]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
cmp dword [0x62dbb0], 0x3e
jb 0x52564c
test esi, esi
jne 0x52564c
test edi, edi
je 0x52564c
mov eax, dword [edi]
test eax, eax
je 0x525608
mov edi, dword [edi + 4]
shr eax, 1
lea ebx, [edi + eax*2]
cmp edi, ebx
je 0x525608
movzx eax, word [edi]
mov ecx, eax
add eax, 0xffffff9f
cmp ax, 0x19
lea edx, [ecx - 0x20]
cmova edx, ecx
imul esi, esi, 0x1003f
add edi, 2
add esi, edx
cmp edi, ebx
jne 0x5255e7
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
add ecx, 0xc
cmp eax, ecx
je 0x52562e
mov edi, edi
cmp dword [eax + 0x90], esi
je 0x525656
mov eax, dword [eax]
cmp eax, ecx
jne 0x525620
xor esi, esi
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0xa0]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
ret
push edi
mov edx, esi
xor ecx, ecx
call fcn.00524c00
test eax, eax
je 0x52562e
mov esi, dword [eax + 0x18]
jmp 0x525630
Function at 0x525660
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, 0x5a4d
push esi
mov esi, edx
cmp word [ecx], ax
jne 0x5256b5
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x5256b5
jmp 0x525680
cmp eax, 0x7fffffff
jae 0x5256b5
cmp dword [eax + ecx], 0x4550
jne 0x5256b5
lea edx, [ecx + 0x78]
add edx, eax
mov eax, dword [edx]
test eax, eax
je 0x5256b5
cmp dword ds:[edx + 4], 0
je 0x5256b5
push dword [ebp + 8]
add eax, ecx
push esi
push eax
call fcn.00525800
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5256c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov esi, ecx
mov edi, edx
push esi
call sym.SystemInformer.exe_PhCountStringZ
add eax, eax
mov dword [esp + 0xc], esi
lea edx, [esp + 8]
mov dword [esp + 8], eax
xor ecx, ecx
call fcn.005255a0
mov ecx, eax
test ecx, ecx
je 0x52573e
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x52573e
mov eax, dword ds:[ecx + 0x3c]
test eax, eax
je 0x52573e
cmp eax, 0x7fffffff
jae 0x52573e
cmp dword [eax + ecx], 0x4550
jne 0x52573e
lea edx, ds:[eax + 0x78]
mov eax, dword [edx + ecx]
add edx, ecx
test eax, eax
je 0x52573e
cmp dword [edx + 4], 0
je 0x52573e
push dword [ebp + 8]
add eax, ecx
push edi
push eax
call fcn.00525800
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x525f00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], edx
mov eax, 0x5a4d
mov edx, ecx
mov dword [ebp - 0x14], edx
cmp word [edx], ax
je 0x525f26
mov eax, 0xc000012f
lfence
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x526076
cmp eax, 0x7fffffff
jae 0x526076
cmp dword [eax + edx], 0x4550
jne 0x526076
mov ecx, dword [eax + edx + 0x80]
test ecx, ecx
je 0x526068
cmp dword [eax + edx + 0x84], 0
je 0x526068
cmp dword [ecx + edx + 0xc], 0
push ebx
push edi
lea ebx, [ecx + edx]
mov edi, 0xc0000001
mov dword [ebp - 4], edi
je 0x52601c
push esi
nop
mov ecx, dword [ebx]
test ecx, ecx
je 0x52601b
mov eax, dword ds:[ebx + 0xc]
lea edi, [ecx + edx]
push dword [ebp - 0x18]
mov esi, dword [ebx + 0x10]
add eax, edx
push eax
add esi, edx
call fcn.0058a15a
add esp, 8
test eax, eax
jne 0x526008
mov eax, dword [edi]
test eax, eax
je 0x526008
mov dword [ebp - 0xc], 4
sub edi, esi
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], esi
test eax, eax
js 0x525ffd
mov ecx, dword [ebp - 0x14]
add ecx, 2
add ecx, eax
mov eax, dword [ebp + 8]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x525ff4
test dl, dl
je 0x525ff0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x525ff4
add ecx, 2
add eax, 2
test dl, dl
jne 0x525fd4
xor eax, eax
jmp 0x525ff9
sbb eax, eax
or eax, 1
test eax, eax
je 0x526026
mov eax, dword [edi + esi + 4]
add esi, 4
test eax, eax
jne 0x525fc2
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add ebx, 0x14
cmp dword [ebx + 0xc], 0
jne 0x525f80
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
js 0x52600b
mov eax, dword ds:[ebp + 0xc]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
jmp 0x52600b
mov eax, 0xc0000020
lfence
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xc000007b
lfence
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5260a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, edx
mov edx, dword [eax]
test edx, edx
jns 0x52610c
mov eax, 0x5a4d
movzx ecx, dx
cmp word [esi], ax
jne 0x526132
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x526132
cmp eax, 0x7fffffff
jae 0x526132
cmp dword [eax + esi], 0x4550
jne 0x526132
lea edx, [esi + 0x78]
add edx, eax
mov eax, dword [edx]
test eax, eax
je 0x526132
cmp dword [edx + 4], 0
je 0x526132
push ecx
add eax, esi
mov ecx, esi
push 0
push eax
call fcn.00525800
test eax, eax
je 0x526132
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
movzx eax, word [edx + ecx]
add ecx, 2
add edx, ecx
mov ecx, esi
push eax
call fcn.00525ba0
lea ecx, [ecx]
test eax, eax
je 0x526132
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 0xc0000138
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x526940
Capabilities:
Map section object
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
lea eax, [ebp - 0xc]
push ebx
push esi
push edi
push 0x60
push 1
push 1
push 0x80
push 0x100021
push ecx
push eax
call sym.SystemInformer.exe_PhCreateFile
mov edi, eax
test edi, edi
js 0x526b51
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 4]
push esi
push 0x1000000
push 0x10
push 0
push 0
push 0xd
push eax
call dword [sym.imp.ntdll.dll_NtCreateSection]
push esi
mov edi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
js 0x526b51
push 0x30
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00581cf0
add esp, 0xc
lea eax, [ebp - 0x48]
push 0
push 0x30
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtQuerySection]
mov edi, eax
test edi, edi
js 0x5269d8
cmp dword [ebp - 0x38], 2
jne 0x5269d3
test dword [ebp - 0x2c], 0x2002
jne 0x5269e8
mov edi, 0xc000036f
push dword ds:[ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x526a4d
push 0x10
push 0
push 2
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
push dword ds:[ebp - 4]
mov edi, eax
call dword [sym.imp.ntdll.dll_NtClose]
cmp edi, 0x40000003
jne 0x526a38
mov ecx, dword [ebp - 8]
call fcn.005266e0
mov edi, eax
test edi, edi
js 0x526a42
mov ebx, dword ds:[ebp - 8]
jmp 0x526a50
push dword [ebp - 8]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov ebx, dword [ebp - 0x14]
test edi, edi
js 0x526b51
mov edi, 0x5a4d
lea eax, [ebx + 0x3c]
cmp word [ebx], di
je 0x526a6f
mov edi, 0xc000012f
jmp 0x526afd
mov esi, eax
mov eax, dword [eax]
mov dword [ebp - 0x18], esi
test eax, eax
je 0x526af6
lea ebx, [ebx]
cmp eax, 0x7fffffff
jae 0x526af6
add eax, ebx
mov dword [ebp - 0xc], eax
cmp dword [eax], 0x4550
jne 0x526af6
mov edx, eax
mov ecx, ebx
call fcn.00526140
mov edi, eax
mov eax, esi
test edi, edi
js 0x526afd
lfence
mov edx, dword [ebp - 0xc]
push ecx
mov ecx, ebx
call fcn.005263c0
mov edi, eax
mov eax, esi
test edi, edi
js 0x526afd
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x526acc
mov edi, 0xc0000139
jmp 0x526afb
xor edi, edi
lea esi, [eax + ebx]
push edi
push 1
push ebx
mov ecx, esi
lfence
call dword [0x5a38e4]
call esi
test al, al
jne 0x526b54
mov eax, dword [ebp - 0x18]
mov edi, 0xc0000142
jmp 0x526afd
mov edi, 0xc000007b
mov eax, esi
mov ecx, 0x5a4d
cmp word [ebx], cx
jne 0x526b54
lfence
mov eax, dword [eax]
test eax, eax
je 0x526b54
cmp eax, 0x7fffffff
jae 0x526b54
cmp dword ds:[eax + ebx], 0x4550
jne 0x526b54
mov eax, dword [eax + ebx + 0x28]
test eax, eax
je 0x526b54
push 0
lea esi, [eax + ebx]
push 0
push ebx
mov ecx, esi
lfence
call dword [0x5a38e4]
call esi
push ebx
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lfence
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52a4a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x633858]
mov ebx, ecx
mov dword [esp + 0x14], ebx
test edi, edi
je 0x52a4c9
mov eax, dword [0x633854]
test eax, eax
jne 0x52a586
call fcn.0052a2e0
mov ebx, eax
test ebx, ebx
je 0x52a60e
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x52a523
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x52a523
cmp eax, 0x7fffffff
jae 0x52a523
cmp dword [eax + ebx], 0x4550
jne 0x52a523
lea edx, [eax + 0x78]
mov eax, dword [edx + ebx]
add edx, ebx
test eax, eax
je 0x52a523
cmp dword [edx + 4], 0
je 0x52a523
push 0
add eax, ebx
mov ecx, ebx
push str.PowerGetActiveScheme
push eax
call fcn.00525800
mov edi, eax
jmp 0x52a525
xor edi, edi
mov eax, 0x5a4d
mov dword [0x633858], edi
cmp word [ebx], ax
jne 0x52a57b
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x52a57b
lea esp, [esp]
cmp eax, 0x7fffffff
jae 0x52a57b
cmp dword [eax + ebx], 0x4550
jne 0x52a57b
lea edx, [eax + 0x78]
mov eax, dword [edx + ebx]
add edx, ebx
test eax, eax
je 0x52a57b
cmp dword [edx + 4], 0
je 0x52a57b
push 0
add eax, ebx
mov ecx, ebx
push str.PowerReadSecurityDescriptor
push eax
call fcn.00525800
mov edi, dword [0x633858]
jmp 0x52a57d
xor eax, eax
mov ebx, dword [esp + 0x14]
mov dword [0x633854], eax
test edi, edi
je 0x52a602
test eax, eax
je 0x52a602
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0
call dword [0x5a38e4]
call edi
nop
test eax, eax
je 0x52a5b1
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x633854]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x14]
mov ecx, esi
push 0xe
call dword [0x5a38e4]
call esi
mov esi, eax
test esi, esi
jne 0x52a5eb
test ebx, ebx
je 0x52a5e1
push dword [esp + 0xc]
call sym.SystemInformer.exe_PhCreateString
mov dword [ebx], eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call sym.SystemInformer.exe_PhDosErrorToNtStatus
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc000007a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xc0000135
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52a620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x633858]
mov ebx, ecx
mov dword [esp + 0x14], ebx
test edi, edi
je 0x52a649
mov eax, dword [0x633860]
test eax, eax
jne 0x52a706
call fcn.0052a2e0
mov ebx, eax
test ebx, ebx
je 0x52a778
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x52a6a3
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x52a6a3
cmp eax, 0x7fffffff
jae 0x52a6a3
cmp dword [eax + ebx], 0x4550
jne 0x52a6a3
lea edx, [eax + 0x78]
mov eax, dword [edx + ebx]
add edx, ebx
test eax, eax
je 0x52a6a3
cmp dword [edx + 4], 0
je 0x52a6a3
push 0
add eax, ebx
mov ecx, ebx
push str.PowerGetActiveScheme
push eax
call fcn.00525800
mov edi, eax
jmp 0x52a6a5
xor edi, edi
mov eax, 0x5a4d
mov dword [0x633858], edi
cmp word [ebx], ax
jne 0x52a6fb
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x52a6fb
lea esp, [esp]
cmp eax, 0x7fffffff
jae 0x52a6fb
cmp dword [eax + ebx], 0x4550
jne 0x52a6fb
lea edx, [eax + 0x78]
mov eax, dword [edx + ebx]
add edx, ebx
test eax, eax
je 0x52a6fb
cmp dword [edx + 4], 0
je 0x52a6fb
push 0
add eax, ebx
mov ecx, ebx
push str.PowerWriteSecurityDescriptor
push eax
call fcn.00525800
mov edi, dword [0x633858]
jmp 0x52a6fd
xor eax, eax
mov ebx, dword [esp + 0x14]
mov dword [0x633860], eax
test edi, edi
je 0x52a76c
test eax, eax
je 0x52a76c
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0
call dword [0x5a38e4]
call edi
nop
test eax, eax
je 0x52a731
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x52a73a
mov eax, dword [ebx + 4]
jmp 0x52a73c
xor eax, eax
mov esi, dword [0x633860]
mov ecx, esi
push eax
push dword [esp + 0x14]
push 0xe
call dword [0x5a38e4]
call esi
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call sym.SystemInformer.exe_PhDosErrorToNtStatus
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc000007a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xc0000135
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x52c7e0
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 2
push 0
push 2
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push ecx
mov esi, edx
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
jns 0x52c821
lfence
pop esi
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 4]
push 0xffffffffffffffff
call sym.SystemInformer.exe_PhGetProcessMappedFileName
push dword [ebp - 4]
mov esi, eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x52f100
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [0x633684]
mov edi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edi
lea eax, [edi*4]
push eax
call sym.SystemInformer.exe_PhCreateObject
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0xc], esi
test edi, edi
je 0x52f24f
mov ecx, dword [ebp + 8]
lea eax, [ecx*4]
mov dword [ebp - 4], eax
jmp 0x52f150
push dword [0x633684]
push eax
call sym.SystemInformer.exe_PhCreateObject
cmp dword [0x62dbb0], 0xffffffff
mov edi, eax
mov eax, dword [0x6352bc]
jae 0x52f184
cmp eax, 0x40
jae 0x52f184
lfence
mov esi, dword fs:[0x18]
mov esi, dword [esi + eax*4 + 0xe10]
jmp 0x52f18d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
je 0x52f22e
mov eax, dword [esi]
cmp eax, 0x40
jae 0x52f1a7
mov dword [esi + eax*4 + 4], edi
inc dword [esi]
jmp 0x52f22e
mov ecx, dword [esi + 0x10c]
test ecx, ecx
jne 0x52f1d6
push 0x100
push 4
push dword [0x6337d4]
mov dword [esi + 0x108], 0x40
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword ds:[esi + 0x108]
cmp dword [esi + 0x104], eax
jne 0x52f21f
add eax, eax
mov dword [esi + 0x108], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x52f208
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x52f217
push ecx
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x104]
mov dword [ecx + eax*4], edi
inc dword [esi + 0x104]
push dword [ebp - 4]
mov esi, dword [ebp - 0xc]
push 0
push edi
mov dword [esi + ebx*4], edi
call fcn.00581cf0
mov eax, dword [ebp - 4]
inc ebx
add esp, 0xc
cmp ebx, dword [ebp - 0x10]
jb 0x52f150
mov eax, dword [ebp - 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x530bc0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
movzx eax, word [ecx]
mov word [esp + 0x20], ax
add eax, 2
cmp dword [ecx], 0xfffe
mov word [esp + 0x22], ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
jbe 0x530bfc
mov eax, 0xc0000106
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esp, [esp]
call fcn.005308a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [esp + 0x28]
push ecx
push 1
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_LsaLookupNames2]
mov ecx, dword ds:[esp + 0x10]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
js 0x530d04
mov edx, dword [ecx]
cmp edx, 7
je 0x530cff
cmp edx, 8
je 0x530cff
cmp dword [ebp + 0xc], 0
je 0x530c99
mov ebx, dword [ecx + 4]
movzx eax, byte [ebx + 1]
lea edi, [eax*4 + 8]
push edi
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push edi
mov esi, eax
push ebx
push esi
call fcn.005831c0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [eax], esi
mov esi, dword ds:[ebp + 0x10]
test esi, esi
je 0x530cf2
mov eax, dword [ecx + 8]
test eax, eax
js 0x530ce7
lea ecx, ds:[eax + eax*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
lea eax, [eax + ecx*4]
movzx ecx, word [eax]
test cx, cx
je 0x530ce7
mov eax, dword ds:[eax + 4]
mov dword [esp + 0x1c], eax
mov eax, ecx
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0
push eax
call sym.SystemInformer.exe_PhCreateString3
jmp 0x530cec
call sym.SystemInformer.exe_PhReferenceEmptyString
mov ecx, dword [esp + 0x10]
mov dword [esi], eax
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x530d04
mov eax, dword [ecx]
mov dword [edx], eax
jmp 0x530d04
mov ebx, 0xc0000073
mov eax, dword [esp + 0x14]
test eax, eax
je 0x530d17
push eax
call dword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x530d26
push ecx
call dword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x531d80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov esi, ecx
call fcn.00530780
mov ecx, dword [esi + 2]
mov edx, eax
cmp ecx, dword [edx + 2]
jne 0x531e38
movzx eax, word [esi + 6]
cmp ax, word [edx + 6]
jne 0x531e38
cmp dword [esi + 8], 1
jne 0x531e38
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
call sym.SystemInformer.exe_PhFormatGuid
mov esi, eax
test esi, esi
je 0x531e38
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
add ecx, 2
mov dword [esp + 0x10], ecx
mov ecx, dword [esi]
push 0
and ecx, 0xfffffffe
push 0
sub ecx, 4
push eax
mov dword [esp + 0x18], ecx
call sym.SystemInformer.exe_PhCreateString3
mov edi, eax
lea ecx, [esi - 8]
or edx, 0xffffffff
lock xadd dword [ecx + 4], edx
dec edx
jne 0x531e25
nop
call fcn.004fbfa0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret

Function at 0x532f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push esi
push edi
push 0
push 0x1c
push eax
push 0
push ecx
push 0xffffffffffffffff
mov esi, edx
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
lea ecx, [ecx]
test eax, eax
js 0x532f8c
mov ecx, dword [ebp - 0x18]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x532f8c
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x532f8c
mov edx, dword [eax + 0xd8]
mov edi, dword [eax + 0xdc]
test edx, edx
je 0x532f8c
test edi, edi
je 0x532f8c
lea eax, [edx + ecx]
cmp esi, eax
jb 0x532f8c
lea eax, ds:[edi + edx]
add eax, ecx
cmp esi, eax
jae 0x532f8c
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret