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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntdll.dll_RtlInitString]
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
xor ebx, ebx
cmp eax, ebx
jl 0x7c842014
push esi
mov esi, dword [ebp + 0x10]
mov eax, 0x7ffd
cmp esi, eax
ja 0x7c8141ed
cmp esi, ebx
mov eax, esi
jne 0x7c8141ed
xor eax, eax
add eax, eax
push edi
mov word [ebp - 6], ax
mov eax, dword fs:[0x18]
movzx ecx, word [ebp - 6]
mov eax, dword [eax + 0x30]
mov edi, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push ecx
push dword [0x7c8856d4]
push dword [eax + 0x18]
call edi
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x7c8141fc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable_U]
cmp eax, ebx
mov dword [ebp + 8], eax
jge 0x7c8141f3
mov esi, 0xc0000023
cmp dword [ebp + 8], esi
je 0x7c8141b6
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [ebp + 8], ebx
jge 0x7c814203
mov eax, dword fs:[0x18]
push dword [ebp - 4]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
mov ebx, dword [sym.imp.ntdll.dll_RtlFreeHeap]
call ebx
cmp dword [ebp + 8], esi
je 0x7c81c1b6
push dword [ebp + 8]
call fcn.7c809419
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
dec eax
jmp 0x7c81415f
cmp esi, ebx
jne 0x7c8141a2
jmp 0x7c842021
push 0xc0000017
jmp 0x7c8141df
mov eax, 0xfffd
cmp dword [ebp + 0x10], eax
ja 0x7c814210
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov word [ebp - 0xe], ax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
mov edi, eax
mov eax, dword fs:[0x18]
push dword [ebp - 4]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp edi, ebx
jl 0x7c84202d
movzx eax, word [ebp - 0x10]
mov byte [esi + eax], 0
movzx eax, word [ebp - 0x10]
jmp 0x7c8141e6
mov eax, dword [ebp - 8]
add eax, 2
xor esi, esi
mov word [ebp - 6], ax
mov eax, dword fs:[0x18]
movzx ecx, word [ebp - 6]
mov eax, dword [eax + 0x30]
push ecx
push dword [0x7c8856d4]
push dword [eax + 0x18]
call edi
test eax, eax
mov dword [ebp - 4], eax
je 0x7c8141fc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call dword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable_U]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
test edi, edi
jl 0x7c81c21c
mov eax, dword [sym.imp.ntdll.dll_NlsMbCodePageTag]
cmp byte [eax], 0
jne 0x7c842033
movzx esi, word [ebp - 8]
inc esi
inc esi
shr esi, 1
mov eax, dword fs:[0x18]
push dword [ebp - 4]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call ebx
mov eax, esi
jmp 0x7c8141e6
xchg edx, eax
pop ds
Function at 0x7c8156c2
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
mov word [ebp - 0xc], si
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
xor ebx, ebx
cmp dword [ebp + 0xc], 0xffffffff
stosw word es:[edi], ax
mov edi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [ebp - 4], esi
je 0x7c8156fe
push 1
push dword [ebp + 0xc]
call fcn.7c81597d
test eax, eax
jne 0x7c846da8
lea eax, [ebp - 0xc]
push eax
call fcn.7c815662
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x30], 0x7c8857f0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x7c8857e8
mov eax, dword [ebp + esi*4 - 0x30]
cmp dword [eax + 4], 0
je 0x7c815742
push 1
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.7c8157c3
test eax, eax
jne 0x7c846db7
inc esi
cmp esi, 3
jb 0x7c815724
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x7c81578b
push 0x7c8157a0
lea eax, [ebp - 0x24]
push eax
call edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x10]
mov word [ebp - 0x14], si
mov word [ebp - 0x12], si
mov dword [ebp - 0x10], esi
call dword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable_U]
cmp eax, 0xc0000023
je 0x7c846dc6
mov eax, dword [ebp + 0x18]
cmp eax, esi
je 0x7c815794
mov dword [eax], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14
mov ebp, 0x7c299c61
add esi, ebx
xor eax, dword [edi]
mov ecx, 0xf0dabab5
or al, 0x1d
aam 1
int 0x17
xor edx, dword [edx]
xchg ebp, eax
jle 0x7c846dec
xor al, 0x64
dec ebx
dec ebx
salc
stosd dword es:[edi], eax
adc esi, dword [ebx - 0x47ec93a2]
xlatb
xor ah, byte [eax + ebp + 0x16ce74b0]
mov al, 0x74
into
push ss
jp 0x7c846db7
je 0x7c846d99
daa
fnstenv [ebx + 0x27]
push esp
in al, dx
push esp
stosb byte es:[edi], al
jecxz 0x7c846e1c
pushal
push ecx
sbb byte [esi + 0x283f1d3c], cl
imul ecx, dword [eax - 0x758d20f2], 7
sahf
mov dl, 0xc2
ret 0x351e
push ds
xor eax, 0x972158f0
adc eax, 0x3d091b68
or dword [esi - 0x64], edi
iretd

Function at 0x7c815a4a
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQueryInformationFile]
push 4
push 0x28
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jl 0x7c815aa1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x34]
push 5
mov dword [eax + 4], ecx
push 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jl 0x7c815aa1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x7c815f09
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
test edx, edx
push ebx
push esi
push edi
lea eax, [ecx + 0xc]
je 0x7c838454
mov edi, dword [ebp + 8]
movzx esi, di
cmp dword [eax], esi
je 0x7c815f33
dec edx
add eax, 8
test edx, edx
jne 0x7c815f27
test edx, edx
je 0x7c838454
cmp byte [ebp + 0x14], 0
mov eax, dword [eax + 4]
lea ebx, [ecx + eax*2]
je 0x7c83845c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x40
push 8
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x7c84e375
mov dword [esi], edi
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x90]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
je 0x7c815fd5
mov eax, dword [esi]
xor edx, edx
mov ecx, 0xc5
div ecx
push 0x7c885360
mov edi, edx
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov ecx, dword [0x7c885048]
mov ecx, dword [ecx + 4]
mov eax, edi
shl eax, 2
mov edx, dword [eax + ecx]
mov ecx, edx
test ecx, ecx
jne 0x7c8381f5
mov dword [esi + 0x3c], edx
mov ecx, dword [0x7c885048]
mov ecx, dword [ecx + 4]
mov dword [eax + ecx], esi
push 0x7c885360
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x7c815fd5
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
in eax, 0xb9
dec esi
sub dword [bp + 0xe], edi
xchg edi, esp
aam 0x36
cmp ebp, dword gs:[ebx - 0x7f20eb13]
invalid
jnp 0x7c838406
invalid
lcall 0x791c, 0x2b29f5a5
invalid

Function at 0x7c8163af
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
push dword [ebp + 0x10]
xor esi, esi
push esi
push 2
lea ecx, [ebp + 0xc]
push ecx
push esi
push esi
push esi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [eax], esi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
cmp dword [ebp + 0x14], esi
mov edi, eax
jne 0x7c839802
cmp edi, esi
jl 0x7c848ede
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10
mov dword [0x1f9f5fe5], eax
mov dh, 0x49
cmp eax, 0x2e43c253
jg 0x7c83982a
pop ebp
mul dword [edi + 0x7f]
inc esp

Function at 0x7c8164cc
Capabilities:
Access pe header

Disassembly:
xor eax, eax
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
test eax, eax
je 0x7c816317
test byte [eax + 0x5f], 0x80
je 0x7c816317
xor eax, eax
inc eax
ret
Function at 0x7c8164f9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push edi
push 0x7c816600
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], 1
call esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edi, 0x224
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
xor eax, eax
cmp dword [ebp - 0x10], eax
je 0x7c8165bc
cmp ebx, eax
je 0x7c8165e0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
push 0x20019
lea eax, [ebp - 4]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x24], ecx
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jl 0x7c8165bc
push 0x7c8165e8
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jl 0x7c8165b3
cmp dword [ebx + 4], 4
jne 0x7c8165b3
cmp dword [ebx + 0xc], 0
jne 0x7c8165b3
and dword [ebp - 0xc], 0
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
je 0x7c8165e0
mov ecx, 0x89
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x7c816886
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
push 0x7c8850e0
push 8
push 0xffff
mov dword [0x7c8853a4], eax
call dword [sym.imp.ntdll.dll_RtlInitializeHandleTable]
push 0
push 4
push 0x7c885798
push 0x32
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
ret

Function at 0x7c816983
Capabilities:
Access pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
cmp eax, esi
je 0x7c82a85c
cmp word [eax + 0x5c], 1
je 0x7c82a85c
xor eax, eax
pop esi
leave
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x1d4], esi
jne 0x7c8169b4
call fcn.7c82a8ec
cmp eax, esi
jne 0x7c8169b6
lea eax, [ebp - 4]
push eax
push esi
push 1
call fcn.7c829d95
cmp eax, esi
jl 0x7c8169b6
lea eax, [ebp - 4]
push eax
push esi
push 2
call fcn.7c829d95
cmp eax, esi
jl 0x7c8169b6
lea eax, [ebp - 4]
push eax
push esi
push 3
call fcn.7c829d95
cmp eax, esi
jl 0x7c8169b6
lea eax, [ebp - 4]
push eax
push esi
push 4
call fcn.7c829d95
cmp eax, esi
jl 0x7c8169b6
lea eax, [ebp - 4]
push eax
push esi
push 5
call fcn.7c829d95
cmp eax, esi
jge 0x7c8169b4
jmp 0x7c8169b6
Function at 0x7c817106
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 0x7c885740
call dword [sym.imp.ntdll.dll_RtlInitializeCriticalSection]
xor edi, edi
cmp eax, edi
jne 0x7c8172e3
push esi
push 0xfa0
mov esi, 0x7c885360
push esi
call dword [sym.imp.ntdll.dll_RtlInitializeCriticalSectionAndSpinCount]
cmp eax, edi
jne 0x7c8172e2
push ebx
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
call fcn.7c8169be
mov ebx, eax
cmp ebx, edi
jne 0x7c8172e6
mov dword [0x7c8857a4], edi
mov dword [0x7c885670], edi
mov dword [0x7c88538c], edi
mov dword [0x7c885038], edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x58]
movzx eax, word [ecx + 2]
push edi
push edi
push 0x7c8856d0
push ecx
push eax
mov dword [0x7c885380], eax
call fcn.7c817961
mov ebx, eax
cmp ebx, edi
jne 0x7c8172e6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x5c]
movzx eax, word [ecx + 2]
cmp eax, dword [0x7c885380]
mov dword [0x7c88566c], eax
je 0x7c839d73
push edi
push edi
push 0x7c88562c
push ecx
push eax
call fcn.7c817961
mov ebx, eax
cmp ebx, edi
jne 0x7c8172e6
mov dword [0x7c887210], edi
mov dword [0x7c887214], edi
call fcn.7c816a4a
mov ebx, eax
cmp ebx, edi
jne 0x7c8172e6
push 0x7c8853a8
push edi
call dword [sym.imp.ntdll.dll_NtQueryDefaultLocale]
mov ebx, eax
cmp ebx, edi
jl 0x7c8172e6
mov eax, dword [0x7c8850a8]
mov eax, dword [eax + 0x1860]
mov dword [ebp - 8], eax
cmp eax, edi
mov eax, dword [0x7c8853a8]
jne 0x7c81721e
mov dword [ebp - 8], eax
push 1
mov ebx, 0x7c885350
push ebx
push eax
mov word [0x7c88572a], di
call fcn.7c815ed0
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x7c839d82
mov eax, dword [ebp - 8]
cmp eax, dword [0x7c8853a8]
jne 0x7c839db1
push 1
push 0x7c88579c
push 0x7f
call fcn.7c815ed0
call fcn.7c817a86
call fcn.7c816d15
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x7c839d93
push edi
push edi
push ebx
push dword [0x7c8853a8]
call fcn.7c8172f7
mov ebx, eax
cmp ebx, edi
jne 0x7c8172e6
push edi
push edi
push 0x7c88579c
push 0x409
call fcn.7c8172f7
mov ebx, eax
cmp ebx, edi
jne 0x7c8172e6
mov eax, dword [ebp - 8]
cmp dword [0x7c8853a8], eax
jne 0x7c839dd2
call fcn.7c817021
push esi
mov esi, dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
call esi
mov ebx, 0x7c885740
push ebx
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push 0x1870
push dword [0x7c8850a8]
call fcn.7c816051
test eax, eax
jl 0x7c839ded
push ebx
call esi
mov eax, edi
pop ebx
pop esi
pop edi
leave
ret
push esi
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x7c839d6c
shr dword [edx + 0x5b], 1
retf 0x168d
jno 0x7c839e01
mov dl, byte [edx + 0x252e88e0]
dec edx
cwde
mov al, byte [0x7c059ef4]
stosb byte es:[edi], al
mov ebx, 0x26f4db2e
cmc
Function at 0x7c81745e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x7c8856cc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 4], eax
mov eax, dword [0x7c885048]
mov dword [ebp - 0x8c], esi
cmp dword [eax + 0x188], esi
je 0x7c84e444
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x7c817b28
push 8
push 0x10
push dword [ebp + 8]
call sym.KERNEL32.dll_GetNlsSectionName
cmp eax, esi
jne 0x7c817529
push edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push esi
push 4
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.7c81633e
cmp eax, esi
je 0x7c84e52e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x90], esi
call fcn.7c81753c
test eax, eax
jne 0x7c84e44b
mov eax, dword [0x7c885048]
mov eax, dword [eax + 0x188]
mov dword [ebx + 0x1c], eax
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.7c8097aa
leave
ret 8
mov byte [ebx - 0x35], 0x2c
cmc
fild word [edx + 0x523ce29d]
popfd
loop 0x7c84e48a
push edx
pop esp
mov eax, dword [0xe6cb9f0b]
ret
rol byte [ebx - 0x57], 0xf3
mov eax, dword [0xc7415431]
sub dword [esi], esp
xor dl, cl
mov byte [0x8af5bd55], al
retf
sar dword [ebx + 0x5c], 1
in al, dx
shl byte [ebp - 0x58db0ca6], cl
cmpsd dword [esi], dword es:[edi]
push edx
lodsd eax, dword [esi]
mov edi, esp
mov dword [eax - 0x51], edx
xor al, 0x19
dec esp
add dword [edx], ebx
sbb eax, 0x6f086cdc
sbb dh, byte [esi]
imul esp, dword [edi + edx*4 + 0x66], 0xffffffdd
add eax, dword [edx + 0xb]
xor al, 0x8c
and cl, ah
aaa
push ebx
test al, 0xaa
pop esp
jae 0x7c84e525
xchg ecx, eax
sal dword [eax], cl
imul edi, dword [ebx + ecx*4 + 0x4e], 0x2ea6c825
add al, 0x69
loopne 0x7c84e5e2
and eax, 0x13826637
mov eax, dword [0x16801079]
cmp dword [ecx], edx
js 0x7c84e572
inc esp
aad 0xa6
loopne 0x7c84e5a2
invalid
lodsd eax, dword [esi]
or ebp, esp
push esi
cmp eax, 0xe7aefcb4
push edx
dec ebp
sub byte [ebp + 0x7c], dl
mov edx, 0xea265dc8
lcall 0x29a, 0x9bada40a
adc al, 0x86
xchg al, bh
scasb al, byte es:[edi]
jecxz 0x7c84e616
push esp
ret
lea edi, [ecx + 0x6723b03a]
push es
aaa
push 0x6d
sbb byte [ebp - 0x5528fb50], bl
outsd dx, dword [esi]
invalid
inc esi
push edx
sub byte [ebp + 0x793e4d5a], ch
cld
invalid
Function at 0x7c81a0dc
Capabilities:
Get process heap flags

Disassembly:
push 0xac
push 0x7c81a160
call fcn.7c8024d6
mov eax, dword [0x7c8856cc]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
push 0xc
push 0x20208
xor edi, edi
push edi
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
cmp dword [ebp - 0x9c], edi
jl 0x7c835716
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x8c]
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x1c]
call fcn.7c8097aa
call fcn.7c802511
ret 8
cdq
invalid

Function at 0x7c81a231
Capabilities:
Access peb ldr_data

Disassembly:
cmp byte [0x7c8853a0], 0
jne 0x7c81a2d1
push ebx
push esi
push edi
push 0x7c8853c0
call dword [sym.imp.ntdll.dll_RtlInitializeCriticalSection]
mov byte [0x7c8853a0], 1
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + 0xc]
mov ax, word [esi + 0x2c]
shr ax, 1
mov word [0x7c885090], ax
movzx ecx, word [esi + 0x2c]
mov esi, dword [esi + 0x30]
mov ebx, ecx
shr ecx, 2
mov edi, 0x7c885140
rep movsd dword es:[edi], dword [esi]
movzx eax, ax
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and word [eax*2 + 0x7c885140], 0
mov eax, dword [edx + 0x10]
mov ax, word [eax + 0x24]
shr ax, 1
mov word [0x7c885394], ax
mov edx, dword [edx + 0x10]
movzx ecx, word [edx + 0x24]
mov esi, dword [edx + 0x28]
mov edx, ecx
shr ecx, 2
mov edi, 0x7c8853e0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
movzx eax, ax
and word [eax*2 + 0x7c8853e0], 0
pop esi
pop ebx
ret

Function at 0x7c81a357
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x7c8856cc]
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
push 0xc
push 0x2023f
mov dword [ebp - 0x7c], eax
push 0
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0x74], 1
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
cmp dword [ebp - 0x84], 0
jl 0x7c84724f
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
call fcn.7c8097aa
leave
ret
enter 0x4f23, 0x44
hlt

Function at 0x7c81a3b8
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x7c8856cc]
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
push 0xc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
push 0x20211
mov dword [ebp - 0x74], eax
push 0
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
cmp dword [ebp - 0x84], 0
jl 0x7c82046f
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
call fcn.7c8097aa
leave
ret 8
push dword [ebp - 0x84]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push eax
call fcn.7c80935e
xor eax, eax
jmp 0x7c81a40f
Function at 0x7c81bc8a
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dx, 0x22
je 0x7c83baae
cmp dx, 0x27
jne 0x7c81bdf3
jmp 0x7c83baae
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x7c8856cc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
test eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], eax
jne 0x7c83ba44
lea eax, [ebp - 0x24]
push eax
push 0
push edi
call fcn.7c80f833
test al, al
je 0x7c83ba66
mov byte [ebp - 0x15], 0
test esi, esi
jne 0x7c81bce6
push dword [ebp - 0x24]
push ebx
call fcn.7c81ba6e
mov esi, eax
test esi, esi
je 0x7c83ba5c
lea eax, [ebp - 0x28]
push eax
push 0
push edi
call fcn.7c80f7f6
test al, al
je 0x7c83ba66
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x28]
push esi
push edi
call fcn.7c81baa3
test eax, eax
jl 0x7c81be23
cmp dword [ebp - 0x1c], 0xffffffff
je 0x7c81be23
mov esi, dword [sym.imp.ntdll.dll_NtQueryValueKey]
lea eax, [ebp - 0x20]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push 2
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call esi
mov edi, eax
test edi, edi
jge 0x7c8327ad
cmp edi, 0x80000005
jne 0x7c8328e0
mov eax, dword fs:[0x18]
push dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
push dword [0x7c8856d4]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
test ebx, ebx
je 0x7c83ba70
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push ebx
push 2
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call esi
mov edi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_NtClose]
xor esi, esi
cmp edi, esi
jl 0x7c81be06
cmp dword [ebx + 4], 1
jne 0x7c8327b5
cmp byte [ebp - 0x15], 0
jne 0x7c83ba7a
cmp edi, esi
jl 0x7c81be06
push 2
pop edi
cmp dword [ebx + 8], edi
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x28], ecx
jb 0x7c83baa6
mov ax, word [ebx + 8]
sub ax, di
mov dx, word [ebx + 8]
mov word [ebp - 0x2a], dx
mov edx, dword [ebp - 0x30]
cmp dword [edx], 1
mov word [ebp - 0x2c], ax
jne 0x7c81bdf3
cmp ax, 4
jb 0x7c81bdf3
mov dx, word [ecx]
movzx esi, ax
sub esi, edi
shr esi, 1
cmp dx, word [ecx + esi*2]
je 0x7c81a5d7
push 1
lea eax, [ebp - 0x2c]
push eax
xor esi, esi
push esi
push dword [ebp - 0x30]
call fcn.7c80f921
mov edi, eax
lea eax, [ebp - 0x14]
cmp ebx, eax
je 0x7c81be21
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.7c8097aa
leave
ret 0x10
dec esi
mov bh, 0xbc
dec eax
loope 0x7c832810
add byte [ebp - 0xe5055d9], dl
dec edi
jp 0x7c83ba97
sbb al, 0xaf
movsb byte es:[edi], byte [esi]
mov al, byte [0x583e7e3f]
das
Function at 0x7c81c123
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xc], eax
cmp word [eax], 0
je 0x7c81c14b
inc esi
inc eax
inc eax
jmp 0x7c81c140
cmp word [eax + 2], 0
jne 0x7c81c146
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx ecx, si
lea ecx, [ecx + ecx + 4]
push ecx
mov ecx, dword [0x7c8856d4]
add ecx, 0x180000
push ecx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
test eax, eax
mov dword [ebp - 4], eax
je 0x7c841fe1
lea eax, [esi + esi + 4]
mov word [ebp - 6], ax
mov word [ebp - 8], ax
mov word [ebp - 0xe], ax
mov word [ebp - 0x10], ax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToOemString]
test eax, eax
jl 0x7c841ff2
mov eax, dword [ebp - 4]
pop esi
leave
ret
retf 0x3b0c
mov al, byte [0x6fc3a79a]
sub ecx, dword ds:[ecx]
invalid
inc ecx
jp 0x7c841faa
xor eax, 0x63089eff
jb 0x7c841f91