joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414e7f
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
or dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
xor ebx, ebx
stosd dword es:[edi], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [ebp + 0xc], ebx
jne 0x414f06
push ebx
lea eax, [ebp - 8]
push eax
push 1
push str.D:_A__GA___SY__A__GA___BA__A__GRGW0x00100000___WD_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x414ef6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x414ecd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x414ed4
mov esi, 0x80004005
push esi
push 0x116
push str.pipe.cpp
call fcn.00403858
push str.Failed_to_create_the_security_descriptor_for_the_connection_event_and_pipe.
push esi
call fcn.0044041e
pop ecx
pop ecx
jmp 0x415042
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push dword [edi]
push str..pipe_ls
push eax
call fcn.00401f9d
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x414f37
push dword [edi]
push str.Failed_to_allocate_full_name_of_pipe:__ls
push esi
call fcn.0044041e
add esp, 0xc
jmp 0x415042
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, ecx
push eax
push 1
mov eax, 0x10000
push eax
push eax
push 1
push ebx
push 0x80003
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x414f9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x414f7c
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x414f83
mov esi, 0x80004005
push esi
push 0x126
push str.pipe.cpp
call fcn.00403858
push dword [ebp - 4]
push str.Failed_to_create_pipe:__ls
jmp 0x414f29
cmp dword [ebp + 0xc], 0
je 0x415033
push dword [edi]
lea eax, [ebp - 4]
push str..pipe_ls.Cache
push eax
call fcn.00401f9d
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x414fc9
push dword [edi]
push str.Failed_to_allocate_full_name_of_cache_pipe:__ls
jmp 0x415021
push 0
push 1
mov eax, 0x10000
push eax
push eax
push 1
push 0
push 0x80003
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
jne 0x415036
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x415002
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x415009
mov esi, 0x80004005
push esi
push 0x132
push str.pipe.cpp
call fcn.00403858
push dword [ebp - 4]
push str.Failed_to_create_pipe:__ls
push esi
call fcn.0044041e
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x415042
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], ebx
and dword [eax], 0
cmp dword [ebp - 4], 0
je 0x415050
push dword [ebp - 4]
call fcn.004026e8
cmp dword [ebp - 8], 0
je 0x41505f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41825a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x46a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x25c]
push esi
push edi
push 0x208
push 0
push eax
call fcn.0042f8b0
xor eax, eax
lea edi, [ebp - 0x26c]
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 [0x46aa94]
test eax, eax
jne 0x41836d
lea eax, [ebp - 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4182f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4182cf
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4182d6
mov esi, 0x80004005
push esi
push 0x45b
push str.cache.cpp
call fcn.00403858
push str.Failed_to_get_temp_path_for_working_folder.
jmp 0x418381
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
mov esi, eax
or esi, 1
jge 0x41830b
push str.Failed_to_create_working_folder_guid.
jmp 0x418381
push 0x27
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x41833e
mov esi, 0x8007000e
push esi
push 0x465
push str.cache.cpp
call fcn.00403858
push str.Failed_to_convert_working_folder_guid_into_string.
jmp 0x418381
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x25c]
push eax
push str._ls_ls_
push 0x46aa94
call fcn.00401f9d
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x418368
push str.Failed_to_append_bundle_id_on_to_temp_path_for_working_folder.
jmp 0x418381
mov eax, dword [0x46aa94]
push 0
push eax
push ebx
call fcn.0040221f
mov esi, eax
test esi, esi
jns 0x418389
push str.Failed_to_copy_working_folder_path.
push esi
call fcn.0044041e
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042dfc6
mov esp, ebp
pop ebp
ret 8
Function at 0x418cdd
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
mov eax, 0x20000004
push esi
push edi
mov edi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 8], ebx
je 0x418d6f
lea eax, [ebp - 4]
push eax
push 0x1a
call fcn.004181af
mov esi, eax
test esi, esi
jns 0x418d20
push str.Failed_to_allocate_administrator_SID.
push esi
call fcn.0044041e
mov edi, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x418d98
push 2
push 8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x418d67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x418d49
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x418d50
mov esi, 0x80004005
push esi
push 0x5f1
push str.cache.cpp
call fcn.00403858
push str.Failed_to_initialize_ACL.
jmp 0x418d13
mov edi, dword [ebp - 4]
mov eax, 0x20000005
push 0x7d0
push 3
push ebx
lea ecx, [ebp - 0xc]
push ecx
push ebx
push edi
push eax
push 1
push dword [ebp + 0xc]
call fcn.004457e3
push 0x80
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x418da2
push edi
call fcn.00403a21
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x419a34
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x46a008]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x250
push eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x254]
push eax
call fcn.0042f8b0
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push str..unverified
push dword [ebp + 8]
call fcn.0041a27e
test eax, eax
js 0x419a95
push 7
push dword [ebp - 0x258]
call fcn.00403c50
cmp dword [ebp + 8], 0
jne 0x419b7c
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 0xc]
call fcn.0041825a
test eax, eax
js 0x419b7c
lea eax, [ebp - 0x260]
push eax
push 0x44b840
push dword [ebp - 0x258]
call fcn.00402deb
test eax, eax
js 0x419b7c
push esi
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x419b7b
test byte [ebp - 0x254], 0x10
jne 0x419b62
xor eax, eax
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jbe 0x419b3a
push 0x2e
pop ecx
cmp cx, word [ebp + eax*2 - 0x22c]
jne 0x419b3a
movzx eax, word [ebp + eax*2 - 0x22a]
push 0x52
pop ecx
cmp cx, ax
je 0x419b62
push 0x72
pop ecx
cmp cx, ax
je 0x419b62
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x258]
call fcn.00402deb
test eax, eax
js 0x419b62
push dword [ebp - 0x25c]
call fcn.00444300
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x419af4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
cmp dword [ebp - 0x25c], 0
je 0x419b90
push dword [ebp - 0x25c]
call fcn.004026e8
cmp dword [ebp - 0x260], 0
je 0x419ba4
push dword [ebp - 0x260]
call fcn.004026e8
cmp dword [ebp - 0x258], 0
je 0x419bb8
push dword [ebp - 0x258]
call fcn.004026e8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042dfc6
mov esp, ebp
pop ebp
ret 8
Function at 0x41d136
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x2c
xor ebx, ebx
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.0042f8b0
push 0x2c
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.0042f8b0
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x34], ecx
xor ecx, ecx
push ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x60]
push eax
push 0x41ac2e
push ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x20]
push ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x41d21d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41d1f7
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41d1fe
mov esi, 0x80004005
push esi
push 0x461
push str.elevation.cpp
call fcn.00403858
push str.Failed_to_create_elevated_cache_thread.
push esi
call fcn.0044041e
pop ecx
pop ecx
jmp 0x41d267
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x41c6b4
push dword [ebp + 0xc]
call fcn.0041514b
mov esi, eax
test esi, esi
jns 0x41d247
push str.Failed_to_pump_messages_in_child_process.
push esi
call fcn.0044041e
pop ecx
pop ecx
jmp 0x41d260
push dword [ebp - 8]
push edi
call fcn.0041ce10
mov ecx, dword [ebp + 0x38]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
Function at 0x41e52e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41e596
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41e573
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41e57a
mov esi, 0x80004005
push esi
push 0x39
push str.splashscreen.cpp
call fcn.00403858
push str.Failed_to_create_modal_event.
push esi
call fcn.0044041e
pop ecx
pop ecx
jmp 0x41e609
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0x41e2b1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
test eax, eax
jne 0x41e5fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41e5df
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41e5e6
mov esi, 0x80004005
push esi
push 0x42
push str.splashscreen.cpp
call fcn.00403858
push str.Failed_to_create_UI_thread.
jmp 0x41e58c
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], edi
je 0x41e61c
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 0xc], edi
je 0x41e626
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e966
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
lea edi, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 8], ebx
stosd dword es:[edi], eax
mov esi, ebx
push ebx
push ebx
push 1
stosd dword es:[edi], eax
push ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x41e9d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41e9aa
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41e9b1
mov esi, 0x80004005
push esi
push 0x33
push str.uithread.cpp
call fcn.00403858
push str.Failed_to_create_initialization_event.
push esi
call fcn.0044041e
mov eax, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x41ea48
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 0x41e69d
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 0x41ea2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41ea10
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41ea17
mov esi, 0x80004005
push esi
push 0x3c
push str.uithread.cpp
call fcn.00403858
push str.Failed_to_create_the_UI_thread.
jmp 0x41e9c3
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 + 0x3e4], eax
mov eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41ea58
push eax
call edi
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x41ea62
push dword [ebp - 8]
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x421603
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.0040221f
mov esi, eax
test esi, esi
jns 0x42162f
push str.Failed_to_copy_file_name.
jmp 0x42171b
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x24], eax
test eax, eax
jne 0x42167b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42165a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x421661
mov esi, 0x80004005
push esi
push 0x8c
push str.cabextract.cpp
call fcn.00403858
push str.Failed_to_create_begin_operation_event.
jmp 0x42171b
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x28], eax
test eax, eax
jne 0x4216be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4216a0
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4216a7
mov esi, 0x80004005
push esi
push 0x8f
push str.cabextract.cpp
call fcn.00403858
push str.Failed_to_create_operation_complete_event.
jmp 0x42171b
push ebx
push ebx
push edi
push 0x420fbe
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x42170a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4216ec
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4216f3
mov esi, 0x80004005
push esi
push 0x93
push str.cabextract.cpp
call fcn.00403858
push str.Failed_to_create_extraction_thread.
jmp 0x42171b
push edi
call fcn.004213a3
mov esi, eax
test esi, esi
jns 0x421723
push str.Failed_to_wait_for_operation_complete.
push esi
call fcn.0044041e
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x426abe
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46a008]
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 0x426b2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x426b07
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x426b0e
mov esi, 0x80004005
push esi
push 0x1fc
push str.msuengine.cpp
call fcn.00403858
push str.Failed_to_stop_wusa_service.
push esi
call fcn.0044041e
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042dfc6
mov esp, ebp
pop ebp
ret 4
Function at 0x429b53
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov eax, dword [ebx + 4]
mov edi, 0x44b534
mov dword [ebp - 4], esi
test eax, eax
je 0x429b72
mov edx, dword [eax]
jmp 0x429b7f
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x429b7d
mov edx, dword [ecx]
jmp 0x429b7f
mov edx, edi
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x429b88
mov edi, dword [ecx]
test eax, eax
je 0x429b9a
xor eax, eax
test ecx, ecx
setne al
add eax, 0x20000150
jmp 0x429ba9
mov eax, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [ebp + 0xc]
push str.copy
push edi
push edx
push eax
push 2
call fcn.0040558c
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push edi
call fcn.004445ed
test eax, eax
je 0x429c27
mov eax, dword [ebp - 4]
test al, 1
je 0x429c27
and eax, 0xfffffffe
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x429c27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x429bff
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x429c06
mov esi, 0x80004005
push esi
push 0x538
push str.apply.cpp
call fcn.00403858
push edi
push str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
push esi
call fcn.0044041e
add esp, 0xc
jmp 0x429ca5
push esi
lea eax, [ebx + 0x20]
push eax
push ebx
push fcn.00429a38
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x429ca5
cmp dword [ebx + 0x20], esi
je 0x429c65
mov esi, 0x80070642
push esi
push 0x542
push str.apply.cpp
call fcn.00403858
push edi
push dword [ebp + 0xc]
push str.BA_aborted_copy_of_payload_from:__ls_to:__ls.
jmp 0x429c9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x429c7c
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x429c83
mov esi, 0x80004005
push esi
push 0x546
push str.apply.cpp
call fcn.00403858
push edi
push dword [ebp + 0xc]
push str.Failed_attempt_to_copy_payload_from:__ls_to:__ls.
push esi
call fcn.0044041e
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431996
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x460e18
push str.FlsAlloc
push 0
call fcn.00431916
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4319c8
push dword [ebp + 8]
mov ecx, esi
call fcn.0042ea52
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x431a0a
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x460e48
push str.FlsSetValue
push 3
call fcn.00431916
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x431a3e
mov ecx, esi
call fcn.0042ea52
call esi
jmp 0x431a44
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x43fc4b
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.0044a1d0
mov eax, dword [0x46a008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1014], eax
xor eax, eax
push 0x1000
push eax
mov esi, eax
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x1008], eax
mov dword [ebp - 0x100c], eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0042f8b0
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0xf0000040
push dword [ebp + 0xc]
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x43fce3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fcd1
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fcd8
mov esi, 0x80004005
push esi
push 0xd3
jmp 0x43fd9a
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43fd56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd18
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd1f
mov esi, 0x80004005
push esi
push 0xd9
jmp 0x43fd9a
push 0
cmp dword [ebp - 0x100c], esi
je 0x43fe0b
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43fde5
push 0
lea eax, [ebp - 0x100c]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43fd27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd8d
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd94
mov esi, 0x80004005
push esi
push 0xe1
push str.cryputil.cpp
call fcn.00403858
cmp dword [ebp - 0x1008], 0
je 0x43fdb9
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x1010], 0
je 0x43fdd0
push 0
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042dfc6
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fdfc
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fe03
mov esi, 0x80004005
push esi
push 0xec
jmp 0x43fd9a
lea eax, [ebp + 0x18]
push eax
push dword [ebp - 0x1014]
push 2
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x43fe50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fe3e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fe45
mov esi, 0x80004005
push esi
push 0xf3
jmp 0x43fd9a
test ebx, ebx
je 0x43fda4
push 1
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x43fda4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fe85
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fe8c
mov esi, 0x80004005
push esi
push 0xfa
jmp 0x43fd9a