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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.005683c0
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
test edi, edi
je 0x458544
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x45840b
push str.Pointer_is_NULL_n
push 0xbb4
jmp 0x45854e
cmp dword [ebp + 0x10], 0
jne 0x458420
push str.Pointer_is_NULL_n
push 0xbb5
jmp 0x45854e
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x458436
push str.Pointer_is_NULL_n
push 0xbb6
jmp 0x45854e
and dword [esi], 0
test byte [ebp + 0x14], 1
push 2
mov dword [ebp - 0x48], 0x3c
pop ecx
je 0x45844f
and dword [ebp - 0x2c], 0
jmp 0x45846b
test byte [ebp + 0x14], 2
je 0x45845e
mov dword [ebp - 0x2c], 3
jmp 0x45846b
test byte [ebp + 0x14], 4
push 5
pop eax
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
or dword [ebp - 0x44], 0x540
lea eax, [ebp - 4]
push eax
push edi
call fcn.004923af
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
call fcn.004923af
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.004923af
mov ecx, dword [ebp + 0x10]
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x3c], str.runas
cmp byte [edi], al
cmovne eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
xor eax, eax
cmp byte [ecx], al
cmovne eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
xor eax, eax
cmp byte [ebx], al
cmovne eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
lea eax, [ebp - 4]
push eax
call fcn.004917e1
lea eax, [ebp - 8]
push eax
call fcn.004917e1
lea eax, [ebp - 0xc]
push eax
call fcn.004917e1
add esp, 0xc
test ebx, ebx
jne 0x458517
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push str.Platform_ExecuteElevated
push str._s_failed_to_execute___s___LE:__d__n
push ebx
push 0xbda
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push ebx
call fcn.00454bd5
add esp, 0x20
xor eax, eax
jmp 0x45853f
push 0xbde
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 2
push 8
call fcn.004554a5
mov ecx, dword [0x5ea40c]
add esp, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov dword [esi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
push str.Pointer_is_NULL_n
push 0xbb3
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x4589f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
call fcn.004923af
pop ecx
pop ecx
push 2
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.004917e1
pop ecx
test esi, esi
jne 0x458a2c
xor eax, eax
jmp 0x458a94
push ebx
push edi
push 0x18
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x458a89
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test ebx, ebx
je 0x458a89
test edi, edi
je 0x458a89
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x458a82
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push str.requireAdministrator
push edi
push eax
call fcn.00471943
add esp, 0x10
cmp eax, 1
je 0x458a92
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x458d9e
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
lea edi, [ebp - 0x24]
xor ecx, ecx
stosd dword es:[edi], eax
mov esi, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
stosd dword es:[edi], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ebx, ebx
je 0x458ee1
lea eax, [ebp - 0x10]
mov byte [ebx], cl
push eax
push 0x5d7600
push 1
push ecx
push 0x5d7610
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x458df2
xor eax, eax
jmp 0x458edc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
push edx
xor edi, edi
push edi
mov ecx, dword [eax]
push edi
push edi
push edi
push edi
push edi
push str.ROOTSecurityCenter2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x458ed1
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x458ec8
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push edi
push 0x30
mov ecx, dword [eax]
push str.SELECT__FROM_AntiVirusProduct
push 0x59bfd8
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x458ec8
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x458ec8
mov edi, dword [ebp + 8]
test esi, esi
jne 0x458ebe
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0xc]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x458ebb
cmp dword [ebp - 0x14], esi
je 0x458ebb
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x24]
push esi
push esi
push edx
mov ecx, dword [eax]
push esi
push str.displayName
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x458ea9
sub edi, 1
jns 0x458ea9
push dword [ebp - 0x1c]
push 0x59bff8
push dword [ebp + 0x10]
push ebx
call fcn.00471d74
add esp, 0x10
inc esi
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x458e57
jmp 0x458ebe
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x458ec8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
push str.Pointer_is_NULL_n
push 0x560
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x4595c8
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2868
call fcn.00565e50
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x140
mov dword [ebp - 0x2864], eax
mov esi, ebx
lea eax, [ebp - 0x144]
mov dword [ebp - 0x2860], ebx
push ebx
push eax
mov dword [ebp - 0x285c], ebx
mov byte [ebp - 0x2858], bl
mov dword [ebp - 0x2868], ebx
call fcn.005683c0
push 0x2710
lea eax, [ebp - 0x2854]
push ebx
push eax
call fcn.005683c0
mov eax, dword [ebp - 0x2864]
add esp, 0x18
test eax, eax
je 0x4597b4
test edi, edi
jne 0x459652
push str.Pointer_is_NULL_n
push 0x339
jmp 0x4597be
mov byte [edi], bl
mov cl, byte [eax]
cmp cl, 0x61
jl 0x459660
cmp cl, 0x7a
jle 0x45966b
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x4597a3
movsx eax, cl
push eax
push str.._C:
lea eax, [ebp - 0x144]
push 0x140
push eax
call fcn.00471d74
add esp, 0x10
lea eax, [ebp - 0x144]
push ebx
push 0x20000000
push 3
push ebx
push 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2864], eax
cmp eax, 0xffffffff
jne 0x4596d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x144]
push eax
push str.Failed_to_open_drive___s____d__n
push ebx
push 0x344
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 3
call fcn.00454bd5
add esp, 0x1c
jmp 0x45979f
push ebx
lea ecx, [ebp - 0x2868]
push ecx
push 0x2710
lea ecx, [ebp - 0x2854]
push ecx
push 0xc
lea ecx, [ebp - 0x2860]
push ecx
push 0x2d1400
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45976b
mov ecx, dword [ebp - 0x283c]
test ecx, ecx
je 0x459766
cmp byte [ebp + ecx - 0x2854], bl
je 0x459766
mov ebx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x2868]
jae 0x45975c
mov dl, byte [ebp + ecx - 0x2854]
cmp dl, 0x30
jl 0x459735
cmp dl, 0x39
jle 0x459746
cmp dl, 0x61
jl 0x45973f
cmp dl, 0x7a
jle 0x459746
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x459751
lea eax, [ebx - 1]
cmp esi, eax
jge 0x459751
mov byte [edi + esi], dl
inc esi
inc ecx
cmp byte [ebp + ecx - 0x2854], 0
jne 0x45971c
push 0
cmp esi, ebx
pop ebx
jge 0x459766
mov byte [edi + esi], bl
xor ebx, ebx
inc ebx
jmp 0x459793
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x144]
push eax
push str.Unable_to_query_disk_property___s___d__n
push ebx
push 0x357
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 3
call fcn.00454bd5
add esp, 0x1c
push dword [ebp - 0x2864]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x4597a5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
push str.Pointer_is_NULL_n
push 0x338
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x4597c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor eax, eax
push 1
push 0x59a5f0
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
call fcn.0045b46e
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x459845
push 0x59bbc0
push ebx
call fcn.0045ed2c
pop ecx
pop ecx
test eax, eax
je 0x459836
lea ecx, [ebp - 8]
push ecx
push esi
push 0x1000
push 0x5ea418
call eax
test eax, eax
jne 0x459836
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00491c72
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
inc esi
push ebx
call fcn.0045e2c4
pop ecx
test esi, esi
jne 0x4598de
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jns 0x459874
push eax
push eax
push str.Unable_to_get_Malloc___d_:__.8X__n
push 0
push 0x2be
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 3
call fcn.00454bd5
add esp, 0x1c
xor eax, eax
jmp 0x4598f0
lea eax, [ebp - 0xc]
push eax
push 5
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x459895
push eax
push eax
push str.Unable_to_get_special_folder___d_:__.8X__n
push 0
push 0x2c3
jmp 0x459861
lea eax, [ebp - 4]
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.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00491c72
lea eax, [ebp - 4]
push eax
call fcn.004917e1
mov eax, dword [ebp - 0x10]
add esp, 0x10
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046ae60
add esp, 0xc
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4598f4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push edi
mov byte [esi], al
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004923af
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call fcn.004927c7
add esp, 0x10
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
je 0x459947
push dword [ebp + 0x10]
push dword [ebp - 4]
push esi
call fcn.00491c72
add esp, 0xc
lea eax, [ebp - 4]
push eax
call fcn.004917e1
lea eax, [ebp - 8]
push eax
call fcn.004917e1
pop ecx
pop ecx
xor eax, eax
test edi, edi
pop edi
setne al
pop esi
leave
ret

Function at 0x459966
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 2
call sub.VERSION.dll_GetFileVersionInfoExW
pop ebp
ret
Function at 0x459990
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0x1000
push 0x5d76fc
mov dword [ebp - 4], esi
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x4599cd
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00491c72
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
inc esi
mov eax, esi
pop esi
leave
ret

Function at 0x459b47
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc90
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x59c89c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20c], eax
mov ax, word [0x59c8a0]
push 0x202
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.005683c0
push 0x800
lea eax, [ebp - 0xc8c]
push ebx
push eax
call fcn.005683c0
push 0x280
lea eax, [ebp - 0x48c]
push ebx
push eax
call fcn.005683c0
add esp, 0x24
mov dword [ebp - 0xc90], ebx
test edi, edi
je 0x459cc5
test esi, esi
jne 0x459bd7
push str.Pointer_is_NULL_n
push 0xd3f
jmp 0x459ccf
lea eax, [ebp - 0xc90]
mov byte [esi], bl
push eax
lea eax, [edi + 1]
push 0x5c
push eax
call fcn.0047168d
add esp, 0xc
test eax, eax
je 0x459c8d
lea eax, [ebp - 0xc90]
push eax
mov eax, dword [ebp - 0xc90]
inc eax
push 0x5c
push eax
call fcn.0047168d
add esp, 0xc
test eax, eax
je 0x459c8d
mov ecx, dword [ebp - 0xc90]
mov eax, 0x140
sub ecx, edi
cmp ecx, eax
cmovl eax, ecx
push eax
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00492329
add esp, 0xc
push 0x41
pop eax
mov word [ebp - 0x20c], ax
push 0x400
lea eax, [ebp - 0xc8c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x459c77
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0xc8c]
push eax
call fcn.00491ac8
pop ecx
pop ecx
cmp eax, 1
je 0x459c9e
mov ax, word [ebp - 0x20c]
inc ax
mov word [ebp - 0x20c], ax
cmp ax, 0x5a
jb 0x459c40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.00491c72
push dword [ebp + 0x10]
push dword [ebp - 0xc90]
push esi
call fcn.0046e97a
xor eax, eax
add esp, 0x18
inc eax
jmp 0x459c8f
push str.Pointer_is_NULL_n
push 0xd3e
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3
Function at 0x459cda
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.005683c0
add esp, 0xc
mov dword [ebp - 0x218], ebx
mov esi, 0x104
mov dword [ebp - 0x214], ebx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x459dd3
push esi
lea eax, [ebp - 0x20c]
push 0x59bccc
push eax
call fcn.00491838
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0045997e
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x459dd3
call fcn.00566310
mov esi, esp
test esi, esi
je 0x459dd3
push esi
push ebx
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00459966
add esp, 0x10
test eax, eax
je 0x459dd3
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x59bce8
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x459dd3
cmp dword [ebp - 0x210], 0
je 0x459dd3
mov ecx, dword [ebp - 0x214]
movzx eax, word [ecx + 0x12]
mov dword [edi], eax
movzx eax, word [ecx + 0x10]
mov dword [edi + 4], eax
movzx eax, word [ecx + 0x16]
mov dword [edi + 8], eax
movzx eax, word [ecx + 0x14]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x459dd5
xor eax, eax
lea esp, [ebp - 0x224]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00565e42
leave
ret
Function at 0x459dea
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
and dword [ebp - 0x3c], eax
push ebx
push esi
push edi
push 0xa
pop ecx
lea edi, [ebp - 0x2c]
mov byte [edx], al
rep stosd dword es:[edi], eax
inc eax
mov dword [ebp - 0x40], edx
push eax
push str.opengl32.dll
xor esi, esi
call fcn.0045b46e
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x459f81
xor eax, eax
push eax
push eax
push eax
push eax
push 0x10
push 0x10
push eax
push eax
push 0x6cf0000
push 0x59bf04
push str.STATIC
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
test edi, edi
je 0x459e5d
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push str.wglCreateContext
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.wglDeleteContext
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.wglMakeCurrent
push ebx
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.wglGetProcAddress
push ebx
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test esi, esi
je 0x459f6a
cmp dword [ebp - 0x34], 0
je 0x459f62
cmp dword [ebp - 0x38], 0
je 0x459f62
cmp dword [ebp - 0x30], 0
je 0x459f62
test eax, eax
je 0x459f62
push 0x28
pop eax
mov word [ebp - 0x2c], ax
xor eax, eax
inc eax
mov dword [ebp - 0x28], 0x25
mov word [ebp - 0x2a], ax
lea eax, [ebp - 0x2c]
push eax
push esi
mov word [ebp - 0x24], 0x2000
mov byte [ebp - 0x15], 0x20
mov byte [ebp - 0x12], 0
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x459f81
lea ecx, [ebp - 0x2c]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x459f81
push esi
call dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x459f62
push eax
push esi
call dword [ebp - 0x30]
push str.glGetString
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x459f4f
push 0x1f02
call eax
test eax, eax
je 0x459f4f
push eax
push 0x59bf68
push dword [ebp + 0xc]
push dword [ebp - 0x40]
call fcn.00471d74
xor eax, eax
add esp, 0x10
inc eax
mov dword [ebp - 0x3c], eax
push 0
push esi
call dword [ebp - 0x30]
push 0
push 0
call dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [ebp - 0x38]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
test edi, edi
je 0x459f75
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call fcn.0045e2c4
mov eax, dword [ebp - 0x3c]
pop ecx
jmp 0x459f83
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
Function at 0x459f93
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 6
pop ecx
lea edi, [ebp - 0x24c]
mov dword [ebp - 0x234], ebx
rep stosd dword es:[edi], eax
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.005683c0
mov eax, dword [0x5f0b2c]
add esp, 0xc
cmp dword [eax + 0x1c], edi
je 0x45a024
push ebx
push 1
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45a01e
push edi
push 0x18
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [0x5f0b2c]
push edi
push ebx
call dword [eax + 0x1c]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x45a01e
mov eax, dword [ebp - 0x238]
jmp 0x45a077
mov ebx, dword [ebp - 0x234]
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x45a075
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x45a061
cmp dword [ebp - 0x228], ebx
je 0x45a068
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x45a04c
jmp 0x45a06e
mov edi, dword [ebp - 0x218]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret

Function at 0x45a086
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_GetWindowsDirectoryW]
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 0x45a0d2
xor eax, eax
jmp 0x45a0e3
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 0x45a40f
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
push esi
mov esi, ecx
push edi
test ebx, ebx
je 0x45a529
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
lea eax, [ebp - 8]
push ecx
push 5
push 2
push 1
push eax
push ecx
mov dword [ebx], ecx
call edi
mov ebx, esi
test esi, esi
je 0x45a460
push 0x710
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push ebx
push esi
call fcn.0045591c
add esp, 0x10
mov ebx, dword [ebp - 8]
push 0x717
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
add ebx, 0x1000
push 1
push ebx
call fcn.004554a5
add esp, 0x10
mov esi, eax
lea eax, [ebp - 8]
push 0
push 5
push 2
push 1
push eax
push esi
call edi
cmp eax, 0x7a
je 0x45a448
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x10]
test eax, eax
jne 0x45a4f6
xor edi, edi
cmp dword [esi], edi
jbe 0x45a4f6
lea eax, [esi + 0xc]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 4]
add eax, 0xfffffffc
push ecx
push eax
call fcn.004814cb
lea eax, [ebp - 4]
push eax
push eax
call fcn.00481467
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.00481400
mov ecx, dword [ebp + 8]
add esp, 0x18
mov eax, dword [ebp - 4]
cmp eax, dword [ecx]
jne 0x45a519
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
jne 0x45a51c
cmp dword [eax + 0xc], 0
je 0x45a51c
lea eax, [edi + 1]
imul eax, eax, 0x18
mov eax, dword [eax + esi]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
push 0x733
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push eax
push esi
call fcn.0045591c
add esp, 0x10
xor eax, eax
cmp dword [ebx], eax
setne al
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp + 0x10]
inc edi
add eax, 0x18
mov dword [ebp + 0x10], eax
cmp edi, dword [esi]
jb 0x45a4aa
jmp 0x45a4f6
push str.Pointer_is_NULL_n
push 0x708
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3