joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d604
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
push 0x3c
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.005683c0
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
mov dword [ebp - 4], edi
call fcn.0045b30a
add esp, 0x10
cmp dword [ebp - 8], 1
jne 0x45d63f
push dword [ebp + 8]
call fcn.0045d6b7
pop ecx
jmp 0x45d6b3
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004923af
mov eax, dword [ebp - 4]
or dword [ebp - 0x40], 0x100
pop ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
pop ecx
push eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], 0x59c464
mov dword [ebp - 0x28], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.004917e1
pop ecx
test esi, esi
jne 0x45d6b0
call sub.KERNEL32.dll_GetLastError
push eax
push dword [ebp + 8]
push str.Platform_ShellOpen
push str._s_failed_to_execute___s___LE:__d__n
push edi
push 0xa21
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push edi
call fcn.00454bd5
add esp, 0x20
xor eax, eax
jmp 0x45d6b3
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x45dcc6
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
mov dword [ebp + 0x14], esi
mov dword [ebp + 8], esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp + 0xc], esi
test ecx, ecx
je 0x45dd52
test edi, edi
je 0x45dd52
lea eax, [ebp + 8]
push eax
push ecx
call fcn.004923af
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.004923af
add esp, 0x10
xor eax, eax
xor edi, edi
inc edi
cmp dword [ebp + 0x10], edi
sete al
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45bddc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
lea eax, [ebp + 8]
push eax
cmovne esi, edi
call fcn.004917e1
lea eax, [ebp + 0xc]
push eax
call fcn.004917e1
pop ecx
pop ecx
mov eax, esi
jmp 0x45dd54
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x45ddec
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x45de12
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 1
push eax
push 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
leave
ret
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.004923af
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x45de48
push dword [ebp + 0xc]
call fcn.0046b8a6
pop ecx
test eax, eax
je 0x45de48
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
lea eax, [ebp - 8]
push eax
call fcn.004917e1
pop ecx
mov eax, esi
pop esi
leave
ret
Function at 0x45e7a3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 0xc]
call fcn.004927c7
pop ecx
pop ecx
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00491c72
lea eax, [ebp - 4]
push eax
call fcn.004917e1
add esp, 0x10
test esi, esi
pop esi
jne 0x45e7eb
xor eax, eax
leave
ret
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046ae60
xor eax, eax
add esp, 0xc
inc eax
leave
ret

Function at 0x45e838
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x30], esi
test ebx, ebx
je 0x45e8c4
mov dword [ebx], esi
test edx, edx
je 0x45e890
push edi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
push 0x28
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
pop edi
test eax, eax
je 0x45e88c
push ebx
push dword [ebp - 0xc]
inc esi
call fcn.0045f387
pop ecx
pop ecx
mov eax, esi
jmp 0x45e8c6
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.004923af
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.004917e1
pop ecx
cmp esi, 0xffffffff
je 0x45e8c4
push ebx
push esi
call fcn.0045f387
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x45e8c6
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
Function at 0x45e8d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x40], eax
lea edi, [ebp - 0x2c]
mov eax, dword [ebp + 0x18]
xor esi, esi
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
push 0xa
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
pop ecx
rep stosd dword es:[edi], eax
mov edi, esi
test ebx, ebx
je 0x45e92c
inc edi
cmp dword [ebp + 0x10], edi
je 0x45e98c
push ebx
call fcn.0057086a
mov ebx, eax
mov eax, esi
jmp 0x45e988
lea eax, [ebp - 0x30]
push eax
push edx
call fcn.004923af
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45e950
test al, 0x10
mov eax, 0x2000000
cmovne edi, eax
push esi
or edi, 0x80
push edi
push 3
push esi
push 3
push 0x80000000
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x30]
push eax
call fcn.004917e1
mov eax, dword [ebp - 0x3c]
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov edx, dword [ebp - 0x34]
pop ecx
cmp ebx, 0xffffffff
jne 0x45e9b0
push eax
push edx
push str.Unable_to_open_file_to_get_file_time___s___d___n
push esi
push 0x38f
push str.C:_actions_runner_workclientclientcorewindowsplatform.c
push esi
call fcn.00454bd5
add esp, 0x1c
xor eax, eax
jmp 0x45ea14
push 0x28
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
cmovne esi, edi
cmp dword [ebp - 0x38], edi
jne 0x45e9cf
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
jne 0x45ea12
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45e9e8
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045f3f3
pop ecx
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x45e9fd
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045f3f3
pop ecx
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x45ea12
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045f3f3
pop ecx
pop ecx
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
Function at 0x45ea48
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor ecx, ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
test edi, edi
je 0x45ebbc
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x45ea85
push str.Pointer_is_NULL_n
push 0x408
jmp 0x45ebc6
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45ea91
mov dword [esi], ecx
mov dword [esi + 4], ecx
xor ecx, ecx
inc ecx
mov dword [edi], ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0046bedb
pop ecx
cmp eax, 1
lea eax, [ebp - 4]
pop ecx
push eax
jne 0x45ead1
mov eax, dword [ebp - 8]
sub eax, ebx
inc eax
push eax
push ebx
call fcn.004923cd
mov ecx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebp - 4]
sub ecx, ebx
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x45ead9
push ebx
call fcn.004923af
pop ecx
pop ecx
xor eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 1
je 0x45eb72
xor esi, esi
cmp eax, 2
je 0x45eb10
cmp eax, 3
jne 0x45eb6f
mov eax, dword [ebp - 4]
cmp word [eax], si
je 0x45eb6f
push eax
call fcn.0049211f
mov ecx, dword [ebp - 4]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
lea eax, [ebp + 0x10]
push eax
push 0x5c
push dword [ebp - 4]
call fcn.00492023
add esp, 0x10
test eax, eax
je 0x45eb6f
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], esi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 1
jne 0x45eb06
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.004917e1
xor eax, eax
inc eax
pop ecx
cmp ebx, eax
pop ebx
jne 0x45ebaf
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
test esi, esi
je 0x45ebb8
mov eax, dword [edi]
imul edx
push 0
push dword [ebp - 0x14]
push edx
push eax
call fcn.00566b40
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edx
inc eax
jmp 0x45ebb8
mov ecx, dword [ebp + 0x14]
mov dword [edi], eax
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
leave
ret
push str.Pointer_is_NULL_n
push 0x407
push str.C:_actions_runner_workclientclientcorewindowsplatform.c
call fcn.00453f4f
int3
Function at 0x45ee9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push edi
xor ebx, ebx
push 0x38
push ebx
push eax
mov dword [ebp - 0x40], ebx
call fcn.005683c0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
push edi
mov byte [esi], bl
call fcn.004927c7
add esp, 0x14
push dword [ebp - 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
push dword [ebp - 0x40]
push esi
call fcn.00491c72
lea eax, [ebp - 0x40]
push eax
call fcn.004917e1
push ebx
push edi
push esi
call fcn.0046ae60
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.0045faf9
add esp, 0x24
test eax, eax
jne 0x45ef45
push esi
call fcn.0045dd58
pop ecx
test eax, eax
jne 0x45ef45
push edi
push esi
call fcn.0045a086
push edi
push str.Temp
push esi
call fcn.0046e97a
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.0045faf9
add esp, 0x1c
test eax, eax
jne 0x45ef45
push esi
call fcn.0045dd58
pop ecx
test eax, eax
je 0x45ef54
push 1
push edi
push esi
call fcn.0046ae60
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret

Function at 0x45ef63
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x284]
push 0x280
push 0
push eax
call fcn.005683c0
add esp, 0xc
lea eax, [ebp - 0x284]
push 0x140
push eax
push 0x5a
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
push dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x284]
push eax
push edi
call fcn.00491c72
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
test esi, esi
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.00565e42
leave
ret

Function at 0x45efd1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x284]
push 0x280
push 0
push eax
call fcn.005683c0
add esp, 0xc
lea eax, [ebp - 0x284]
push 0x140
push eax
push 0x59
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
push dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x284]
push eax
push edi
call fcn.00491c72
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
test esi, esi
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.00565e42
leave
ret
Function at 0x45f20f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0xf4]
push 0x78
push edi
push eax
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], edi
call fcn.005683c0
push 0x78
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.005683c0
push 0x775
mov esi, str.C:_actions_runner_workclientclientcorewindowsplatform.c
push esi
push 2
push 0x194
call fcn.004554a5
mov ecx, dword [0x5ea42c]
add esp, 0x28
mov dword [0x5f0b3c], eax
mov dword [eax], ecx
call fcn.0045af99
mov eax, dword [0x5f0b3c]
mov ebx, 0x202
add eax, 4
push eax
push ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x45f357
mov eax, dword [0x5f0b3c]
movzx eax, word [eax + 4]
cmp ax, bx
jne 0x45f374
lea eax, [ebp - 0xf4]
push 0x78
push eax
call fcn.0045ecae
lea eax, [ebp - 0x7c]
push 0x78
push eax
call fcn.0045ab17
lea eax, [ebp - 0xf8]
push eax
call fcn.0045ee40
push dword [ebp - 0xf8]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xf4]
push eax
push str.System:__s__s__dbit_n
push edi
push 0x783
push esi
push 2
call fcn.00454bd5
lea eax, [ebp - 0xfc]
push eax
call fcn.0045b30a
cmp dword [ebp - 0xfc], 1
mov ecx, 0x59d5a0
mov eax, 0x59d598
cmovne eax, ecx
push eax
push str.Elevated:__s_n
push edi
push 0x785
push esi
push 2
call fcn.00454bd5
add esp, 0x50
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.Process_Id:__d_n
push edi
push 0x786
push esi
push 2
call fcn.00454bd5
mov ecx, dword [ebp - 4]
add esp, 0x18
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
pop ebx
call fcn.00565e42
leave
ret
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0046016e
pop ecx
push eax
push str.WSAStartup_failed___s__n
push 0x77b
push esi
call fcn.00453f4f
push ebx
push eax
push str.Wrong_Winsock_version___d____d__n
push 0x77e
push esi
call fcn.00453f4f
int3
Function at 0x45f4e5
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e4
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp + 0x10]
push 0x140
mov dword [ebp - 0x3e0], eax
lea eax, [ebp - 0x144]
push esi
push eax
call fcn.005683c0
push 0x28f
lea eax, [ebp - 0x3d3]
push esi
push eax
call fcn.005683c0
mov ebx, dword [ebp + 0x14]
xor edx, edx
mov ecx, ebx
mov dword [ebp - 0x3d8], esi
inc edx
mov dword [ebp - 0x3dc], esi
add esp, 0x18
and ecx, edx
jne 0x45f5d5
test edi, edi
je 0x45f5d5
push dword [ebp - 0x3e0]
lea eax, [ebp - 0x144]
push 0x59d2f0
push 0x140
push eax
call fcn.00471d74
shr ebx, 1
lea eax, [ebp - 0x144]
and bl, 1
push eax
mov byte [ebp - 0x3d4], bl
call fcn.0056cb00
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x3c8]
push eax
call fcn.00492329
lea eax, [ebp - 0x3c8]
push eax
call fcn.0049211f
add esp, 0x24
add eax, eax
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x3d4]
push 0x10
push eax
push 3
push edi
call dword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
test eax, eax
push 1
pop eax
cmovne esi, eax
mov eax, esi
jmp 0x45f649
add ecx, ecx
lea eax, [ebp - 0x3d8]
mov esi, ecx
or esi, edx
test bl, 2
push eax
push dword [ebp - 0x3e4]
cmove esi, ecx
call fcn.004923af
lea eax, [ebp - 0x3dc]
push eax
push dword [ebp - 0x3e0]
call fcn.004923af
add esp, 0x10
mov eax, esi
or eax, 8
test bl, 4
cmove eax, esi
push eax
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
lea eax, [ebp - 0x3d8]
push eax
call fcn.004917e1
lea eax, [ebp - 0x3dc]
push eax
call fcn.004917e1
xor eax, eax
test esi, esi
pop ecx
pop ecx
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
Function at 0x45f7fd
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x30], esi
test ebx, ebx
je 0x45f892
push edi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
push 0x28
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
pop edi
test eax, eax
je 0x45f88e
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
test cl, 1
je 0x45f84c
or eax, 1
jmp 0x45f84f
and eax, 0xfffffffe
test cl, 2
je 0x45f859
or eax, 2
jmp 0x45f85c
and eax, 0xfffffffd
test cl, 4
je 0x45f866
or eax, 4
jmp 0x45f869
and eax, 0xfffffffb
test cl, 0x10
je 0x45f873
or eax, 0x10
jmp 0x45f876
and eax, 0xffffffef
push 0x28
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
neg eax
sbb esi, esi
and esi, 1
mov eax, esi
jmp 0x45f8bd
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.004923af
pop ecx
pop ecx
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.004917e1
xor eax, eax
test esi, esi
pop ecx
setne al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret

Function at 0x45fdc3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x45fe44
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x45fde3
push str.Pointer_is_NULL_n
push 0x658
jmp 0x45fe4e
and dword [esi], 0
and dword [edi], 0
push 0x65d
push str.C:_actions_runner_workclientclientcorewindowsplatform.c
push 2
push 0xc
call fcn.004554a5
mov ecx, dword [0x5ea428]
mov ebx, eax
push edi
xor eax, eax
push eax
push dword [ebp + 0xc]
mov dword [ebx], ecx
push dword [ebp + 8]
push eax
push eax
call fcn.0057162f
add esp, 0x28
mov dword [ebx + 8], eax
test eax, eax
jne 0x45fe3a
push 0x662
push str.C:_actions_runner_workclientclientcorewindowsplatform.c
push 0xc
push ebx
call fcn.0045591c
add esp, 0x10
xor eax, eax
jmp 0x45fe3f
xor eax, eax
mov dword [esi], ebx
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret
push str.Pointer_is_NULL_n
push 0x657
push str.C:_actions_runner_workclientclientcorewindowsplatform.c
call fcn.00453f4f
int3
Function at 0x461b75
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x14
xor edx, edx
test ecx, ecx
je 0x461ce0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x461b9e
push str.Pointer_is_NULL_n
push 0x36
jmp 0x461ce7
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x461bb1
push str.Pointer_is_NULL_n
push 0x37
jmp 0x461ce7
and dword [eax], edx
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
test ebx, ebx
jle 0x461cc9
push 2
pop eax
mov dword [ebp - 8], eax
mov esi, eax
lea eax, [ecx + 2]
not ecx
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], ecx
cmp esi, dword [ebp + 0x14]
jg 0x461cc3
mov bl, byte [eax - 2]
add ecx, eax
mov byte [ebp - 3], bl
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
jge 0x461c02
mov al, byte [eax - 1]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], ebx
jge 0x461c0e
mov al, byte [eax]
mov byte [ebp - 2], al
jmp 0x461c11
mov al, byte [ebp - 2]
mov cl, byte [ebp - 3]
and al, 0x3f
mov byte [ebp - 4], al
add esi, 2
movzx eax, cl
and cl, 3
shr eax, 2
shl cl, 4
movzx ecx, cl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + edi], al
movzx eax, byte [ebp - 1]
shr eax, 4
or ecx, eax
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + edi + 1], al
add edx, 2
cmp dword [ebp - 0x14], ebx
jge 0x461c73
cmp edx, dword [ebp + 0x14]
jge 0x461cc3
mov al, byte [ebp - 1]
and al, 0xf
shl al, 2
movzx ecx, al
movzx eax, byte [ebp - 2]
shr eax, 6
or ecx, eax
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + edi], al
jmp 0x461c7c
cmp edx, dword [ebp + 0x14]
jge 0x461c7e
mov byte [edx + edi], 0x3d
inc edx
inc esi
cmp dword [ebp - 8], ebx
jge 0x461c97
cmp edx, dword [ebp + 0x14]
jge 0x461cc3
movzx eax, byte [ebp - 4]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + edi], al
jmp 0x461ca0
cmp edx, dword [ebp + 0x14]
jge 0x461ca2
mov byte [edx + edi], 0x3d
inc edx
inc esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, 3
add dword [ebp - 8], 3
add eax, 3
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jl 0x461bd6
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
cmp edx, dword [ebp + 0x14]
jge 0x461cd4
mov byte [edx + edi], 0
xor eax, eax
cmp esi, ebx
pop edi
pop esi
setge al
pop ebx
leave
ret
push str.Pointer_is_NULL_n
push 0x35
push str.C:_actions_runner_workclientclientcore_base64.c
call fcn.00453f4f
int3
Function at 0x469263
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x46934c
mov eax, dword [0x5eaa98]
cmp dword [edi + 0x24], eax
jne 0x469333
cmp dword [ebp + 0xc], 0
jne 0x469296
push str.Pointer_is_NULL_n
push 0x13c
jmp 0x469356
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x4692ac
push str.Pointer_is_NULL_n
push 0x13d
jmp 0x469356
lea eax, [edi + 0x54]
push eax
call fcn.004a2ec6
and dword [ebx], 0
mov eax, dword [edi + 0x218]
pop ecx
push dword [ebp + 0x10]
test eax, eax
jne 0x4692e6
lea eax, [edi + 0xd0]
push eax
push str.read
push str.No_file_handle_is_open___cannot__s___s____d_
push edi
call fcn.00469226
add esp, 0x14
xor eax, eax
pop edi
pop ebx
pop ebp
ret
push dword [ebp + 0xc]
push eax
call fcn.00571baa
add esp, 0xc
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x469302
test eax, eax
je 0x46932e
xor eax, eax
inc eax
jmp 0x4692e2
push esi
call sub.KERNEL32.dll_GetLastError
mov esi, eax
lea eax, [edi + 0x54]
push esi
push eax
call fcn.004a3255
push esi
push dword [ebp + 0x10]
lea eax, [edi + 0xd0]
push eax
push str.Failed_to_read___s___d__Err:__d_
push edi
call fcn.00469226
add esp, 0x1c
pop esi
and dword [ebx], 0
jmp 0x4692e0
push dword [edi + 0x24]
push eax
push edi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0x13a
push str.C:_actions_runner_workclientclientcore_file.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0x13a
push str.C:_actions_runner_workclientclientcore_file.c
call fcn.00453f4f
int3