joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a11b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
or dword [edi + 0x3c], 0xffffffff
lea eax, [edi + 0x1c]
push eax
call fcn.00403958
mov esi, eax
test esi, esi
jns 0x43a154
push str.Failed_to_copy_file_name.
push esi
push 0x100
push 5
push 0x88
jmp 0x43a262
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x24], eax
test eax, eax
jne 0x43a1aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43a17d
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43a184
mov esi, 0x80004005
push esi
mov ebx, 0x8c
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_create_begin_operation_event.
push esi
push 0x100
push 5
push ebx
push edi
jmp 0x43a267
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x28], eax
test eax, eax
jne 0x43a1f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43a1d3
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43a1da
mov esi, 0x80004005
push esi
mov ebx, 0x8f
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_create_operation_complete_event.
jmp 0x43a19b
push ebx
push ebx
push edi
push 0x439a90
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x43a244
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43a221
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43a228
mov esi, 0x80004005
push esi
mov ebx, 0x93
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_create_extraction_thread.
jmp 0x43a19b
push edi
call fcn.00439eb4
mov esi, eax
test esi, esi
jns 0x43a26f
push str.Failed_to_wait_for_operation_complete.
push esi
push 0x100
push 5
push 0x97
push str.d:_awixwix_src_burnenginecabextract.cpp
call fcn.004012a1
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4443ac
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4b1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
push edi
push 7
pop ecx
mov dword [ebp - 0x30], eax
lea edi, [ebp - 0x20]
mov eax, dword [ebp + 0x10]
mov esi, edx
push 0xf003f
mov dword [ebp - 0x2c], eax
mov ebx, edx
xor eax, eax
mov dword [ebp - 0x24], edx
push edx
rep stosd dword es:[edi], eax
push edx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x444446
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44440b
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444412
mov esi, 0x80004005
push esi
push 0x168
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push edi
call fcn.0040129e
push str.Failed_to_open_service_control_manager.
push esi
push 0x100
push 5
push 0x168
push edi
call fcn.004012a1
mov edi, dword [ebp - 0x28]
add esp, 0x18
jmp 0x44457b
push 0x27
push str.wuauserv
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x44449d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444471
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444478
mov esi, 0x80004005
push esi
push 0x16b
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push edi
call fcn.0040129e
push str.Failed_to_open_WU_service.
push esi
push 0x100
push 5
push 0x16b
jmp 0x444435
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4444f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4444c3
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4444ca
mov esi, 0x80004005
push esi
push 0x16f
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push edi
call fcn.0040129e
push str.Failed_to_query_status_of_WU_service.
push esi
push 0x100
push 5
push 0x16f
jmp 0x444435
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x44450a
cmp dword [ebp + 8], esi
je 0x44450a
push ebx
call fcn.00444625
mov esi, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 4
je 0x444574
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.004719da
mov esi, eax
test esi, esi
jns 0x444540
push str.Failed_to_read_configuration_for_WU_service.
push esi
push 0x100
push 5
push 0x17c
push str.d:_awixwix_src_burnenginemsuengine.cpp
call fcn.004012a1
add esp, 0x18
jmp 0x44457b
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 4
jne 0x444574
push 3
push ebx
call fcn.004445b2
mov esi, eax
test esi, esi
jns 0x44456b
push str.Failed_to_mark_WU_service_to_start_on_demand.
push esi
push 0x100
push 5
push 0x182
jmp 0x444531
mov eax, dword [ebp - 0x2c]
mov dword [eax], 1
mov eax, dword [ebp - 0x30]
mov dword [eax], ebx
xor ebx, ebx
cmp dword [ebp - 0x24], 0
je 0x444589
push dword [ebp - 0x24]
call fcn.0040758b
test ebx, ebx
je 0x444594
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x44459f
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00451586
leave
ret 0xc
Function at 0x4445b2
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x44461e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4445ea
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4445f1
mov esi, 0x80004005
push ebx
push edi
push esi
mov ebx, 0x19c
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_set_service_start_type.
push esi
push 0x100
push 5
push ebx
push edi
call fcn.004012a1
add esp, 0x18
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x444625
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 7
pop ecx
lea edi, [ebp - 0x20]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4446a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44466e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444675
mov esi, 0x80004005
push ebx
push esi
mov ebx, 0x1ac
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_stop_wusa_service.
push esi
push 0x100
push 5
push ebx
push edi
call fcn.004012a1
add esp, 0x18
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00451586
leave
ret 4
Function at 0x44d904
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
and dword [ebp - 4], esi
push eax
push dword [ebp + 8]
call fcn.004050e3
test eax, eax
je 0x44d9a3
mov eax, dword [ebp - 4]
test al, 1
je 0x44d9a3
and eax, 0xfffffffe
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44d9a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44d954
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x44d95d
mov esi, 0x80004005
jmp 0x44d973
cmp esi, 0x80070003
je 0x44d96d
cmp esi, 0x80070002
jne 0x44d96f
xor esi, esi
test esi, esi
jns 0x44d9a3
push ebx
push edi
push esi
mov ebx, 0x7a8
mov edi, str.d:_awixwix_src_burnengine_apply.cpp
push ebx
push edi
call fcn.0040129e
push dword [ebp + 8]
push str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
push esi
push 0x100
push 5
push ebx
push edi
call fcn.004012a1
add esp, 0x1c
pop edi
pop ebx
mov eax, esi
pop esi
leave
ret 4

Function at 0x451eea
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x451f29
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x451f29
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x451f29
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x451f29
cmp dword [ecx + 0x74], 0xe
jbe 0x451f29
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x45c1c4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4b1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x45c20f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0045c35f
test al, al
jne 0x45c209
sub edx, 2
cmp edx, edi
jne 0x45c1ef
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x45c231
lea eax, [edi + 2]
cmp edx, eax
je 0x45c231
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0045c110
add esp, 0x10
jmp 0x45c32b
push esi
lea ecx, [ebp - 0x255]
call fcn.0045c35f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45c274
push dword [ebp - 0x25c]
jmp 0x45c221
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x45c2b1
cmp word [ebp - 0x226], 0
je 0x45c2d2
cmp word [ebp - 0x226], ax
jne 0x45c2b1
cmp word [ebp - 0x224], 0
je 0x45c2d2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0045c110
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x45c31e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x45c28b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x45c306
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x45c32b
push 0x45bf40
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004609e0
add esp, 0x10
jmp 0x45c2fb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00451586
leave
ret

Function at 0x45dbd3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a27dc
push 0x4a27d4
push str.FlsAlloc
push 0x1f
call fcn.0045db0e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45dc07
push dword [ebp + 8]
mov ecx, esi
call dword [0x4773f0]
call esi
jmp 0x45dc0d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x45dc51
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a27ec
push 0x4a27e4
push str.FlsGetValue
push 0x21
call fcn.0045db0e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45dc88
push dword [ebp + 8]
mov ecx, esi
call dword [0x4773f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x45dc90
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a27f4
push 0x4a27ec
push str.FlsSetValue
push 0x22
call fcn.0045db0e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45dcca
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4773f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x46478a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push str.ignored
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.00403485
mov esi, eax
test esi, esi
jns 0x4647c9
push str.Failed_to_initialize_command_line.
push esi
push 2
push 5
push 0x2c
push str.d:_awixwix_srclibsdutilwixtoolset.dutil_app2util.cpp
call fcn.004012a1
add esp, 0x18
jmp 0x464847
push edi
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00403485
mov esi, eax
test esi, esi
jns 0x4647ea
push str.Failed_to_copy_command_line.
push esi
push 2
push 5
push 0x2f
jmp 0x4647ba
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
jne 0x464836
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x464812
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x464819
mov esi, 0x80004005
push esi
push 0x32
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutil_app2util.cpp
push edi
call fcn.0040129e
push str.Failed_to_parse_command_line.
push esi
push 2
push 5
push 0x32
push edi
jmp 0x4647bf
lea ecx, [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
dec ecx
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x464855
push dword [ebp - 4]
call fcn.00404128
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x46553f
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x4b256c
push str.AdvApi32.dll
call fcn.004018a4
mov esi, eax
test esi, esi
js 0x465584
push str.SystemFunction040
push dword [0x4b256c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SystemFunction041
push dword [0x4b256c]
mov dword [0x4b255c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b2560], eax
jmp 0x465589
mov eax, dword [0x4b2560]
cmp dword [0x4b255c], 0
je 0x46559a
test eax, eax
jne 0x465688
push 0x4b2570
push str.Crypt32.dll
call fcn.004018a4
mov esi, eax
test esi, esi
jns 0x4655cd
push str.Failed_to_load_Crypt32.dll
push esi
push 0xb
push 5
push 0x32
push str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
call fcn.004012a1
add esp, 0x18
jmp 0x465692
push str.CryptProtectMemory
push dword [0x4b2570]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x4b255c], 0
mov dword [0x4b2564], eax
jne 0x46562b
test eax, eax
jne 0x46562b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x465607
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x46560e
mov esi, 0x80004005
push esi
push 0x37
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
push edi
call fcn.0040129e
push str.Failed_to_load_an_encryption_method
push esi
push 0xb
push 5
push 0x37
push edi
jmp 0x4655c0
push str.CryptUnprotectMemory
push dword [0x4b2570]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x4b2560], 0
mov dword [0x4b2568], eax
jne 0x465688
test eax, eax
jne 0x465688
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x465665
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x46566c
mov esi, 0x80004005
push esi
push 0x3c
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
push edi
call fcn.0040129e
push str.Failed_to_load_a_decryption_method
push esi
push 0xb
push 5
push 0x3c
jmp 0x465628
mov dword [0x4b2574], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x465a73
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push SysReAllocString
xor edi, edi
and dword [ebp - 8], edi
push ebx
call fcn.00403192
mov esi, eax
test esi, esi
jns 0x465ac7
push esi
mov ebx, 0x2b3
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_get_length_of_raw_string
push esi
push 0x1b
push 5
push ebx
push edi
call fcn.004012a1
add esp, 0x18
jmp 0x465b78
mov ecx, dword [0x4b18f4]
cmp ecx, 0xffffffff
jne 0x465aff
push 0
push ebx
push 0x4b2584
call fcn.00403bee
mov esi, eax
test esi, esi
jns 0x465afb
push str.Failed_to_concatenate_string_to_pre_init_buffer
push esi
push 0x1b
push 5
push 0x2bb
push str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
jmp 0x465aba
xor esi, esi
jmp 0x465b78
cmp dword [ebp - 4], edi
jbe 0x465b78
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x465b38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x465b36
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x465b48
add edi, dword [ebp - 8]
cmp edi, dword [ebp - 4]
jae 0x465b78
mov ecx, dword [0x4b18f4]
jmp 0x465b04
push esi
push 0x2c5
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
push edi
call fcn.0040129e
push ebx
push dword [0x4b2580]
push str.Failed_to_write_output_to_log:__ls____hs
push esi
push 0x1b
push 5
push 0x2c5
push edi
call fcn.004012a1
add esp, 0x20
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x465ec5
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4b1040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [str.unknown]
xor ebx, ebx
push edi
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x38], 0x10
lea edi, [ebp - 0x24]
mov dword [ebp - 0x2c], ebx
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
call fcn.00406418
test eax, eax
jns 0x465f12
mov edi, 0x477924
jmp 0x465f23
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.0040588e
test eax, eax
jns 0x465f2d
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x465f4d
push 0x20
pop ecx
lea eax, [ebp - 0x24]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x465f45
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.00475c46
push dword [ebp - 0x28]
push str._Logging_started:__ls_
push 2
call fcn.0040ba47
mov ecx, dword [ebp - 0x30]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x34]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push edi
push str.Executable:__ls_v_d._d._d._d
push 2
call fcn.0040ba47
lea eax, [ebp - 0x24]
push eax
push str.Computer__:__ls
push 2
call fcn.0040ba47
mov eax, dword [0x4b18f8]
add esp, 0x34
sub eax, ebx
je 0x465fd9
sub eax, 1
je 0x465fd1
sub eax, 1
je 0x465fc9
sub eax, 1
je 0x465fc1
sub eax, 1
jne 0x465fdf
mov esi, dword [str.debug]
jmp 0x465fdf
mov esi, dword [str.verbose]
jmp 0x465fdf
mov esi, dword [str.standard]
jmp 0x465fdf
mov esi, dword [str.warning]
jmp 0x465fdf
mov esi, dword [str.none]
push esi
push str.____logging_level:__hs____
push 2
call fcn.0040ba47
add esp, 0xc
cmp dword [ebp - 0x28], 0
pop edi
pop esi
pop ebx
je 0x466000
push dword [ebp - 0x28]
call fcn.00404128
cmp dword [ebp - 0x2c], 0
je 0x46600e
push dword [ebp - 0x2c]
call fcn.00404128
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00451586
leave
ret

Function at 0x466447
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b1040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
xor ebx, ebx
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call fcn.004664d7
cmp dword [ebp - 0x14], ebx
je 0x466483
mov dword [esi], 1
jmp 0x4664b7
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esi], eax
test eax, eax
je 0x4664b7
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4664b7
mov dword [esi], ebx
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x4664c7
push dword [ebp - 0x10]
call fcn.00470195
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00451586
leave
ret 4
Function at 0x4669aa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x58]
push 0x44
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00452250
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4669dc
mov eax, 0x477924
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push str.__ls___ls
push eax
call fcn.00403578
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x466a18
push str.Failed_to_allocate_full_command_line.
push esi
push 0x24
push 5
push 0x160
push str.d:_awixwix_srclibsdutilwixtoolset.dutilprocutil.cpp
call fcn.004012a1
add esp, 0x18
jmp 0x466aa2
mov ax, word [ebp + 0x10]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x44
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x2c], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x466a97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x466a63
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x466a6a
mov esi, 0x80004005
push esi
mov ebx, 0x167
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutilprocutil.cpp
push ebx
push edi
call fcn.0040129e
push dword [ebp - 4]
push str.Failed_to_create_process:__ls
push esi
push 0x24
push 5
push ebx
push edi
call fcn.004012a1
add esp, 0x1c
xor ebx, ebx
jmp 0x466aa2
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
je 0x466ab4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], 0
je 0x466ac6
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 4], 0
je 0x466ad4
push dword [ebp - 4]
call fcn.00404128
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10