joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fb5a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
cmp ecx, 3
ja case.default.0x4fb5b3
jmp dword [ecx*4 + 0x4fb650]
mov dword [eax + 0xc], 0x67452301
mov dword [eax + 0x10], 0xefcdab89
mov dword [eax + 0x14], 0x98badcfe
mov dword [eax + 0x18], 0x10325476
mov dword [eax + 4], 0
mov dword [eax + 8], 0
ret 8
lea ecx, [eax + 4]
call fcn.00575210
ret 8
mov dword [eax + 4], 0
ret 8
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 0x10], 0xbb67ae85
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0xa54ff53a
mov dword [eax + 0x1c], 0x510e527f
mov dword [eax + 0x20], 0x9b05688c
mov dword [eax + 0x24], 0x1f83d9ab
mov dword [eax + 0x28], 0x5be0cd19
ret 8
push 0xc00000f0
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov edx, 0xe7004fb5
mov ch, 79
add dl, dh
mov ch, 0x4f
add ah, bh
mov ch, 0x4f
add byte [edi - 0x75], dl
push edi
invalid
jl 0x4fb688
or byte [ebx + 0x3f88307], cl
ja 0x4fb6e9
jmp dword [eax*4 + 0x4fb6f4]
add bh, bh
je 0x4fb6b0
adc byte [ebx - 0x72efdbac], cl
dec edi
add al, 0xe8
invalid
sal byte [ebx + ebx - 0x70], cl
movsx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61f070]
sub edx, 1
jne 0x4fb6b0
not ecx
pop esi
mov dword [edi + 4], ecx
pop edi
ret 0xc
push 0xc000000d
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
jae 0x4fb6ac
dec edi
add byte [ecx - 0x62ffb04a], cl
mov dh, 0x4f
add ah, dl
mov dh, 0x4f
add ah, cl
int3
Function at 0x4fcdc0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2020
call fcn.005a5430
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x201c], eax
mov eax, dword [esp + 0x2024]
push ebx
push ebp
push esi
push edi
mov edi, 0x2000
mov dword [esp + 0x18], edx
push edi
push 4
push dword [0x633a54]
mov ebp, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor ebx, ebx
mov esi, eax
push ebx
push ebx
push 0x1000
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], ebx
push eax
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.ntdll.dll_NtReadFile]
mov ebp, eax
test ebp, ebp
js 0x4fcee8
lfence
nop word [eax + eax]
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4fcefa
mov ebp, dword [esp + 0x10]
lea eax, [ebx + ebp]
mov dword [esp + 0x10], eax
cmp edi, eax
jae 0x4fce9c
add edi, edi
jne 0x4fce76
nop
test esi, esi
je 0x4fce72
push esi
push edi
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor esi, esi
jmp 0x4fce9c
push edi
test esi, esi
je 0x4fce8c
push esi
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x4fce9a
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
push ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + ebp]
push eax
call fcn.00586330
add esp, 0xc
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ebx
push 0
push 0
push 0x1000
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov ebp, eax
test ebp, ebp
jns 0x4fce40
mov eax, ebp
mov ecx, esi
mov dword [esp + 0x14], eax
cmp ebp, 0xc0000011
jne 0x4fcf2a
xor ebp, ebp
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 1]
cmp edi, eax
jae 0x4fcf8b
add edi, 1
jne 0x4fcf62
test esi, esi
je 0x4fcf26
push esi
push edi
lfence
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor esi, esi
jmp 0x4fcf8b
mov dword [esp + 0x10], ebx
mov esi, ecx
mov ebp, eax
test eax, eax
jns 0x4fcefa
push ecx
push 0
lfence
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, dword [esp + 0x14]
jmp 0x4fcf9d
lfence
push edi
test esi, esi
je 0x4fcf7b
push esi
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x4fcf89
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov eax, dword [esp + 0x18]
mov byte [ebx + esi], 0
mov dword [eax], esi
mov eax, dword [esp + 0x1c]
mov dword [eax], ebx
mov eax, ebp
mov ecx, dword [esp + 0x202c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 0x2020
ret 4
Function at 0x4fe540
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x62db64], 0xffffffff
mov ecx, dword [0x6356cc]
push esi
push edi
jae 0x4fe568
cmp ecx, 0x40
jae 0x4fe568
lfence
mov eax, dword fs:[0x18]
mov esi, dword [eax + ecx*4 + 0xe10]
jmp 0x4fe571
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4fe583
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [esi]
cmp eax, 0x40
jae 0x4fe597
mov dword [esi + eax*4 + 4], edi
mov eax, edi
inc dword [esi]
pop edi
pop esi
ret 4
mov ecx, dword [esi + 0x10c]
push ebx
mov ebx, dword [0x633a54]
test ecx, ecx
jne 0x4fe5ce
push 0x100
push 4
push ebx
mov dword [esi + 0x108], 0x40
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x108]
cmp dword [esi + 0x104], eax
jne 0x4fe621
add eax, eax
mov dword [esi + 0x108], eax
shl eax, 2
test eax, eax
jne 0x4fe5fc
test ecx, ecx
je 0x4fe5f8
push ecx
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor ecx, ecx
jmp 0x4fe61b
push eax
test ecx, ecx
je 0x4fe610
push ecx
push 4
push ebx
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x4fe619
push 4
push ebx
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x104]
pop ebx
mov dword [ecx + eax*4], edi
mov eax, edi
inc dword [esi + 0x104]
pop edi
pop esi
ret 4

Function at 0x4fe940
Capabilities:
Create thread

Disassembly:
sub esp, 0x40
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
push esi
mov edx, dword [esp + 0x5c]
lea esi, [esp + 0xc]
push edi
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x3c], esi
lea esi, [esp + 0x30]
push esi
push dword [esp + 0x60]
movlpd qword [esp + 0x18], xmm0
push dword [esp + 0x60]
mov dword [esp + 0x24], 0x18
push 0
push dword [esp + 0x60]
mov dword [esp + 0x30], 0
push eax
push edx
push ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x44], 0
push eax
push 0x1fffff
lea eax, [esp + 0x34]
mov dword [esp + 0x48], 0
push eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x14
mov dword [esp + 0x60], 0x10003
mov dword [esp + 0x64], 8
mov dword [esp + 0x6c], 0
call dword [sym.imp.ntdll.dll_NtCreateThreadEx]
mov esi, eax
test esi, esi
js 0x4fea21
test ebx, ebx
je 0x4fe9ff
mov ecx, dword [esp + 0xc]
mov dword [ebx], ecx
jmp 0x4fea0e
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4fea0e
push eax
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
je 0x4fea1f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, esi
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 0x40
ret 0x20

Function at 0x502e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
jne 0x502e8d
ret 8
push esi
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
imul eax, eax, 0x1000193
sub edx, 1
jne 0x502e92
pop esi
ret 8
Function at 0x502ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
mov eax, dword [edi]
test eax, eax
jne 0x502ed3
pop edi
pop ebx
ret 8
mov edi, dword ds:[edi + 4]
push esi
mov esi, eax
shr esi, 1
cmp byte [esp + 0x14], bl
je 0x502f15
test esi, esi
je 0x502f0d
nop word [eax + eax]
movzx eax, word [edi]
lea edi, [edi + 2]
push eax
call dword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx eax, ax
xor eax, ebx
imul ebx, eax, 0x1000193
sub esi, 1
jne 0x502ef0
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
push eax
push edi
call sym.SystemInformer.exe_Ordinal_1392
pop esi
pop edi
pop ebx
ret 8

Function at 0x503ba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [ebp + 8]
push esi
push edi
mov byte [esp + 0xe], 0
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
test ecx, ecx
je 0x503bd9
movzx eax, word [edi]
cmp eax, 0x2d
je 0x503bcb
cmp eax, 0x2b
jne 0x503bd9
add edi, 2
lea esi, [ecx - 2]
cmp eax, 0x2d
sete byte [esp + 0xe]
movsd xmm2, qword [0x624528]
xor al, al
shr esi, 1
mov dl, 1
mov byte [esp + 0xd], al
xorps xmm0, xmm0
mov ecx, 0
je 0x503c99
movsd xmm3, qword [0x624530]
mov dword [esp + 0x10], 1
nop dword [eax]
mov byte [esp + 0xf], al
movzx eax, word [edi + ecx*2]
cmp eax, 0x2e
jne 0x503c47
cmp byte [esp + 0xd], 0
movzx eax, byte [esp + 0xd]
cmove eax, dword [esp + 0x10]
cmp byte [esp + 0xf], 0
movzx edx, dl
mov dword [esp + 0x14], 0
cmovne edx, dword [esp + 0x14]
mov byte [esp + 0xd], al
jmp 0x503c90
movzx eax, al
mov eax, dword [eax*4 + 0x61f510]
cmp eax, 0xa
jae 0x503c8a
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x624650]
mov al, byte [esp + 0xd]
test al, al
jne 0x503c7c
mulsd xmm0, xmm3
addsd xmm0, xmm1
jmp 0x503c90
divsd xmm2, xmm3
mulsd xmm1, xmm2
addsd xmm0, xmm1
jmp 0x503c90
mov al, byte [esp + 0xd]
xor dl, dl
inc ecx
cmp ecx, esi
jb 0x503c10
mov eax, dword ds:[ebp + 0x10]
test eax, eax
je 0x503cb6
cmp byte [esp + 0xe], 0
je 0x503cb2
xorps xmm0, xmmword [0x624670]
movsd qword [eax], xmm0
pop edi
mov al, dl
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x504920
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [0x62db64], 0xffffffff
push ebx
push esi
push edi
jae 0x504a3f
mov esi, dword fs:[0x18]
mov eax, dword fs:[0x18]
mov ebx, dword [esi + 0x30]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push 0
push 1
push dword [ebx + 0x40]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5049dc
nop word [eax + eax]
cmp dword [esi + 0xf94], 0
jne 0x5049ff
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov eax, dword fs:[0x18]
push 0x1000
push 8
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 0xf94], eax
test eax, eax
je 0x504a3f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push 0
push 1
push dword [ebx + 0x40]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp edi, 0xffffffff
je 0x504970
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov dword [esi + edi*4 + 0xe10], 0
mov eax, edi
pop edi
pop esi
pop ebx
ret
push 0
push 1
push dword [ebx + 0x150]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov ecx, dword fs:[0x18]
mov edi, eax
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
cmp edi, 0xffffffff
je 0x504a3f
mov ecx, dword [esi + 0xf94]
lea eax, [edi + 0x40]
mov dword [ecx + edi*4], 0
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x50a620
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test bl, 1
je 0x50a6d9
test bl, 2
je 0x50a67b
push 0x20
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_InternalGetWindowText]
mov edi, eax
test esi, esi
je 0x50a78b
mov dword [esi], 0
jmp 0x50a78b
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
mov dword [esp + 0x18], 0x200
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, eax
mov ecx, dword [ebx]
shr ecx, 1
inc ecx
push ecx
push dword [ebx + 4]
push edi
call dword [sym.imp.USER32.dll_InternalGetWindowText]
mov edi, eax
lea eax, [edi + edi]
mov dword [ebx], eax
test esi, esi
je 0x50a6bd
mov dword [esi], ebx
jmp 0x50a78b
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50a78b
call fcn.004fe1e0
jmp 0x50a78b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x50a77f
test bl, 2
jne 0x50a77f
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0
lea ecx, [edi + edi]
push eax
mov dword [esp + 0x24], ecx
call sym.SystemInformer.exe_Ordinal_1331
mov edi, eax
mov ecx, dword [edi]
shr ecx, 1
inc ecx
push ecx
push dword [edi + 4]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x50a74b
test esi, esi
je 0x50a73f
mov dword [esi], edi
mov edi, dword [esp + 0x14]
jmp 0x50a78b
push edi
call sym.SystemInformer.exe_Ordinal_1244
mov edi, dword [esp + 0x14]
jmp 0x50a78b
test esi, esi
je 0x50a756
call sym.SystemInformer.exe_Ordinal_1430
mov dword [esi], eax
lea ecx, [edi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50a769
call fcn.004fe1e0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 0xc
nop
test esi, esi
je 0x50a78b
call sym.SystemInformer.exe_Ordinal_1430
mov dword [esi], eax
mov ecx, dword [esp + 0x64]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x50b1e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, 2
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [edi]
mov esi, eax
push dword [edi + 4]
push esi
call fcn.00586330
mov ecx, dword [edi]
add esp, 0xc
xor eax, eax
push esi
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x50b250
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x50b250
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
nop
test eax, eax
je 0x50b250
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
ret 8

Function at 0x50bea0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c
push esi
mov esi, edx
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1d], 1
test esi, esi
je 0x50bed1
mov ecx, esi
mov dword [esp + 0xc], ecx
jmp 0x50bee9
push ecx
push 0x1000
lea eax, [esp + 0x14]
push eax
call sym.SystemInformer.exe_Ordinal_1560
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x50beff
cmp dword [0x62db64], 0x3e
jb 0x50beff
call fcn.0050c240
mov byte [esp + 0x1c], al
lea eax, [esp + 0x10]
push eax
push 0x50bde0
call dword [sym.imp.USER32.dll_EnumWindows]
test esi, esi
jne 0x50bf26
mov eax, dword [esp + 0xc]
test eax, eax
je 0x50bf26
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov eax, dword [esp + 0x10]
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x50d020
Capabilities:
Shutdown system

Disassembly:
push ebx
mov ebx, ecx
push esi
mov edx, ebx
and edx, 1
shl edx, 2
mov esi, edx
or esi, 8
test bl, 2
push 0x80000000
cmove esi, edx
mov ecx, esi
or ecx, 0x40
test bl, 4
cmove ecx, esi
mov edx, ecx
or edx, 0x200
test bl, 8
cmove edx, ecx
mov ecx, edx
or ecx, 0x400
test bl, 0x10
cmove ecx, edx
mov eax, ecx
or eax, 0x80000
test bl, 0x80
cmove eax, ecx
or eax, 1
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
pop esi
pop ebx
ret
Function at 0x50e080
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push edi
push 0
lea eax, [ebx*8]
not eax
and eax, 0x20
or eax, 0x40
push eax
push dword [ebp + 0x18]
lea eax, [esp + 0x1c]
push dword [ebp + 0x14]
push 0x80
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call sym.SystemInformer.exe_Ordinal_1469
nop
test eax, eax
jns 0x50e0d0
lfence
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test byte [0x630908], 1
jne 0x50e105
mov esi, 0x630908
lock bts dword [esi], 0x1f
setb al
test al, al
je 0x50e1d9
test byte [0x630908], 1
jne 0x50e105
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_Ordinal_1388
push dword [0x633b9c]
push 0x28
call sym.SystemInformer.exe_Ordinal_1240
mov ecx, dword ds:[esp + 0x10]
mov esi, eax
mov eax, ebx
mov dword [esi + 8], 0
shl eax, 0xb
lea edi, [esi + 8]
not eax
mov dword [edi + 4], 0
mov dword [esi], ecx
and eax, 0x1000
mov dword [esi + 4], ebx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
test ebx, 0x10000
je 0x50e25d
push edi
push ecx
call sym.SystemInformer.exe_Ordinal_1511
test eax, eax
js 0x50e1b4
test byte ds:[esi + 4], 8
jne 0x50e25d
lfence
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push 0xe
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 8
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ecx
push eax
push dword [esi]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x50e25d
lfence
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50e265
call fcn.004fe1e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push dword [0x633a28]
push 0x28
call sym.SystemInformer.exe_Ordinal_1240
mov edx, eax
mov ecx, 1
mov word [edx], cx
lock xadd dword [0x633a24], ecx
inc ecx
dec cl
mov dword [edx + 4], 0
movzx eax, cl
mov byte [edx + 2], cl
mov dword [edx + 8], 0x50e3a0
mov dword [edx + 0xc], 0x61d5c4
mov dword [eax*4 + 0x6360c0], edx
lea eax, [edx + 0x10]
test al, 7
jne 0x50e252
xorps xmm0, xmm0
mov dword [0x633b9c], edx
movq qword [eax], xmm0
mov ecx, esi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x10
mov dword [eax + 0x10], 0x30
call sym.SystemInformer.exe_Ordinal_1358
jmp 0x50e105
push 0x80000002
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov eax, dword [ebp + 8]
lfence
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x50e420
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
test byte [esi + 4], 0xc
jne 0x50e471
push 0xe
push 8
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esi]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x50e454
push eax
lfence
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov eax, dword [esi + 8]
cmp eax, dword [esp + 4]
jne 0x50e466
mov eax, dword [esi + 0xc]
cmp eax, dword [esp + 8]
je 0x50e471
push 0xc00000e5
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
pop esi
add esp, 0x10
ret 4
Function at 0x50e4e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
mov ecx, 0
push 0
test byte [edi + 4], 8
lea eax, [edi + 8]
cmove eax, ecx
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
push ecx
push ecx
push dword [edi]
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x50e52e
push 0
push 0
push dword [edi]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
js 0x50e547
mov eax, dword [esp + 8]
test eax, eax
js 0x50e547
mov ecx, dword [esp + 0xc]
add dword [edi + 8], ecx
mov edx, dword [esp + 0x18]
adc dword [edi + 0xc], 0
test edx, edx
je 0x50e547
mov dword [edx], ecx
pop edi
pop esi
add esp, 8
ret 8
Function at 0x50e560
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push edi
mov eax, dword [esi + 4]
test al, 2
je 0x50e5dd
push ebx
test al, 8
mov ecx, ebx
lea eax, [esi + 8]
cmove eax, ecx
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push dword [esp + 0x2c]
push eax
push ebx
push ebx
push ebx
push dword [esi]
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x50e5b4
push ebx
push ebx
push dword [esi]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
js 0x50e723
mov eax, dword [esp + 0x10]
test eax, eax
js 0x50e723
mov ecx, dword [esp + 0x14]
add dword [esi + 8], ecx
mov edx, dword [esp + 0x28]
adc dword [esi + 0xc], ebx
test edx, edx
je 0x50e723
pop edi
pop esi
mov dword [edx], ecx
pop ebx
add esp, 0xc
ret 0x10
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push ebp
mov ebp, dword [esp + 0x28]
sub edi, ecx
jne 0x50e6ba
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x10]
test eax, eax
je 0x50e60c
mov edx, dword ds:[edi]
mov ecx, esi
push eax
call fcn.0050e740
test eax, eax
js 0x50e649
mov dword [esi + 0x20], ebx
cmp ebp, dword [esi + 0x14]
jb 0x50e634
push dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, esi
lfence
push ebp
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.0050e4e0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
mov dword [esp + 0x10], edi
cmp dword [edi], ebx
jne 0x50e65d
mov ecx, esi
call fcn.0050e480
test eax, eax
jns 0x50e656
pop ebp
pop edi
pop esi
lfence
pop ebx
add esp, 0xc
ret 0x10
lea eax, [esi + 0x10]
mov dword [esp + 0x10], eax
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x14]
mov ecx, esi
call fcn.0050e4e0
mov ebx, eax
test ebx, ebx
jns 0x50e683
pop ebp
pop edi
pop esi
lfence
pop ebx
add esp, 0xc
ret 0x10
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x50e6a8
mov eax, dword [esp + 0x2c]
lfence
test eax, eax
je 0x50e720
pop ebp
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], edi
jmp 0x50e6bd
lea eax, [esi + 0x10]
mov eax, dword [eax]
cmp edi, ebp
cmova edi, ebp
add eax, ecx
push edi
push eax
push dword [esp + 0x2c]
call fcn.00586330
add dword [esi + 0x18], edi
add esp, 0xc
cmp edi, ebp
jae 0x50e716
mov eax, dword ds:[esi + 0x1c]
cmp eax, dword [esi + 0x14]
jne 0x50e716
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
sub ebp, edi
mov ecx, esi
push ebp
lea edx, [edi + edx]
lfence
call fcn.0050e4e0
mov ebx, eax
test ebx, ebx
js 0x50e720
add edi, dword [esp + 0x14]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x50e720
mov dword [eax], edi
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10