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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
xor ebx, ebx
push ebx
push 0x3ff
mov esi, ebx
mov dword [ebp - 8], ebx
stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x42d7b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42d77b
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42d782
mov esi, 0x80004005
push esi
push 0x38
mov edi, str.d:_awixwix_src_burnengineuithread.cpp
push edi
call fcn.00401225
push str.Failed_to_create_initialization_event.
push esi
push 0x100
push 5
push 0x38
push edi
call fcn.00401228
mov eax, dword [ebp - 4]
add esp, 0x18
jmp 0x42d833
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x42d370
push ebx
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42d816
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42d7f0
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42d7f7
mov esi, 0x80004005
push esi
push 0x41
mov edi, str.d:_awixwix_src_burnengineuithread.cpp
push edi
call fcn.00401225
push str.Failed_to_create_the_UI_thread.
push esi
push 0x100
push 5
push 0x41
jmp 0x42d79f
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 4]
mov dword [edi + 0x448], eax
mov eax, ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x42d841
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x42d84f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x42ee8b
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.00402eaf
mov esi, eax
test esi, esi
jns 0x42eec4
push str.Failed_to_copy_file_name.
push esi
push 0x100
push 5
push 0x88
jmp 0x42efd2
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x24], eax
test eax, eax
jne 0x42ef1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42eeed
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42eef4
mov esi, 0x80004005
push esi
mov ebx, 0x8c
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push ebx
push edi
call fcn.00401225
push str.Failed_to_create_begin_operation_event.
push esi
push 0x100
push 5
push ebx
push edi
jmp 0x42efd7
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x28], eax
test eax, eax
jne 0x42ef63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42ef43
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42ef4a
mov esi, 0x80004005
push esi
mov ebx, 0x8f
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push ebx
push edi
call fcn.00401225
push str.Failed_to_create_operation_complete_event.
jmp 0x42ef0b
push ebx
push ebx
push edi
push 0x42e800
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x42efb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42ef91
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42ef98
mov esi, 0x80004005
push esi
mov ebx, 0x93
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push ebx
push edi
call fcn.00401225
push str.Failed_to_create_extraction_thread.
jmp 0x42ef0b
push edi
call fcn.0042ec24
mov esi, eax
test esi, esi
jns 0x42efdf
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.00401228
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x439713
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x49c00c]
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 0x4397ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x439772
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x439779
mov esi, 0x80004005
push esi
push 0x168
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push edi
call fcn.00401225
push str.Failed_to_open_service_control_manager.
push esi
push 0x100
push 5
push 0x168
push edi
call fcn.00401228
mov edi, dword [ebp - 0x28]
add esp, 0x18
jmp 0x4398e2
push 0x27
push str.wuauserv
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x439804
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4397d8
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4397df
mov esi, 0x80004005
push esi
push 0x16b
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push edi
call fcn.00401225
push str.Failed_to_open_WU_service.
push esi
push 0x100
push 5
push 0x16b
jmp 0x43979c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x439859
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43982a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x439831
mov esi, 0x80004005
push esi
push 0x16f
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push edi
call fcn.00401225
push str.Failed_to_query_status_of_WU_service.
push esi
push 0x100
push 5
push 0x16f
jmp 0x43979c
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x439871
cmp dword [ebp + 8], esi
je 0x439871
push ebx
call fcn.0043998c
mov esi, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 4
je 0x4398db
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00467625
mov esi, eax
test esi, esi
jns 0x4398a7
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.00401228
add esp, 0x18
jmp 0x4398e2
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 4
jne 0x4398db
push 3
push ebx
call fcn.00439919
mov esi, eax
test esi, esi
jns 0x4398d2
push str.Failed_to_mark_WU_service_to_start_on_demand.
push esi
push 0x100
push 5
push 0x182
jmp 0x439898
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 0x4398f0
push dword [ebp - 0x24]
call fcn.004055c9
test ebx, ebx
je 0x4398fb
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x439906
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.00446806
leave
ret 0xc
Function at 0x439919
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 0x439985
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x439951
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x439958
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.00401225
push str.Failed_to_set_service_start_type.
push esi
push 0x100
push 5
push ebx
push edi
call fcn.00401228
add esp, 0x18
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x43998c
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x49c00c]
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 0x439a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4399d5
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4399dc
mov esi, 0x80004005
push ebx
push esi
mov ebx, 0x1ac
mov edi, str.d:_awixwix_src_burnenginemsuengine.cpp
push ebx
push edi
call fcn.00401225
push str.Failed_to_stop_wusa_service.
push esi
push 0x100
push 5
push ebx
push edi
call fcn.00401228
add esp, 0x18
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00446806
leave
ret 4
Function at 0x442c84
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.0046345a
test eax, eax
je 0x442d23
mov eax, dword [ebp - 4]
test al, 1
je 0x442d23
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 0x442d23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x442cd4
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x442cdd
mov esi, 0x80004005
jmp 0x442cf3
cmp esi, 0x80070003
je 0x442ced
cmp esi, 0x80070002
jne 0x442cef
xor esi, esi
test esi, esi
jns 0x442d23
push ebx
push edi
push esi
mov ebx, 0x7b1
mov edi, str.d:_awixwix_src_burnengine_apply.cpp
push ebx
push edi
call fcn.00401225
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.00401228
add esp, 0x1c
pop edi
pop ebx
mov eax, esi
pop esi
leave
ret 4

Function at 0x447120
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x49c00c]
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 0x4513af
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004514ff
test al, al
jne 0x4513a9
sub edx, 2
cmp edx, edi
jne 0x45138f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4513d1
lea eax, [edi + 2]
cmp edx, eax
je 0x4513d1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004512b0
add esp, 0x10
jmp 0x4514cb
push esi
lea ecx, [ebp - 0x255]
call fcn.004514ff
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 0x451414
push dword [ebp - 0x25c]
jmp 0x4513c1
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 0x451451
cmp word [ebp - 0x226], 0
je 0x451472
cmp word [ebp - 0x226], ax
jne 0x451451
cmp word [ebp - 0x224], 0
je 0x451472
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004512b0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4514be
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x45142b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4514a6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4514cb
push 0x4510e0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00455bd0
add esp, 0x10
jmp 0x45149b
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.00446806
leave
ret

Function at 0x452d73
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x48d9ec
push 0x48d9e4
push str.FlsAlloc
push 0x1f
call fcn.00452cae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x452da7
push dword [ebp + 8]
mov ecx, esi
call dword [0x46e3f8]
call esi
jmp 0x452dad
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x452df1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x48d9fc
push 0x48d9f4
push str.FlsGetValue
push 0x21
call fcn.00452cae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x452e28
push dword [ebp + 8]
mov ecx, esi
call dword [0x46e3f8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x452e30
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x48da04
push 0x48d9fc
push str.FlsSetValue
push 0x22
call fcn.00452cae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x452e6a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x46e3f8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x45999a
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.004029dc
mov esi, eax
test esi, esi
jns 0x4599d9
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.00401228
add esp, 0x18
jmp 0x459a57
push edi
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004029dc
mov esi, eax
test esi, esi
jns 0x4599fa
push str.Failed_to_copy_command_line.
push esi
push 2
push 5
push 0x2f
jmp 0x4599ca
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
jne 0x459a46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x459a22
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x459a29
mov esi, 0x80004005
push esi
push 0x32
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutil_app2util.cpp
push edi
call fcn.00401225
push str.Failed_to_parse_command_line.
push esi
push 2
push 5
push 0x32
push edi
jmp 0x4599cf
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 0x459a65
push dword [ebp - 4]
call fcn.0040367f
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x45a5ab
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x49d4d4
push str.AdvApi32.dll
call fcn.00401839
mov esi, eax
test esi, esi
js 0x45a5f0
push str.SystemFunction040
push dword [0x49d4d4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SystemFunction041
push dword [0x49d4d4]
mov dword [0x49d4c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49d4c8], eax
jmp 0x45a5f5
mov eax, dword [0x49d4c8]
cmp dword [0x49d4c4], 0
je 0x45a606
test eax, eax
jne 0x45a6f4
push 0x49d4d8
push str.Crypt32.dll
call fcn.00401839
mov esi, eax
test esi, esi
jns 0x45a639
push str.Failed_to_load_Crypt32.dll
push esi
push 0xb
push 5
push 0x32
push str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
call fcn.00401228
add esp, 0x18
jmp 0x45a6fe
push str.CryptProtectMemory
push dword [0x49d4d8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x49d4c4], 0
mov dword [0x49d4cc], eax
jne 0x45a697
test eax, eax
jne 0x45a697
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x45a673
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x45a67a
mov esi, 0x80004005
push esi
push 0x37
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
push edi
call fcn.00401225
push str.Failed_to_load_an_encryption_method
push esi
push 0xb
push 5
push 0x37
push edi
jmp 0x45a62c
push str.CryptUnprotectMemory
push dword [0x49d4d8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x49d4c8], 0
mov dword [0x49d4d0], eax
jne 0x45a6f4
test eax, eax
jne 0x45a6f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x45a6d1
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x45a6d8
mov esi, 0x80004005
push esi
push 0x3c
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
push edi
call fcn.00401225
push str.Failed_to_load_a_decryption_method
push esi
push 0xb
push 5
push 0x3c
jmp 0x45a694
mov dword [0x49d4dc], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x45aadf
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.00402647
mov esi, eax
test esi, esi
jns 0x45ab33
push esi
mov ebx, 0x2b3
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
push ebx
push edi
call fcn.00401225
push str.Failed_to_get_length_of_raw_string
push esi
push 0x1b
push 5
push ebx
push edi
call fcn.00401228
add esp, 0x18
jmp 0x45abe4
mov ecx, dword [0x49c874]
cmp ecx, 0xffffffff
jne 0x45ab6b
push 0
push ebx
push 0x49d4ec
call fcn.00403145
mov esi, eax
test esi, esi
jns 0x45ab67
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 0x45ab26
xor esi, esi
jmp 0x45abe4
cmp dword [ebp - 4], edi
jbe 0x45abe4
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 0x45aba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x45aba2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x45abb4
add edi, dword [ebp - 8]
cmp edi, dword [ebp - 4]
jae 0x45abe4
mov ecx, dword [0x49c874]
jmp 0x45ab70
push esi
push 0x2c5
mov edi, str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
push edi
call fcn.00401225
push ebx
push dword [0x49d4e8]
push str.Failed_to_write_output_to_log:__ls____hs
push esi
push 0x1b
push 5
push 0x2c5
push edi
call fcn.00401228
add esp, 0x20
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x45af31
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x49c00c]
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.00404456
test eax, eax
jns 0x45af7e
mov edi, 0x46e904
jmp 0x45af8f
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.00463bff
test eax, eax
jns 0x45af99
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 0x45afb9
push 0x20
pop ecx
lea eax, [ebp - 0x24]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x45afb1
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.0046b887
push dword [ebp - 0x28]
push str._Logging_started:__ls_
push 2
call fcn.0040a2d7
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.0040a2d7
lea eax, [ebp - 0x24]
push eax
push str.Computer__:__ls
push 2
call fcn.0040a2d7
mov eax, dword [0x49c878]
add esp, 0x34
sub eax, ebx
je 0x45b045
sub eax, 1
je 0x45b03d
sub eax, 1
je 0x45b035
sub eax, 1
je 0x45b02d
sub eax, 1
jne 0x45b04b
mov esi, dword [str.debug]
jmp 0x45b04b
mov esi, dword [str.verbose]
jmp 0x45b04b
mov esi, dword [str.standard]
jmp 0x45b04b
mov esi, dword [str.warning]
jmp 0x45b04b
mov esi, dword [str.none]
push esi
push str.____logging_level:__hs____
push 2
call fcn.0040a2d7
add esp, 0xc
cmp dword [ebp - 0x28], 0
pop edi
pop esi
pop ebx
je 0x45b06c
push dword [ebp - 0x28]
call fcn.0040367f
cmp dword [ebp - 0x2c], 0
je 0x45b07a
push dword [ebp - 0x2c]
call fcn.0040367f
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00446806
leave
ret

Function at 0x45b4b3
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x49c00c]
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.0045b543
cmp dword [ebp - 0x14], ebx
je 0x45b4ef
mov dword [esi], 1
jmp 0x45b523
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 0x45b523
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x45b523
mov dword [esi], ebx
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x45b533
push dword [ebp - 0x10]
call fcn.00465d66
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00446806
leave
ret 4