joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496e10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536190
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
lea edx, [ebx + 4]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + ecx]
cmp eax, dword [edx]
jne 0x496e98
mov esi, dword [edx]
jmp 0x496e9e
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x496eb0
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x496efa
cmp esi, eax
jne 0x496ea4
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x496ee0
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
lea edx, [ebx + 4]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x496f25
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + ecx + 4], edi
jmp 0x496f48
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov ecx, edx
push eax
call fcn.004970c0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x496f2d
mov dword [ecx], edi
jmp 0x496f48
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x496f48
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00496f90
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x497030
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
mov ecx, dword [edi + 0xc]
cmp dword [ecx + edx*8 + 4], eax
lea ecx, [ecx + edx*8]
jne 0x49709c
cmp dword [ecx], eax
jne 0x497094
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x4970a4
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x4970a4
cmp dword [ecx], eax
jne 0x4970a7
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
push eax
push esi
call fcn.004970c0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x49b470
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536903
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x58d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x280]
mov esi, dword [ebp + 0xc]
push 0x250
push 0
push eax
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x294], 0
mov dword [ebp - 4], 0
call fcn.004e67e0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x49b4dc
mov esi, dword [esi]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x28c], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
cmp esi, 0xffffffff
jne 0x49b51c
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.004378c0
mov dword [ebx], eax
mov eax, ebx
jmp 0x49b64b
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
call fcn.004378c0
mov edi, eax
mov dword [ebp - 0x288], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00435c20
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
push dword [edi + 4]
push edi
call fcn.0049bb40
mov esi, dword [ebp - 0x284]
mov ecx, 0x7fffffe
sub ecx, esi
mov edx, eax
cmp ecx, 1
jae 0x49b57f
push str.list_T__too_long
call fcn.004c8c03
mov dword [edi + 4], edx
inc esi
mov eax, dword [edx + 4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x284], esi
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x49b5a7
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00408ce0
mov edi, dword [ebp - 0x28c]
lea eax, [ebp - 0x280]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x49b5ca
mov edi, dword [ebp - 0x288]
jmp 0x49b541
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.004378c0
mov ecx, dword [ebp - 0x288]
mov dword [ebx], ecx
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x288], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 4], esi
mov dword [ebp - 0x284], eax
call fcn.00436af0
push dword [ebp - 0x288]
call fcn.004c79fc
add esp, 4
mov eax, ebx
jmp 0x49b64b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c79eb
mov esp, ebp
pop ebp
ret 8
Function at 0x49e980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0x55eeec
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.00434e00
lea eax, [ebp - 0x3c]
push eax
call fcn.004ca211
add esp, 4
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.00434f20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4a86b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538118
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x58d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004a7490
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x28]
push ecx
push 1
mov ecx, eax
call fcn.004a7e40
mov ecx, eax
call fcn.004a8110
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4a8716
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00408ce0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 8
jb 0x4a873f
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408ce0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
Function at 0x4ab440
Capabilities:
Check if process is running under wine
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53860e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x4b2ad0
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004abae0
add eax, 4
push eax
push 0x20019
push 0
push str.SOFTWAREWine
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
setne bl
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp byte [esi + 8], 0
je 0x4ab4db
push ecx
mov eax, esp
mov byte [esi + 8], 0
mov dword [eax], esi
mov eax, dword [esi + 4]
call eax
add esp, 4
mov dword [esi], edi
mov byte [esi + 8], 1
test edi, edi
jne 0x4ab4e9
mov byte [esi + 8], 0
test bl, bl
jne 0x4ab514
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push str.wgc_mac_wrapper
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab514
cmp dword [ebp - 0x10], 1
sete bl
jmp 0x4ab516
xor bl, bl
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x20], 0
je 0x4ab535
push ecx
mov ecx, esp
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ecx], eax
call dword [ebp - 0x24]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ab680
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x58d00c]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
xor esi, esi
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [esp + 0x3c]
mov word [esp + 0x40], 0x500
push eax
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x4ab6de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4ab708
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
push dword [esp + 0x10]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4ab701
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4ab708
cmp dword [esp + 0x10], esi
setne bl
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test esi, esi
jne 0x4ab729
mov ecx, dword [esp + 0x54]
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
call fcn.0049f990
push eax
push esi
push str.Error_occurred_in_isAppRunningInAdminMode__
lea ecx, [esp + 0x28]
call fcn.0049f7f0
push 0x58a6ec
lea eax, [esp + 0x20]
push eax
call fcn.004e676c
int3
Function at 0x4ab820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4ab851
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4ab840
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4ac550
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538866
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0x44
lea eax, [ebp - 0x88]
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x3c], xmm0
call fcn.004e67e0
add esp, 0xc
mov dword [ebp - 0x88], 0x44
mov edx, esi
lea ecx, [ebp - 0x2c]
push dword [ebx + 8]
call fcn.004ac410
add esp, 4
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
push ecx
push dword [eax]
push 0
push dword [ebx + 0x10]
push 0
push 0
push 0
push dword [ebp - 0x2c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4ac641
lea ecx, [ebp - 0x18]
call fcn.004a1300
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4ac63d
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4ac63d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4ac63d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x4b2af0
mov byte [ebp - 0x14], 1
test eax, eax
je 0x4ac668
push ecx
mov eax, esp
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [eax], ecx
call dword [ebp - 0x18]
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [edi], eax
mov dword [edi + 4], 0x4b2af0
mov byte [edi + 8], 1
test eax, eax
jne 0x4ac67f
mov byte [edi + 8], al
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4ac697
mov eax, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00408ce0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4ac6b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5388a6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x3c
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x18], 0
push 0
push eax
call fcn.004e67e0
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x50], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], 0x540
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
call fcn.004aaeb0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4ac785
lea ecx, [ebp - 0x14]
call fcn.004a1300
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x4ac785
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4ac785
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4ac785
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov dword [edi + 4], 0x4b2af0
mov byte [edi + 8], 1
test eax, eax
jne 0x4ac79c
mov byte [edi + 8], al
lea ecx, [ebp - 0x20]
call fcn.004ab020
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4afe40
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
test edi, edi
jns 0x4afe76
mov edx, edi
mov ecx, str.CoInitialize_failed
call fcn.004af570
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esi + 4]
push edi
push 0x560610
push 1
push 0
push 0x560650
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
jns 0x4afeb0
mov edx, ebx
mov ecx, str.CoCreateInstance_for_NetFwPolicy2_failed
call fcn.004af570
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
lea eax, [esi + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x48]
mov ebx, eax
test ebx, ebx
jns 0x4afede
mov edx, ebx
mov ecx, str.NetFwPolicy2::get_Rules_failed
call fcn.004af570
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
jns 0x4aff15
mov edx, edi
mov ecx, str.INetFwPolicy::get_CurrentProfileTypes_failed
call fcn.004af570
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b20d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53929d
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x58d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x368], esi
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x36c], esi
push 0
push eax
mov dword [ebp - 0x388], 0
call fcn.004e67e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4b226b
lea ecx, [ebp - 0x390]
call fcn.004a1300
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
push 0x19
push str.Failed_to_get_temp_folder
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
call fcn.0043a3f0
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0x398]
call fcn.00417dd0
mov byte [ebp - 4], 2
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x36c], esp
sub esp, 8
xorps xmm0, xmm0
mov eax, esp
movq qword [eax], xmm0
mov dword [eax], 0xf889cbfd
mov dword [eax + 4], 0xb
call fcn.004aad10
add esp, 8
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.004b2810
mov dword [ebp - method.Err::GenericError_struct_System::DirEnumerator::Errors::Failed_traits_.virtual_0], vtable.Err::GenericError_struct_System::Env::KnownPaths::Errors::Failed_traits_.0
mov byte [ebp - 4], 4
mov dword [ebp - 0x384], str.win32known_paths_win.cpp
mov dword [ebp - 0x380], 0x7f
call fcn.004c9c25
mov dword [ebp - 0x37c], eax
mov eax, dword [0x5c0180]
mov dword [ebp - 0x378], edx
mov dword [ebp - 0x374], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x370], eax
lea edx, [ebp - 0x384]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2cc]
call fcn.0041e5a0
add esp, 8
lea ecx, [ebp - 0x364]
push eax
call fcn.0040e800
push 0x58ad74
lea eax, [ebp - 0x364]
mov dword [ebp - method.Err::GenericError_struct_System::DirEnumerator::Errors::Failed_traits_.virtual_0], vtable.Err::GenericError_struct_System::Env::KnownPaths::Errors::Failed_traits_.0
push eax
call fcn.004e676c
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004393d0
mov edx, eax
mov dword [ebp - 4], 6
mov ecx, esi
call fcn.004aa4a0
mov byte [ebp - 4], 7
mov ecx, dword [esi]
call fcn.004a73d0
test al, al
jne 0x4b22a3
mov ecx, esi
call fcn.004a8dc0
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x4b22c1
inc ecx
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.00408ce0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
Function at 0x4b3e10
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x58d00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov esi, ecx
mov eax, dword [edi + 4]
sub eax, dword [edi]
je 0x4b3efb
push 0xdc
lea eax, [ebp - 0xec]
push 0
push eax
call fcn.004e67e0
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0x67452301
mov eax, dword [eax + 4]
mov dword [ebp - 0xe0], 0xefcdab89
mov dword [ebp - 0xdc], 0x98badcfe
mov dword [ebp - 0xd8], 0x10325476
cmp dword [eax + esi + 0xc], 0
mov dword [ebp - 0xd4], 0xc3d2e1f0
jne 0x4b3ed1
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
push 0
push eax
push ecx
mov ecx, esi
call fcn.004a4300
push dword [esi + 8]
mov edx, dword [edi]
lea ecx, [ebp - 0xec]
call fcn.004b3c20
mov eax, dword [esi]
add esp, 4
mov eax, dword [eax + 4]
cmp dword [eax + esi + 0xc], 0
je 0x4b3ea0
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 1
je 0x4b3f52
mov edx, ebx
lea ecx, [ebp - 0xec]
call fcn.004b3cd0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf8], vtable.std::exception.0
push eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x100], str.sha1File_error:_Insufficient_buffer
xorps xmm0, xmm0
mov byte [ebp - 0xfc], 1
push eax
movq qword [ebp - 0xf4], xmm0
call fcn.004e56ee
add esp, 8
mov dword [ebp - 0xf8], vtable.std::invalid_argument.0
lea eax, [ebp - 0xf8]
push 0x58ad94
push eax
call fcn.004e676c
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf8], vtable.std::exception.0
push eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x100], str.sha1File_error:_was_not_reached_end_of_the_stream
xorps xmm0, xmm0
mov byte [ebp - 0xfc], 1
push eax
movq qword [ebp - 0xf4], xmm0
call fcn.004e56ee
add esp, 8
mov dword [ebp - 0xf8], vtable.std::runtime_error.0
lea eax, [ebp - 0xf8]
push 0x588768
push eax
call fcn.004e676c
int3

Function at 0x4b6690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b6701
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4b66cf
cmp eax, 2
jne 0x4b66eb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4b66fb
test ecx, ecx
je 0x4b66f6
test cl, 1
jne 0x4b66eb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4b66fb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc