joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a53e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
cmp ecx, 7
jg 0x45a5ce
je 0x45a5c7
mov eax, ecx
sub eax, 1
je 0x45a5c0
sub eax, 1
je 0x45a5b9
sub eax, 1
je 0x45a5b2
sub eax, 1
je 0x45a58d
sub eax, 1
je 0x45a586
sub eax, 1
jne 0x45a6fe
push 5
jmp 0x45a651
push 0x28
jmp 0x45a651
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.ProgramW6432
call fcn.004598f4
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0046ae60
add esp, 0x18
jmp 0x45a6f7
push 0x26
jmp 0x45a651
push 0x16
jmp 0x45a651
push 0xb
jmp 0x45a651
mov esi, edi
jmp 0x45a652
mov eax, ecx
sub eax, 8
je 0x45a64f
sub eax, 1
je 0x45a64b
sub eax, 1
je 0x45a647
sub eax, 1
je 0x45a643
dec eax
sub eax, 1
je 0x45a613
sub eax, 0xc
jne 0x45a6fe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00459990
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0046ae60
add esp, 0x14
jmp 0x45a6f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0045a086
push dword [ebp + 0x10]
push str.Temp
push dword [ebp + 0xc]
call fcn.0046e97a
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0046ae60
add esp, 0x20
jmp 0x45a6f7
push 0x23
jmp 0x45a651
push 0x1a
jmp 0x45a651
push 0x1c
jmp 0x45a651
push 0x19
pop esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jns 0x45a680
push eax
push eax
push str.Unable_to_get_Malloc___d_:__.8X__n
push edi
push 0x318
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 3
call fcn.00454bd5
add esp, 0x1c
xor eax, eax
jmp 0x45a6fa
lea eax, [ebp - 8]
push eax
push esi
push edi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x45a69e
push eax
push eax
push str.Unable_to_get_special_folder___d_:__.8X__n
push edi
push 0x31d
jmp 0x45a66d
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call fcn.004927c7
pop ecx
pop ecx
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.00491c72
lea eax, [ebp - 4]
push eax
call fcn.004917e1
mov eax, dword [ebp - 0xc]
add esp, 0x10
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0046ae60
add esp, 0xc
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
push ecx
push str.Unsupported_directory__Type:__d_
push 0x314
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x45a93b
Capabilities:
Get common file path

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

Function at 0x45a9bf
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x40
push 0
push eax
call fcn.005683c0
add esp, 0xc
test esi, esi
je 0x45aa1e
and dword [esi], 0
lea eax, [ebp - 0x44]
and dword [esi + 4], 0
push eax
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x45aa11
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], ecx
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00565e42
leave
ret
push str.Pointer_is_NULL_n
push 0x3c9
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3

Function at 0x45aad1
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
and dword [ebp + 0xc], 0
push eax
push esi
mov dword [ebp - 4], esi
call fcn.004927c7
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00491c72
lea eax, [ebp + 0xc]
push eax
call fcn.004917e1
add esp, 0x10
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x45b365
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x60]
xor ebx, ebx
mov word [ebp - 0x54], 0x500
push eax
push 8
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], ebx
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45b402
lea eax, [ebp - 0x64]
push eax
push 0x4c
lea eax, [ebp - 0x50]
push eax
push 1
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x45b3f7
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x45b3f7
push dword [ebp - 0x5c]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x5c]
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor ebx, ebx
inc ebx
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret

Function at 0x45b5b6
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
and dword [ebp + 8], 0
push edi
mov edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], eax
test edx, edx
je 0x45b655
test edi, edi
je 0x45b655
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 8]
mov ecx, ebx
and ecx, 1
push esi
add ecx, ecx
mov esi, ecx
or esi, 8
test bl, 4
push eax
push edx
cmove esi, ecx
call fcn.004923af
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.004923af
add esp, 0x10
mov eax, esi
or eax, 1
test bl, 2
cmove eax, esi
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45bddc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
mov esi, eax
lea eax, [ebp + 8]
push eax
call fcn.004917e1
lea ecx, [ebp + 0xc]
push ecx
call fcn.004917e1
pop ecx
pop ecx
test esi, esi
pop esi
pop ebx
je 0x45b655
xor eax, eax
inc eax
jmp 0x45b657
xor eax, eax
pop edi
leave
ret

Function at 0x45b9be
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
xor ebx, ebx
push esi
inc ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x45b9f0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push edi
cmovne esi, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x45bb1e
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x314], 0
lea eax, [ebp - 0x310]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x318], ebx
call fcn.005683c0
mov eax, 0x104
xor esi, esi
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.005683c0
add esp, 0x18
test edi, edi
je 0x45bd50
mov eax, dword [0x5f0b2c]
xor ecx, ecx
mov byte [edi], cl
cmp dword [eax + 0x20], ecx
je 0x45bbf5
push ebx
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x31c], eax
test eax, eax
je 0x45bbf5
cmp eax, 0xffffffff
je 0x45bbf5
lea ecx, [ebp - 0x314]
mov dword [ebp - 0x314], 0x104
push ecx
lea ecx, [ebp - 0x310]
push ecx
push esi
push eax
mov eax, dword [0x5f0b2c]
call dword [eax + 0x20]
push 1
test eax, eax
pop eax
push dword [ebp + 0x10]
cmovne esi, eax
lea eax, [ebp - 0x310]
push eax
push edi
call fcn.00491c72
add esp, 0xc
push dword [ebp - 0x31c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x45bd3f
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x45bc4c
cmp ebx, 0xffffffff
je 0x45bc4c
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
push 1
test eax, eax
pop eax
push dword [ebp + 0x10]
cmovne esi, eax
lea eax, [ebp - 0x310]
push eax
push edi
call fcn.00491c72
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x45bd3f
push dword [ebp - 0x318]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x45bcbe
cmp ebx, 0xffffffff
je 0x45bcbe
push 0x104
lea eax, [ebp - 0x310]
push eax
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
push 1
pop eax
cmovne esi, eax
lea eax, [ebp - 0x310]
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00491c72
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00459b47
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x45bd3f
mov ecx, dword [0x5f0b2c]
cmp dword [ecx + 0x18], 0
je 0x45bd3f
mov eax, dword [ebp - 0x318]
mov ebx, 0x104
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x310]
push 0
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x328]
push 0xc
push eax
push 0x58
mov dword [ebp - 0x324], 0x1040000
call dword [ecx + 0x18]
test eax, eax
je 0x45bd10
push eax
call fcn.0045f9c0
pop ecx
test eax, eax
jne 0x45bd3f
push ebx
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00491c72
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00459b47
xor ecx, ecx
add esp, 0x18
inc ecx
cmp eax, ecx
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
push str.Pointer_is_NULL_n
push 0xd58
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x45c222
Capabilities:
Shutdown system

Disassembly:
push 2
call fcn.00457d2b
pop ecx
test eax, eax
jne 0x45c22f
ret
push 1
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
ret

Function at 0x45c4d4
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x45c6a5
mov eax, dword [0x5ea410]
cmp dword [esi], eax
jne 0x45c68d
push ebx
xor eax, eax
mov ebx, 0x140
push ebx
push eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x284]
push eax
call fcn.005683c0
push ebx
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.005683c0
add esp, 0x18
test edi, edi
jne 0x45c54b
push str.Pointer_is_NULL_n
push 0xf9f
jmp 0x45c6af
lea eax, [esi + 0x10]
cmp byte [eax], 0
je 0x45c564
push ebx
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0046f46a
add esp, 0xc
cmp byte [edi], 0
je 0x45c598
cmp byte [ebp - 0x144], 0
je 0x45c587
push ebx
lea eax, [ebp - 0x144]
push 0x59bce8
push eax
call fcn.0046e97a
add esp, 0xc
push ebx
lea eax, [ebp - 0x144]
push edi
push eax
call fcn.0046e97a
add esp, 0xc
push 1
lea eax, [ebp - 0x144]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 0x288]
push dword [esi + 8]
push eax
call fcn.0045ccc0
add esp, 0x14
cmp eax, 1
jne 0x45c5ff
jmp 0x45c5d5
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x288]
call fcn.0045c4d4
pop ecx
pop ecx
test eax, eax
je 0x45c5f2
push ebx
lea eax, [ebp - 0x284]
push eax
push 0
push dword [ebp - 0x288]
call fcn.0045c741
add esp, 0x10
cmp eax, 1
je 0x45c5bd
lea eax, [ebp - 0x288]
push eax
call fcn.0045c23e
pop ecx
mov eax, dword [0x5f0b2c]
pop ebx
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x45c63b
lea eax, [ebp - 0x28c]
push eax
push edi
call fcn.004923af
pop ecx
pop ecx
push dword [ebp - 0x28c]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
lea eax, [ebp - 0x28c]
push eax
call fcn.004917e1
pop ecx
jmp 0x45c651
push 0
push dword [esi + 8]
call fcn.0045d9f6
add esp, 4
push eax
push edi
push dword [esi + 4]
call ecx
mov esi, eax
test esi, esi
je 0x45c688
push esi
lea eax, [ebp - 0x144]
push eax
push str.Unable_to_delete_registry_key__s__0x_.8X__n
push 0
push 0xfbd
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 3
call fcn.00454bd5
add esp, 0x1c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00565e42
leave
ret
xor eax, eax
inc eax
jmp 0x45c67a
push dword [esi]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0xf98
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0xf98
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x45c741
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x45c7e2
mov eax, dword [0x5ea410]
cmp dword [esi], eax
jne 0x45c7ca
and dword [ebp + 8], 0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 4], edi
test ebx, ebx
jne 0x45c779
push str.Pointer_is_NULL_n
push 0xf64
jmp 0x45c7ec
lea eax, [ebp + 8]
mov byte [ebx], 0
push eax
push edi
call fcn.004927c7
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x45c7b4
push edi
push dword [ebp + 8]
push ebx
call fcn.00491c72
add esp, 0xc
lea eax, [ebp + 8]
push eax
call fcn.004917e1
pop ecx
xor eax, eax
test esi, esi
pop edi
pop esi
sete al
pop ebx
leave
ret
push dword [esi]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0xf5f
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0xf5f
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x45c7f7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x45c90d
mov eax, dword [0x5ea410]
cmp dword [esi], eax
jne 0x45c8f5
mov ecx, dword [ebp + 0x1c]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
mov dword [ebp + 8], edx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc], edi
test ebx, ebx
jne 0x45c842
push str.Pointer_is_NULL_n
push 0xf7b
jmp 0x45c917
cmp dword [ebp + 0x18], edx
jne 0x45c856
push str.Pointer_is_NULL_n
push 0xf7c
jmp 0x45c917
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x45c86c
push str.Pointer_is_NULL_n
push 0xf7d
jmp 0x45c917
cmp dword [ebp + 0x24], edx
jne 0x45c880
push str.Pointer_is_NULL_n
push 0xf7e
jmp 0x45c917
mov byte [ebx], dl
mov dword [eax], ecx
lea eax, [ebp + 8]
push eax
push edi
call fcn.004927c7
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
jne 0x45c8c3
push edi
push dword [ebp + 8]
push ebx
call fcn.00491c72
add esp, 0xc
lea eax, [ebp + 8]
push eax
call fcn.004917e1
mov eax, dword [ebp - 4]
pop ecx
mov ecx, dword [ebp + 0x20]
pop edi
pop ebx
mov dword [ecx], eax
test esi, esi
je 0x45c8e8
cmp esi, 0xea
je 0x45c8e8
xor eax, eax
pop esi
leave
ret
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x45c8e5
push dword [esi]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0xf74
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0xf74
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x45cb5f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x45ccab
mov eax, dword [0x5ea410]
cmp dword [esi], eax
jne 0x45cc93
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], eax
jne 0x45cb9f
push str.Pointer_is_NULL_n
push 0x1012
jmp 0x45ccb5
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x45cbb5
push str.Pointer_is_NULL_n
push 0x1013
jmp 0x45ccb5
mov ebx, dword [ebp + 0x18]
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], ebx
call fcn.004923af
push dword [ebp + 0xc]
call fcn.0045da1d
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, 1
jne 0x45cc30
lea eax, [ebp - 4]
push eax
push ebx
call fcn.004927c7
mov eax, dword [ebp + 8]
pop ecx
pop ecx
add eax, eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [ebp + 0x14]
mov esi, eax
test esi, esi
jne 0x45cc24
push dword [ebp + 0x18]
push dword [ebp - 4]
push ebx
call fcn.00491c72
add esp, 0xc
mov dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
call fcn.004917e1
pop ecx
jmp 0x45cc4c
mov ebx, dword [ebp + 0x14]
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea eax, [ebp - 8]
push eax
call fcn.004917e1
pop ecx
test esi, esi
jne 0x45cc79
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [edi], ecx
cmp dword [ebp - 0xc], eax
je 0x45cc80
push dword [ebp - 0xc]
call fcn.0045da1d
mov edx, dword [ebp - 0x10]
add esp, 4
cmp edx, eax
je 0x45cc83
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp - 0x10]
cmp edx, 1
jne 0x45cc8e
test ecx, ecx
jne 0x45cc8e
mov byte [ebx], cl
xor eax, eax
inc eax
jmp 0x45cc7b
push dword [esi]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0x100b
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0x100b
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x45ce7c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x45cf67
mov eax, dword [0x5ea410]
cmp dword [esi], eax
jne 0x45cf4f
lea eax, [ebp + 8]
xor ebx, ebx
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
call fcn.004923af
push dword [ebp + 0xc]
call fcn.0045da1d
add esp, 0xc
cmp eax, 1
jne 0x45cefe
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
call fcn.004923af
push dword [ebp + 0x14]
call fcn.0056cb00
add esp, 0xc
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.004917e1
pop ecx
jmp 0x45cf16
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [ebp + 8]
push eax
call fcn.004917e1
pop ecx
test esi, esi
je 0x45cf4a
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push str.Unable_to_set_registry_value__s___d__n
push ebx
push 0x1002
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 3
call fcn.00454bd5
add esp, 0x1c
xor eax, eax
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x45cf46
push dword [esi]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0xff0
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0xff0
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3

Function at 0x45d44e
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x45d4bb
cmp dword [ebp + 0xc], 0
jne 0x45d473
push str.Pointer_is_NULL_n
push 0x22b
jmp 0x45d4c5
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004923af
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.004923af
add esp, 0x10
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.004917e1
lea eax, [ebp - 8]
push eax
call fcn.004917e1
pop ecx
xor eax, eax
test esi, esi
pop ecx
setne al
pop esi
leave
ret
push str.Pointer_is_NULL_n
push 0x22a
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3