joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b240
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x43b25e
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43b2e9
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43b2e9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x43b2a0
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x43b2a8
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b2b0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x43b31e
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43b3a9
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43b3a9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x43b360
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x43b368
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b370
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c5c0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push edi
mov ecx, dword [esi]
test ecx, ecx
je 0x43c6f8
cmp ecx, 0xffffffff
je 0x43c6f8
cmp byte [esi + 0x34], 0
mov edx, 0x1000002
push 0
push 0
push 0
mov eax, 2
cmovne eax, edx
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
lea ebx, [esi + 0x30]
cmp dword [ebx], edi
je 0x43c651
mov ecx, ebx
call fcn.0040e6f0
test edi, edi
je 0x43c651
cmp edi, 0xffffffff
je 0x43c651
mov dword [ebx], edi
call fcn.0041a580
mov dword [ebp - 4], eax
mov eax, dword [ebp + 4]
mov ecx, dword [0x4f9ff0]
mov dword [ebp - 8], eax
test ecx, ecx
jne 0x43c644
call fcn.0041a640
mov ecx, dword [0x4f9ff0]
push dword [ebp - 4]
mov eax, dword [ecx]
push dword [ebp - 8]
push ebx
push edi
call dword [eax + 4]
mov eax, dword [ebx]
test eax, eax
je 0x43c65c
cmp eax, 0xffffffff
jne 0x43c670
cmp byte [esi + 0x26], 0
je 0x43c670
cmp byte [0x4fa020], 0
jne 0x43c703
int3
test eax, eax
je 0x43c6f8
cmp eax, 0xffffffff
je 0x43c6f8
mov ecx, esi
call fcn.00424f20
mov edi, edx
mov dword [ebp - 8], eax
test edi, edi
jl 0x43c6a0
jg 0x43c6a0
test eax, eax
je 0x43c6a0
test edi, edi
jl 0x43c6ae
jg 0x43c6a0
cmp eax, 0x7fffffff
jbe 0x43c6ae
cmp byte [esi + 0x26], 0
je 0x43c6ae
call fcn.00412bc0
mov eax, dword [ebp - 8]
mov ecx, eax
add ecx, 0xffffffff
adc edi, 0xffffffff
test edi, edi
ja 0x43c6f8
jb 0x43c6c4
cmp ecx, 0x7ffffffe
ja 0x43c6f8
push 0
push 0
push 0
push 4
push dword [ebx]
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x43c6e8
cmp byte [esi + 0x26], al
je 0x43c6e8
call fcn.00412bc0
cmp dword [esi + 0x28], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.004a9fbe
int3

Function at 0x43c8e0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x4f5470]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], edx
xor eax, eax
mov dword [esp + 0x20], 7
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
xor bl, bl
mov word [esp + 0xc], ax
call fcn.0040e140
test al, al
je 0x43c95f
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00405c20
cmp dword [esp + 0x34], 0
je 0x43c94c
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov bl, 1
cmp dword [esp + 0x38], 8
jb 0x43c95f
push dword [esp + 0x24]
call fcn.004a733a
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x43c967
mov esi, dword [esi]
push esi
call dword [esp + 0xc]
mov esi, eax
test bl, bl
je 0x43c987
cmp dword [esp + 0x20], 8
lea ecx, [esp + 0xc]
cmovae ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [esp + 0x20], 8
jb 0x43c99a
push dword [esp + 0xc]
call fcn.004a733a
add esp, 4
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004a7e44
mov esp, ebp
pop ebp
ret
Function at 0x448478
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f5470]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x50]
xor ebx, ebx
push str.SeDebugPrivilege
mov dword [ebp - 0x58], ebx
call fcn.00447cc0
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], 0x4cf888
call fcn.00405590
xor esi, esi
cmp dword [0x4d86d8], ebx
jle 0x448587
push edi
push dword [esi*4 + 0x4f53a4]
lea ecx, [ebp - 0x38]
call fcn.0040aa10
lea eax, [ebp - 0x20]
push eax
push 2
push 0
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0041f910
add esp, 0x14
mov byte [ebp - 0x51], al
lea ecx, [ebp - 0x38]
push 0
push 1
call fcn.00408290
push 0x4d
push str.d:webapps_b_build_slave_repo_build_srcchromeinstaller_setup_setup_util.cc
call fcn.0040a010
pop ecx
pop ecx
test eax, eax
js 0x448566
cmp byte [ebp - 0x51], 0
mov edi, str._OK_
jne 0x448517
mov edi, str._Failed_
push 0
push 0x2d9
push str.d:webapps_b_build_slave_repo_build_srcchromeinstaller_setup_setup_util.cc
lea ecx, [ebp - 0x108]
or ebx, 1
call fcn.0040a070
push edi
push 0x4cf968
push dword [esi*4 + 0x4f53a4]
add eax, 8
push str.Killing
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.0040a940
pop ecx
pop ecx
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.00408da0
pop ecx
pop ecx
test bl, 1
je 0x448579
lea ecx, [ebp - 0x108]
and ebx, 0xfffffffe
call fcn.0040a0c0
inc esi
cmp esi, dword [0x4d86d8]
jl 0x4484c1
pop edi
lea ecx, [ebp - 0x1c]
call fcn.00405610
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], 0x4cf53c
call fcn.00447d6a
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7e44
mov esp, ebp
pop ebp
ret

Function at 0x450373
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x450385
xor eax, eax
jmp 0x4503be
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
and dword [ebp + 0x10], 0
lea ecx, [ebp + 0x10]
push 0
push ecx
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
mov edx, eax
mov eax, dword [ebp + 0xc]
sub esi, ecx
add eax, ecx
add ebx, ecx
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x4503c2
test esi, esi
jne 0x45038b
mov dword [edi], ebx
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
test edx, edx
je 0x4503b9
push 8
pop eax
jmp 0x4503bd
Function at 0x45d153
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 8], ebx
call fcn.0045de33
push 1
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x20]
call fcn.00417140
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x45d18d
mov esi, 0x80070002
jmp 0x45d237
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.0045df30
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push ebx
push str.PendingFileRenameOperations
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x45d1c7
mov esi, 0x80070002
jmp 0x45d22f
cmp eax, 0xea
jne 0x45d208
cmp dword [ebp - 8], 7
jne 0x45d1da
test byte [ebp - 4], 1
je 0x45d1e1
mov esi, 0x8000ffff
jmp 0x45d22f
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.0045df30
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push ebx
push str.PendingFileRenameOperations
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x45d218
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x45d22f
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x14]
call fcn.0045d43d
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.0040ee10
lea ecx, [ebp - 0x20]
call fcn.00417200
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d9e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x4f5470]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 8
xor eax, eax
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x14], 8
lea edi, [ebp - 0x24]
pop ecx
mov dword [ebp - 0x2c], ebx
rep stosd dword es:[edi], eax
jb 0x45da15
mov eax, dword [esi]
jmp 0x45da17
mov eax, esi
lea ecx, [ebp - 0x28]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x45da7d
call fcn.0040a000
cmp eax, 1
jg 0x45da66
xor ebx, ebx
inc ebx
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x3d
push str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0xe4]
call fcn.0040a860
push str._does_not_exist.
add eax, 0x10
push esi
push eax
call fcn.004051b0
pop ecx
pop ecx
push eax
call fcn.00408da0
pop ecx
pop ecx
test bl, 1
je 0x45da76
lea ecx, [ebp - 0xe4]
call fcn.0040a8c0
xor al, al
jmp 0x45db4e
push esi
call fcn.0040d600
pop ecx
push 4
pop ecx
push 5
test al, al
pop edx
cmove ecx, edx
cmp dword [esi + 0x14], 8
jb 0x45da99
mov eax, dword [esi]
jmp 0x45da9b
mov eax, esi
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x45dafc
call fcn.0040a000
cmp eax, 2
jg 0x45daf4
push 2
pop ebx
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x48
push str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0xe4]
call fcn.0040a860
push str._for_deletion.
push esi
add eax, 0x10
push str.Could_not_schedule
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
push eax
call fcn.00408da0
pop ecx
pop ecx
test bl, 2
jmp 0x45da69
push 0x5c
mov edi, str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
push edi
call fcn.0040a010
pop ecx
pop ecx
cmp eax, 1
jl 0x45db3c
push 4
pop ebx
push 0xffffffffffffffff
push 0x5c
push edi
lea ecx, [ebp - 0xdc]
call fcn.0040a070
push esi
add eax, 8
push str.Scheduled_for_deletion:
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
test bl, 4
je 0x45db4c
lea ecx, [ebp - 0xdc]
call fcn.0040a0c0
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7e44
mov esp, ebp
pop ebp
ret
Function at 0x45ea61
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4f5470]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 0x50], ebx
call fcn.004105a0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405590
lea ecx, [ebp - 0x1c]
call fcn.00405610
push ebx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00411020
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], ebx
push 0xffffffffffffffff
cmp word [eax], 0x22
jne 0x45ead9
xor eax, eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x3c]
add eax, 2
push eax
jmp 0x45eae2
push dword [ebp - 0x3c]
xor eax, eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x34]
push eax
call fcn.00407ca0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406930
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00408290
lea eax, [ebp - 0x34]
push eax
push 3
push eax
call fcn.00413400
call fcn.0045e411
push 0x38
mov esi, eax
lea eax, [ebp - 0x88]
push ebx
push eax
call fcn.004a84b0
add esp, 0x18
mov dword [ebp - 0x8c], 0x3c
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x88], 0x40
cmovae eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x20], 8
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], 0x4efc4c
mov dword [ebp - 0x70], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x45eba7
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0x50], ebx
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x45eba7
mov bl, 1
test edi, edi
je 0x45eba7
mov eax, dword [ebp - 0x50]
mov dword [edi], eax
test esi, esi
je 0x45ebb2
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00408290
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00408290
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7e44
mov esp, ebp
pop ebp
ret
Function at 0x45f1fd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4f5470]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor edi, edi
mov word [ebp - 0x20c], ax
push 0x206
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x228], edi
push edi
push eax
call fcn.004a84b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1c
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x45f28a
push ebx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040aa10
push edi
lea eax, [ebp - 0x224]
push eax
push esi
call fcn.00413540
add esp, 0xc
lea ecx, [ebp - 0x224]
mov bl, al
push edi
push 1
call fcn.00408290
mov al, bl
pop ebx
jmp 0x45f28c
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a7e44
mov esp, ebp
pop ebp
ret

Function at 0x4616dd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x10]
add edx, edx
cmp dword [eax + 0x14], 8
jb 0x4616f0
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x4616fb
mov ecx, dword [ecx]
push edx
push eax
push 1
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret
Function at 0x4619d7
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4f707c]
sub esp, 0x28
push edi
mov edi, ecx
test eax, eax
jne 0x4619f0
xor al, al
jmp 0x461b22
push ebx
push str.ShowHTMLDialog
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x461a0a
xor al, al
jmp 0x461b21
push esi
push 8
xor esi, esi
lea eax, [edi + 4]
pop ecx
mov dword [ebp - 4], esi
cmp dword [eax + 0x14], ecx
jb 0x461a1d
mov eax, dword [eax]
push 1
lea ecx, [ebp - 4]
push ecx
push eax
push esi
call sub.urlmon.dll_CreateURLMonikerEx
cmp dword [ebp - 4], esi
jne 0x461a36
xor al, al
jmp 0x461b20
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x461a76
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
mov ecx, esi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x461b29
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [0x4f7080]
test eax, eax
mov dword [0x4f7078], eax
cmovne ecx, esi
mov dword [0x4f7080], ecx
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x461a81
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00425860
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
push 0
call ebx
mov ecx, dword [ebp - 4]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push 3
pop eax
cmp word [ebp - 0x18], ax
jne 0x461ac4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x461aeb
push 8
pop eax
cmp word [ebp - 0x18], ax
jne 0x461aeb
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [eax], 6
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [ebp - 0x10]
lea ecx, [edi + 0x34]
call fcn.00408730
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x4f7078]
test eax, eax
je 0x461b13
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
and dword [0x4f7080], 0
and dword [0x4f7078], 0
lea ecx, [ebp - 0x28]
call fcn.00425850
test esi, esi
setns al
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x46a66d
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4f5470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x24], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
movzx eax, ax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
push 0x4d5874
push 0x17
push ecx
mov dword [ebp - 0x2c], ecx
push 0x4df09c
mov dword [ebp - 0x20], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x46a6d3
and dword [edi], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x46a819
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x46a819
cmp dword [ebx + 0x14], 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
jb 0x46a6e1
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00425fd0
mov edx, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x20]
lea ecx, [ebp - 0x2c]
call fcn.00425ff0
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x46a70b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.00425fd0
mov ecx, dword [ebx]
push dword [eax]
push ebx
call dword [ecx + 0x28]
lea ecx, [ebp - 0x24]
call fcn.00425ff0
mov ebx, dword [ebp - 0x20]
lea eax, [esi + 0x18]
cmp dword [eax + 0x14], 8
jb 0x46a732
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.00425fd0
mov ecx, dword [ebx]
push dword [eax]
push ebx
call dword [ecx + 0x30]
lea ecx, [ebp - 0x24]
call fcn.00425ff0
mov eax, dword [ebp - 0x20]
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x20]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
movzx eax, ax
push eax
lea eax, [ebp - 0x1c]
push 0x4d586c
push eax
call fcn.00415650
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x46a792
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00425fd0
mov ecx, dword [ebx]
push dword [eax]
push ebx
call dword [ecx + 0x48]
lea ecx, [ebp - 0x28]
call fcn.00425ff0
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00408290
cmp dword [esi + 0x14], 8
mov ebx, dword [ebp - 0x20]
jb 0x46a7c2
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x28]
call fcn.00425fd0
mov ecx, dword [ebx]
push dword [eax]
push ebx
call dword [ecx + 0x90]
lea ecx, [ebp - 0x28]
call fcn.00425ff0
mov eax, dword [ebp - 0x20]
push bind
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x20]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
test eax, eax
je 0x46a819
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x46a819
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7e44
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46eee0
Capabilities:
Check mutex on windows

Disassembly:
push esi
xor eax, eax
mov esi, ecx
push str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
push eax
push eax
mov byte [esi], al
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x46ef12
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
inc al
mov byte [esi], al
mov eax, esi
pop esi
ret
Function at 0x472040
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4f5470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
cmp dword [eax + 0x10], ebx
jne 0x47206b
xor al, al
jmp 0x47217e
cmp dword [eax + 0x14], 8
jb 0x472073
mov eax, dword [eax]
movzx eax, word [eax]
push esi
push edi
mov esi, str..X:
lea edi, [ebp - 0x14]
push ebx
push ebx
push 3
movsd dword es:[edi], dword [esi]
push ebx
push 3
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, 0xffffffff
jne 0x4720ac
xor al, al
jmp 0x47217c
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 0x28
lea eax, [ebp - 0x48]
mov dword [ebp - 0x20], ebx
push eax
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
push eax
push 0x2d1400
push esi
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4720e5
mov edi, dword [ebp - 0x2c]
jmp 0x47216d
call fcn.0040a000
cmp eax, 2
jg 0x47215d
push 4
pop ebx
push 2
push 0x93
push str.d:webapps_b_build_slave_repo_build_srcwow_basewinwow_machine_info_utils_win.cc
lea ecx, [ebp - 0x104]
call fcn.0040a070
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__DeviceIoControl_failed_with_error_code:
push dword [ebp - 0x50]
lea eax, [ebp - 0x14]
push str.__volume_path:
push eax
lea eax, [esi + 8]
push str.When_volume_access_path:
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.0040a940
pop ecx
pop ecx
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
push eax
call fcn.00408da0
pop ecx
pop ecx
mov ecx, eax
call fcn.0040abc0
mov esi, dword [ebp - 0x4c]
test bl, 4
je 0x47216d
lea ecx, [ebp - 0x104]
call fcn.0040a0c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 7
sete al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004a7e44
mov esp, ebp
pop ebp
ret