joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ef07
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 0x41ef6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41ef4c
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41ef53
mov esi, 0x80004005
push esi
push 0x3a
push str.c:_agent_work18_swix_src_burnengine_splashscreen.cpp
call fcn.00403953
push str.Failed_to_create_modal_event.
push esi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x41efe2
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 0x41ec90
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
test eax, eax
jne 0x41efd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41efb8
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41efbf
mov esi, 0x80004005
push esi
push 0x43
push str.c:_agent_work18_swix_src_burnengine_splashscreen.cpp
call fcn.00403953
push str.Failed_to_create_UI_thread.
jmp 0x41ef65
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [ebp - 8], edi
je 0x41eff3
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], edi
cmp dword [ebp - 0xc], 0
pop edi
pop esi
je 0x41f004
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 0xc
Function at 0x41f364
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 0x41f3ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41f3a8
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41f3af
mov esi, 0x80004005
push esi
push 0x33
push str.c:_agent_work18_swix_src_burnengineuithread.cpp
call fcn.00403953
push str.Failed_to_create_initialization_event.
push esi
call fcn.0044466b
mov eax, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x41f446
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 0x41f080
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 0x41f429
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41f40e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41f415
mov esi, 0x80004005
push esi
push 0x3c
push str.c:_agent_work18_swix_src_burnengineuithread.cpp
call fcn.00403953
push str.Failed_to_create_the_UI_thread.
jmp 0x41f3c1
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 + 0x3f4], eax
mov eax, ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x41f454
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x41f462
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 0x4221b3
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.00402315
mov esi, eax
test esi, esi
jns 0x4221df
push str.Failed_to_copy_file_name.
jmp 0x4222cd
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x24], eax
test eax, eax
jne 0x422229
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x422208
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42220f
mov esi, 0x80004005
push esi
push 0x8c
push str.c:_agent_work18_swix_src_burnenginecabextract.cpp
call fcn.00403953
push str.Failed_to_create_begin_operation_event.
jmp 0x4222cd
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x28], eax
test eax, eax
jne 0x422270
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x422252
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x422259
mov esi, 0x80004005
push esi
push 0x8f
push str.c:_agent_work18_swix_src_burnenginecabextract.cpp
call fcn.00403953
push str.Failed_to_create_operation_complete_event.
jmp 0x4222cd
push ebx
push ebx
push edi
push 0x421b70
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x4222bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42229e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4222a5
mov esi, 0x80004005
push esi
push 0x93
push str.c:_agent_work18_swix_src_burnenginecabextract.cpp
call fcn.00403953
push str.Failed_to_create_extraction_thread.
jmp 0x4222cd
push edi
call fcn.00421f56
mov esi, eax
test esi, esi
jns 0x4222d5
push str.Failed_to_wait_for_operation_complete.
push esi
call fcn.0044466b
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4277e2
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x470008]
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 0x42784f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42782b
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x427832
mov esi, 0x80004005
push esi
push 0x1fc
push str.c:_agent_work18_swix_src_burnenginemsuengine.cpp
call fcn.00403953
push str.Failed_to_stop_wusa_service.
push esi
call fcn.0044466b
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042f1b3
leave
ret 4
Function at 0x43b3d4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x470008]
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 0x43b41f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043b573
test al, al
jne 0x43b419
sub edx, 2
cmp edx, edi
jne 0x43b3ff
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x43b441
lea eax, [edi + 2]
cmp edx, eax
je 0x43b441
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043b320
add esp, 0x10
jmp 0x43b53b
push esi
lea ecx, [ebp - 0x255]
call fcn.0043b573
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 0x43b484
push dword [ebp - 0x25c]
jmp 0x43b431
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 0x43b4c1
cmp word [ebp - 0x226], 0
je 0x43b4e2
cmp word [ebp - 0x226], ax
jne 0x43b4c1
cmp word [ebp - 0x224], 0
je 0x43b4e2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043b320
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43b52e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x43b49b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x43b516
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43b53b
push 0x43b150
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043fad0
add esp, 0x10
jmp 0x43b50b
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.0042f1b3
leave
ret

Function at 0x43cd49
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x468d4c
push 0x468d44
push str.FlsAlloc
push 0x1e
call fcn.0043cc86
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43cd7d
push dword [ebp + 8]
mov ecx, esi
call dword [0x4503dc]
call esi
jmp 0x43cd83
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43cdc7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x468d5c
push 0x468d54
push str.FlsGetValue
push 0x20
call fcn.0043cc86
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43cdfe
push dword [ebp + 8]
mov ecx, esi
call dword [0x4503dc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x43dba1
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
cld
mov esi, eax
sub edi, 0x2526d692
neg eax
mov edi, esp
not esi
call fcn.0042f86f
mov ecx, 0x37e362
xchg esi, edx
inc eax
rol esi, 0x1c
neg eax
shr esi, 0x19
rol edx, 0xa
ror ebx, 3
inc esi
ror eax, 2
xor dword [0x471ad4], ebx
add esi, dword [0x470018]
test eax, 0x1d70dbc
jo 0x43db5f
loop 0x43db78
not edx
call fcn.0042f9e0
mov ebx, edi
shl edx, 0xd
mov ecx, ebp
or ecx, 0x259375c
shl esi, 0x12
dec edx
mov esi, eax
mov ecx, 0xb66cc0
mov dword [0x4718ba], ebx
call fcn.0042f9e0
inc eax
shr esi, 0xb
mov dword [0x471810], edi
call fcn.0042f285
inc edx
neg edx
rol eax, 0xf
not eax
sub edi, dword [0x470125]
shr esi, 0x1f
loop 0x43dbc2
mov ecx, dword [0x470480]
sub esi, ecx
and esi, edi
dec esi
mov ebx, esi
shl eax, 6
loopne 0x43dc05
and esi, edi
xor esi, esp
mov esi, eax
xor ebx, ebp
mov ecx, 0x50c67
inc esi
sub esi, dword [0x4707cf]
inc ebx
xor dword [0x471a94], 0x5e3cf74
call fcn.004145c9
xchg eax, eax
test edi, ecx
jo 0x43dbac
neg esi
xchg eax, eax
rol eax, 0x18
sub dword [0x471abe], edx
xor esi, dword [0x4702a8]
loop 0x43dc0c
into
xor ecx, edx
rol eax, 0x15
and esi, 0x9a0626c
call fcn.00408f40
mov edx, ecx
add esi, eax
sub ebx, edi
mov esi, eax
not ebx
mov edx, ebx
sub esi, eax
rol esi, 0x10
test eax, edx
jo 0x43dc3d
dec eax
add eax, esi
test esp, esi
jb 0x43dcc9
ror ebx, 9
xor edi, esp
add eax, 0x2ff54806
test ebx, eax
jo 0x43dbfd
push 0
not esi
xor ebx, edi
call fcn.0042f9e0
sub edx, edx
xor ecx, esp
Function at 0x4440cc
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push 0x471628
push str.AdvApi32.dll
call fcn.00403956
mov esi, eax
test esi, esi
js 0x444110
push str.SystemFunction040
push dword [0x471628]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SystemFunction041
push dword [0x471628]
mov dword [0x471618], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x47161c], eax
jmp 0x444115
mov eax, dword [0x47161c]
cmp dword [0x471618], 0
je 0x444126
test eax, eax
jne 0x4441d5
push 0x47162c
push str.Crypt32.dll
call fcn.00403956
mov esi, eax
test esi, esi
js 0x4441df
push str.CryptProtectMemory
push dword [0x47162c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x471618], 0
mov dword [0x471620], eax
jne 0x44418f
test eax, eax
jne 0x44418f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444179
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444180
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work18_swix_srclibsdutilcryputil.cpp
call fcn.00403953
jmp 0x4441df
push str.CryptUnprotectMemory
push dword [0x47162c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x47161c], 0
mov dword [0x471624], eax
jne 0x4441d5
test eax, eax
jne 0x4441d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4441c9
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4441d0
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x444183
mov dword [0x471630], 1
mov eax, esi
pop esi
ret
Function at 0x444728
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x470008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [str.unknown]
mov eax, 0x104
push edi
push eax
mov dword [ebp - 0x424], eax
xor ebx, ebx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x420], ebx
push eax
push ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, 0x208
test eax, eax
jne 0x44478c
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00430b10
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00449869
test eax, eax
jns 0x4447b6
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4447dc
lea eax, [ebp - 0x414]
mov byte [eax], bl
inc eax
sub edi, 1
jne 0x4447d4
push ebx
lea eax, [ebp - 0x418]
push eax
call fcn.0044d7e0
push dword [ebp - 0x418]
push str._Logging_started:__ls_
push 2
pop edi
push edi
call fcn.00444b52
mov ecx, dword [ebp - 0x41c]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x420]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push eax
push str.Executable:__ls_v_d._d._d._d
push edi
call fcn.00444b52
lea eax, [ebp - 0x414]
push eax
push str.Computer__:__ls
push edi
call fcn.00444b52
mov eax, dword [0x470878]
add esp, 0x34
sub eax, ebx
je 0x44487d
sub eax, 1
je 0x444875
sub eax, 1
je 0x44486d
sub eax, 1
je 0x444865
sub eax, 1
jne 0x444883
mov esi, dword [str.debug]
jmp 0x444883
mov esi, dword [str.verbose]
jmp 0x444883
mov esi, dword [str.standard]
jmp 0x444883
mov esi, dword [str.warning]
jmp 0x444883
mov esi, dword [str.none]
push esi
push str.____logging_level:__hs____
push edi
call fcn.00444b52
add esp, 0xc
cmp dword [ebp - 0x418], 0
pop edi
pop esi
pop ebx
je 0x4448a9
push dword [ebp - 0x418]
call fcn.004027da
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042f1b3
leave
ret

Function at 0x444b90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
xor edi, edi
and dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x470874]
mov ebx, eax
cmp ecx, 0xffffffff
jne 0x444bcc
push edi
push dword [ebp + 8]
push 0x471640
call fcn.004024f5
mov esi, eax
test esi, esi
js 0x444c24
xor esi, esi
jmp 0x444c24
test ebx, ebx
je 0x444c24
push 0
lea eax, [ebp - 4]
push eax
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x444c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444c03
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444c14
add edi, dword [ebp - 4]
cmp edi, ebx
jae 0x444c24
mov ecx, dword [0x470874]
jmp 0x444bd0
push esi
push 0x310
push str.c:_agent_work18_swix_srclibsdutillogutil.cpp
call fcn.00403953
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x444d64
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.00430b10
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 0x444d96
mov eax, 0x4508e4
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push str.__ls___ls
push eax
call fcn.00402099
mov esi, eax
add esp, 0x10
test esi, esi
js 0x444e19
mov cx, word [ebp + 0x10]
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 word [ebp - 0x28], cx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x444e0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444df5
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444dfc
mov esi, 0x80004005
push esi
push 0xcd
push str.c:_agent_work18_swix_srclibsdutilprocutil.cpp
call fcn.00403953
jmp 0x444e19
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [eax], ecx
cmp dword [ebp - 0x10], ebx
je 0x444e2a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x444e3b
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 4], ebx
je 0x444e48
push dword [ebp - 4]
call fcn.004027da
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4484b9
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x470008]
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.00448648
cmp dword [ebp - 0x14], ebx
je 0x4484f5
mov dword [esi], 1
jmp 0x448529
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 0x448529
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x448529
mov dword [esi], ebx
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x448539
push dword [ebp - 0x10]
call fcn.004027da
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042f1b3
leave
ret 4
Function at 0x448549
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x470008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push edi
mov edi, dword [ebp + 0xc]
push pe_nt_image_headers32
push 0
push eax
call fcn.00430b10
mov eax, dword [0x471714]
add esp, 0xc
test eax, eax
jne 0x44862f
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0xa]
shl ecx, 0x10
or ecx, eax
cmp dword [ebp - 0x11c], 4
mov dword [0x471718], ecx
jne 0x4485bf
xor eax, eax
inc eax
jmp 0x44862a
cmp dword [ebp - 0x11c], 5
jne 0x4485f0
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x4485d6
push 2
jmp 0x448629
cmp ecx, 1
jne 0x4485df
push 3
jmp 0x448629
xor eax, eax
cmp ecx, 2
setne al
dec eax
and eax, 0xfffffffb
add eax, 9
jmp 0x44862a
cmp dword [ebp - 0x11c], 6
jne 0x448627
cmp dword [ebp - 0x118], 0
jne 0x448610
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 5
jmp 0x44862a
cmp dword [ebp - 0x118], 1
jne 0x448627
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 7
jmp 0x44862a
push 9
pop eax
mov dword [0x471714], eax
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, dword [0x471718]
mov dword [edi], eax
pop edi
pop esi
call fcn.0042f1b3
leave
ret 8
Function at 0x448957
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0044f0d0
mov eax, dword [0x470008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x1010], eax
xor esi, esi
mov eax, dword [ebp + 0x18]
xor edi, edi
mov dword [ebp - 0x1014], edx
xor ebx, ebx
mov dword [ebp - 0x1018], eax
cmp dword [ebp + 0x10], 0
jne 0x4489a5
cmp dword [ebp + 0x14], 0
jne 0x4489a5
mov eax, 0x1000
jmp 0x4489d0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
sub eax, edi
sbb ecx, ebx
test ecx, ecx
jb 0x4489ca
ja 0x4489bc
cmp eax, 0x1000
jbe 0x4489ca
and dword [ebp - 0x1008], 0
mov eax, 0x1000
jmp 0x4489d0
mov dword [ebp - 0x1008], ecx
push 0
lea ecx, [ebp - 0x1008]
mov dword [ebp - 0x1008], eax
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x448a4b
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x448a1b
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1010]
call fcn.00449c34
mov esi, eax
test esi, esi
js 0x448a79
mov eax, dword [ebp - 0x1008]
add edi, eax
adc ebx, 0
cmp ebx, dword [ebp + 0x14]
ja 0x448a3a
jb 0x448a2c
cmp edi, dword [ebp + 0x10]
jae 0x448a3a
mov edx, dword [ebp - 0x1014]
test eax, eax
jne 0x448992
mov eax, dword [ebp - 0x1018]
test eax, eax
je 0x448a79
mov dword [eax], edi
mov dword [eax + 4], ebx
jmp 0x448a79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x448a62
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x448a69
mov esi, 0x80004005
push esi
push 0x40f
push str.c:_agent_work18_swix_srclibsdutil_fileutil.cpp
call fcn.00403953
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f1b3
leave
ret 0x14
Function at 0x448e25
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
sete al
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x448f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x448e6b
cmp eax, 0x50
je 0x448e63
cmp eax, 0xb7
jne 0x448e6b
xor esi, esi
inc esi
jmp 0x448f0c
cmp eax, 3
jne 0x448efb
movzx eax, word [edi]
mov ebx, esi
mov ecx, edi
test ax, ax
je 0x448ef4
push 0x5c
mov edx, eax
pop edi
cmp dx, di
jne 0x448e8c
mov ebx, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x448e85
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x448ef4
push esi
xor eax, eax
push edi
mov word [ebx], ax
call fcn.0040420a
mov esi, eax
push 0x5c
pop eax
mov word [ebx], ax
test esi, esi
js 0x448f0c
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x448f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x448ee0
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x448f0c
push esi
push 0x4d4
push str.c:_agent_work18_swix_srclibsdutil_fileutil.cpp
call fcn.00403953
jmp 0x448f0c
mov esi, 0x80070003
jmp 0x448f0c
test eax, eax
jg 0x448f03
mov esi, eax
jmp 0x448f0c
movzx esi, ax
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x448f66
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.00449255
test eax, eax
je 0x448fef
test byte [ebp - 4], 7
push edi
mov edi, 0x80070000
je 0x448fbc
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x448fbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x448fb2
movzx esi, si
or esi, edi
test esi, esi
jns 0x448fbc
push esi
push 0x644
jmp 0x448fe4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x448fee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x448fdc
movzx esi, si
or esi, edi
test esi, esi
jns 0x448fee
push esi
push 0x64a
push str.c:_agent_work18_swix_srclibsdutil_fileutil.cpp
call fcn.00403953
pop edi
mov eax, esi
pop esi
leave
ret 4