joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4335e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x80c
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x5eeef4]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
jne 0x4336ce
lea edi, [ebp - 0x810]
push edi
call fcn.004455e0
add esp, 4
test al, al
jne 0x433648
lea esi, [ebp - 0x80c]
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0x101
push str..._.._base_threading_thread_local_storage.cc
push esi
call fcn.00409a10
add esp, 0x10
mov ecx, esi
call fcn.00409d80
mov ecx, esi
call fcn.00409d90
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x4336a5
push edi
call fcn.004455e0
add esp, 4
test al, al
je 0x433669
cmp dword [ebp - 0x810], 0xffffffff
jne 0x433695
lea esi, [ebp - 0x80c]
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push 0x10b
push str..._.._base_threading_thread_local_storage.cc
push esi
call fcn.00409a10
add esp, 0x10
mov ecx, esi
call fcn.00409d80
mov ecx, esi
call fcn.00409d90
push 0xffffffffffffffff
call fcn.00445600
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x5eeef4], ecx
mov eax, dword [ebp - 0x810]
je 0x4336ce
push eax
call fcn.00445600
add esp, 4
mov eax, dword [0x5eeef4]
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
and esi, 3
je 0x433740
push 0
call fcn.00414570
add esp, 4
mov edi, eax
push esi
call fcn.00414570
add esp, 4
lea esi, [ebp - 0x80c]
mov ecx, esi
push edi
push eax
push str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
call fcn.00414a80
cmp dword [ebp - 0x80c], 0
je 0x433740
lea edi, [ebp - 0x814]
push esi
push 0x11d
push str..._.._base_threading_thread_local_storage.cc
push edi
call fcn.00409dc0
add esp, 0x10
mov ecx, edi
call fcn.00409d80
mov ecx, edi
call fcn.00409d90
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.005683c0
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.00445610
add esp, 8
push 0x800
call fcn.005667cb
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.00568520
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.00445610
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00565e42
mov eax, esi
add esp, 0x80c
pop esi
pop edi
pop ebp
ret

Function at 0x435b00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5f3538]
mov ecx, dword [0x5f3980]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x435b2b
mov ecx, 0x5f3530
pop ebp
jmp fcn.004337c0
push 0x5f3538
call fcn.00566696
add esp, 4
cmp dword [0x5f3538], 0xffffffff
jne 0x435b20
mov dword [0x5f3534], 0
mov dword [0x5f3530], 0
mov ecx, 0x5f3530
push 0
call fcn.00433830
push 0x5f3538
call fcn.0056664c
add esp, 4
jmp 0x435b20
Function at 0x43cb40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5ef0d4]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov edi, dword [eax]
mov dword [ebp - 0x28], 0
movsd xmm0, qword [0x5b5e20]
movsd qword [ebp - 0x18], xmm0
mov byte [ebp - 0x28], 0
push edi
call fcn.0056cb00
add esp, 4
mov esi, eax
cmp eax, 0xf
jbe 0x43cb9c
sub esp, 0xc
mov al, byte [ebp - 0x2c]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
lea ecx, [ebp - 0x28]
call fcn.00409180
jmp 0x43cbb2
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
push esi
push edi
push eax
call fcn.00568520
add esp, 0xc
mov byte [ebp + esi - 0x28], 0
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea esi, [ebp - 0x28]
mov dword [ebp - 0x30], eax
cmovae esi, eax
test ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ecx
je 0x43cbe7
lea edx, [ebx - 1]
mov ecx, ebx
and ecx, 3
cmp edx, 3
jae 0x43cbee
mov edx, 0x811c9dc5
xor edi, edi
jmp 0x43cc3a
mov edx, 0x811c9dc5
jmp 0x43cc61
and ebx, 0xfffffffc
mov edx, 0x811c9dc5
xor edi, edi
nop dword [eax + eax]
movzx eax, byte [esi + edi]
xor eax, edx
imul eax, eax, 0x1000193
movzx edx, byte [esi + edi + 1]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + edi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + edi + 3]
xor edx, eax
imul edx, edx, 0x1000193
add edi, 4
cmp ebx, edi
jne 0x43cc00
test ecx, ecx
je 0x43cc61
add edi, esi
xor ebx, ebx
nop word cs:[eax + eax]
movzx eax, byte [edi + ebx]
xor eax, edx
imul edx, eax, 0x1000193
inc ebx
cmp ecx, ebx
jne 0x43cc50
mov eax, dword [ebp + 8]
and edx, dword [eax + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edx*8 + 4]
mov dword [ebp - 0x34], ecx
cmp edi, ecx
mov ecx, dword [ebp - 0x38]
je 0x43ccc7
add edx, edx
mov ebx, dword [eax + edx*4]
cmp ecx, dword [edi + 0x18]
jne 0x43ccb5
nop word cs:[eax + eax]
cmp dword [edi + 0x1c], 0x10
jb 0x43cca0
mov eax, dword [edi + 8]
jmp 0x43cca3
lea eax, [edi + 8]
push ecx
push eax
push esi
call fcn.00568aa0
mov ecx, dword [ebp - 0x38]
add esp, 0xc
test eax, eax
je 0x43ccc3
cmp edi, ebx
je 0x43ccc7
mov edi, dword [edi + 4]
cmp ecx, dword [edi + 0x18]
je 0x43cc90
jmp 0x43ccb5
test edi, edi
jne 0x43ccca
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x43cd01
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x43ccf4
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x43cd1b
add edx, 0x24
mov ecx, edx
jmp 0x43ccf7
mov eax, dword [ebp - 0x30]
push ecx
push eax
call fcn.005660aa
add esp, 8
cmp edi, dword [ebp - 0x34]
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0056cec6
Function at 0x442660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov eax, ebx
sbb eax, 0
jl 0x442723
mov edx, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 0x38], 0
mov dword [ebp - 0x10], ecx
je 0x44272c
mov ecx, esi
mov esi, ebx
mov ebx, edi
jmp 0x4426e2
mov edx, dword [ebp - 0x14]
cmp edx, ecx
mov edi, ecx
cmovb edi, edx
test esi, esi
cmovne edi, ecx
push edi
push eax
push ebx
call fcn.00568520
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add esp, 0xc
add ebx, edi
sub ecx, edi
sbb esi, 0
mov eax, dword [edx + 0x2c]
sub dword [eax], edi
mov eax, dword [edx + 0x1c]
add dword [eax], edi
mov eax, ecx
neg eax
mov eax, 0
sbb eax, esi
jge 0x4427ce
mov dword [ebp - 0x14], ecx
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4426f7
mov ecx, dword [edx + 0x2c]
mov ecx, dword [ecx]
test ecx, ecx
jg 0x4426a0
mov eax, dword [edx]
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [0x5983d0]
mov ecx, dword [ebp - 0x10]
call edi
cmp eax, 0xffffffff
je 0x4427cb
mov byte [ebx], al
inc ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xffffffff
adc esi, 0xffffffff
mov edx, dword [ebp - 0x10]
jmp 0x4426d1
xor eax, eax
xor edx, edx
jmp 0x442800
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x44275f
mov ecx, dword [edx + 0x2c]
mov ebx, dword [ecx]
test ebx, ebx
je 0x44275f
cmp ebx, esi
cmovae ebx, esi
push ebx
push eax
push edi
call fcn.00568520
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [edx + 0x2c]
sub dword [eax], ebx
mov eax, dword [edx + 0x1c]
add dword [eax], ebx
add edi, ebx
sub esi, ebx
cmp dword [edx + 0x4c], 0
je 0x4427f3
mov eax, dword [edx + 0xc]
lea ecx, [edx + 0x3c]
cmp dword [eax], ecx
jne 0x4427a0
mov ecx, dword [edx + 0x50]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
mov dword [eax], edx
mov edx, dword [ebp - 0x10]
nop word cs:[eax + eax]
cmp esi, 0x1000
jb 0x4427da
push dword [edx + 0x4c]
push 0xfff
push 1
push edi
call fcn.0057908a
mov edx, dword [ebp - 0x10]
add esp, 0x10
add edi, eax
sub esi, eax
cmp eax, 0xfff
je 0x4427a0
jmp 0x4427f3
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
sub eax, ecx
mov edx, dword [ebp + 0x10]
sbb edx, esi
jmp 0x442800
test esi, esi
je 0x4427f1
push dword [edx + 0x4c]
push esi
push 1
push edi
call fcn.0057908a
add esp, 0x10
sub esi, eax
jmp 0x4427f3
xor esi, esi
mov ebx, dword [ebp + 0xc]
sub ebx, esi
mov eax, ebx
mov edx, dword [ebp + 0x10]
sbb edx, 0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x448462
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
xor edx, edx
mov dword [edi], edx
mov ecx, dword [ebx]
sub esp, 0x1c
mov dword [esp + 0x18], eax
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4484c1
mov esi, eax
mov ebx, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
xor ecx, ecx
push ecx
push ecx
push edi
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx + ecx*4]
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x449fe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x44a059
mov ecx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x449ffc
xor esi, esi
jmp 0x44a03e
and ebx, 0xfffffffe
xor esi, esi
nop word cs:[eax + eax]
movzx edi, al
movzx edx, byte [ecx + esi]
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x5b94a4]
movzx edx, al
movzx edi, byte [ecx + esi + 1]
xor edi, edx
shr eax, 8
xor eax, dword [edi*4 + 0x5b94a4]
add esi, 2
cmp ebx, esi
jne 0x44a010
mov edx, dword [ebp + 0x10]
test dl, 1
je 0x44a059
movzx edx, al
movzx ecx, byte [ecx + esi]
xor ecx, edx
shr eax, 8
xor eax, dword [ecx*4 + 0x5b94a4]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x451736
Capabilities:
Delete file
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.00565e50
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x2008], 0x50
call fcn.0049485c
xor ebx, ebx
lea eax, [ebp - 0x1004]
mov esi, 0x1000
mov dword [ebp - 0x2010], ebx
push esi
push ebx
push eax
fstp qword [ebp - 0x2018]
mov dword [ebp - 0x200c], ebx
call fcn.005683c0
push esi
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.005683c0
push esi
lea eax, [ebp - 0x1004]
push eax
push str.contentUrl
call fcn.004edbac
lea eax, [ebp - 0x1004]
push eax
call fcn.0056cb00
mov edi, dword [ebp - 0x2008]
push 0x1b1
push str.C:_actions_runner_workclientclienthostwindowsiewindow.c
push 1
push edi
call fcn.004554a5
add esp, 0x38
mov esi, eax
lea eax, [ebp - 0x2008]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
jne 0x451838
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4518fb
push 0x1b5
mov ebx, str.C:_actions_runner_workclientclienthostwindowsiewindow.c
push ebx
push edi
push esi
call fcn.0045591c
mov edi, dword [ebp - 0x2008]
push 0x1b7
push ebx
push 1
push edi
call fcn.004554a5
add esp, 0x20
mov esi, eax
lea eax, [ebp - 0x2008]
push eax
push esi
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
je 0x4518fb
inc dword [ebp - 0x200c]
test byte [esi + 0xc], 1
je 0x45188b
push 0x1000
push dword [esi + 4]
lea eax, [ebp - 0x2004]
push eax
call fcn.00491c72
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x2004]
push eax
call fcn.0046f015
add esp, 0x14
cmp eax, 1
jne 0x45188b
push dword [esi + 8]
inc dword [ebp - 0x2010]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], edi
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x451838
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4518f4
push 0x1cd
push str.C:_actions_runner_workclientclienthostwindowsiewindow.c
push edi
push esi
call fcn.0045591c
mov edi, dword [ebp - 0x2008]
push 0x1cf
push str.C:_actions_runner_workclientclienthostwindowsiewindow.c
push 1
push edi
call fcn.004554a5
add esp, 0x20
mov esi, eax
lea eax, [ebp - 0x2008]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x451838
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push 0x1dc
mov ebx, str.C:_actions_runner_workclientclienthostwindowsiewindow.c
push ebx
push edi
push esi
call fcn.0045591c
call fcn.0049485c
fsub qword [ebp - 0x2018]
add esp, 8
fstp qword [esp]
push dword [ebp - 0x200c]
push dword [ebp - 0x2010]
push str.Browser_cache_flushed___d_removed____d_checked____.2f_seconds__n
push 0
push 0x1df
push ebx
push 3
call fcn.00454bd5
mov ecx, dword [ebp - 4]
add esp, 0x24
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
pop ebx
call fcn.00565e42
leave
ret
Function at 0x4539a6
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7dc
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x284]
push edi
xor ebx, ebx
mov edi, 0x140
push edi
push ebx
push eax
mov dword [ebp - 0x7cc], ebx
mov dword [ebp - 0x7d8], ebx
mov dword [ebp - 0x7dc], ebx
mov dword [ebp - 0x7c8], ebx
mov dword [ebp - 0x7d0], ebx
mov dword [ebp - 0x7d4], ebx
call fcn.005683c0
push 0x400
lea eax, [ebp - 0x7c4]
push ebx
push eax
call fcn.005683c0
push edi
lea eax, [ebp - 0x144]
push ebx
push eax
call fcn.005683c0
push edi
lea eax, [ebp - 0x3c4]
push ebx
push eax
call fcn.005683c0
lea eax, [ebp - 0x7c8]
push eax
push str.Implode
call fcn.00454717
xor eax, eax
cmp dword [ebp - 0x7c8], 1
push edi
setge al
mov dword [ebp - 0x7c8], eax
lea eax, [ebp - 0x284]
push eax
call fcn.0045ee9c
add esp, 0x40
push ebx
lea eax, [ebp - 0x3c4]
push edi
push eax
call fcn.00471b15
lea eax, [ebp - 0x3c4]
push eax
lea eax, [ebp - 0x284]
push eax
push str._s_s.bat
lea eax, [ebp - 0x144]
push edi
push eax
call fcn.00471d74
lea eax, [ebp - 0x144]
push eax
call fcn.0046a84f
add esp, 0x24
cmp eax, 1
je 0x453a59
lea eax, [ebp - 0x7c4]
push 0x400
push eax
call fcn.00453c19
lea eax, [ebp - 0x7d0]
push eax
lea eax, [ebp - 0x7c4]
push eax
call fcn.004923af
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add esp, 0x10
push dword [ebp - 0x7d0]
push str.ImplodeSleep
call edi
lea eax, [ebp - 0x7d0]
push eax
call fcn.004917e1
cmp dword [ebp - 0x7c8], 1
pop ecx
jne 0x453b09
lea eax, [ebp - 0x7c4]
push eax
push str.Implode___Sleep_Command____s_n
push ebx
push 0x46
push str.C:_actions_runner_workclientclienthostwindowsimplode.c
push 3
call fcn.00454bd5
add esp, 0x18
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004923af
pop ecx
pop ecx
push dword [ebp - 0x7d4]
push str.ImplodeSelfFileName
call edi
lea eax, [ebp - 0x7d4]
push eax
call fcn.004917e1
cmp dword [ebp - 0x7c8], 1
pop ecx
jne 0x453b5f
lea eax, [ebp - 0x144]
push eax
push str.Implode___Filename____s_n
push ebx
push 0x4d
push str.C:_actions_runner_workclientclienthostwindowsimplode.c
push 3
call fcn.00454bd5
add esp, 0x18
lea eax, [ebp - 0x7cc]
push eax
call fcn.00468915
push 0x16
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x7cc]
call fcn.00468e4c
add esp, 0x10
cmp eax, 1
jne 0x453bfa
lea eax, [ebp - 0x7dc]
push eax
push esi
call fcn.0056cb00
pop ecx
push eax
push esi
push dword [ebp - 0x7cc]
call fcn.0046971a
push dword [ebp - 0x7cc]
call fcn.00468875
push esi
call fcn.0056cb00
add esp, 0x18
cmp dword [ebp - 0x7dc], eax
jne 0x453bfa
lea eax, [ebp - 0x7d8]
push eax
push ebx
push ebx
push ebx
push 0x11
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x144]
push 0x598678
push eax
call fcn.00457f62
add esp, 0x20
cmp dword [ebp - 0x7d8], ebx
je 0x453bfa
lea ecx, [ebp - 0x7d8]
push ecx
call fcn.0045b78d
pop ecx
lea ecx, [ebp - 0x7cc]
push ecx
call fcn.00468975
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00565e42
leave
ret
Function at 0x453d27
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1148
call fcn.00565e50
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x1024]
push 0x1000
push ebx
push eax
mov dword [ebp - 0x1144], ebx
call fcn.005683c0
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x1148], ebx
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
push 0x598678
call fcn.0045f77f
push 0x100
lea eax, [ebp - 0x112c]
mov dword [ebp - 0x1140], 0x11c
push ebx
push eax
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x1130], ebx
call fcn.005683c0
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0x1c
xor edi, edi
mov dword [ebp - 0x1028], ebx
inc edi
xor eax, eax
mov word [ebp - 0x102a], ax
push 3
push 0x20
push 3
push edi
push 3
push 2
push ebx
push ebx
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [ebp - 0x1140]
mov dword [ebp - 0x113c], 6
xor ecx, ecx
mov dword [ebp - 0x1138], edi
push eax
mov word [ebp - 0x102c], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x453e08
push 0x800
call fcn.0045f74d
pop ecx
push edi
push 0x59a5e4
call fcn.0045b46e
push edi
push 0x59a5f0
call fcn.0045b46e
push edi
push str.gdi32.dll
call fcn.0045b46e
push edi
push 0x59a608
call fcn.0045b46e
push edi
push str.ws2_32.dll
call fcn.0045b46e
push edi
push str.crypt32.dll
call fcn.0045b46e
push edi
push str.psapi.dll
call fcn.0045b46e
push edi
push str.iphlpapi.dll
call fcn.0045b46e
add esp, 0x40
push edi
push str.dhcpcsvc.dll
call fcn.0045b46e
push edi
push 0x59a658
call fcn.0045b46e
push edi
push 0x59a664
call fcn.0045b46e
add esp, 0x18
push edi
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00462825
call fcn.0047b9b1
lea eax, [ebp - 0x1024]
mov dword [esp], 0x1000
push eax
push ebx
call fcn.0047b019
add esp, 0xc
cmp eax, edi
jne 0x453ec7
lea eax, [ebp - 0x1024]
push eax
call fcn.00462310
pop ecx
lea eax, [ebp - 0x1144]
push eax
call fcn.0046236d
push 0x20
lea eax, [ebp - 0x24]
push eax
push dword [0x5ea034]
push dword [ebp - 0x1144]
call fcn.0046253a
add esp, 0x14
test eax, eax
jne 0x453ef8
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push ebx
push ebx
call fcn.0044c11e
pop ecx
pop ecx
cmp eax, edi
jne 0x453f0a
call fcn.0044ca9f
lea eax, [ebp - 0x1148]
push eax
call fcn.0044c0fa
pop ecx
call fcn.0044c9c4
call fcn.0047bad9
call fcn.00462920
cmp byte [ebp - 0x24], bl
jne 0x453f31
call dword [sym.imp.ole32.dll_OleUninitialize]
push edi
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1148]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00565e42
leave
ret 0x10
Function at 0x4554a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.0045433c
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
test edi, edi
jle 0x45565b
mov eax, dword [0x5f078c]
lea ebx, [edi + 0x13]
and ebx, 0xfffffffc
test eax, eax
je 0x455626
cmp dword [eax], 1
jne 0x455626
test byte [ebp + 0xc], 2
lea eax, [ebx + 0x1c]
je 0x4554fa
push 1
push eax
call fcn.0056e6b1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x45566c
jmp 0x45550b
push eax
call fcn.0056da9d
mov esi, eax
pop ecx
test esi, esi
je 0x455652
push 0x1c
lea edi, [ebx + esi]
push 0
push edi
call fcn.005683c0
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], esi
call fcn.00455acd
test dword [ebp - 4], 0x4000
je 0x45554b
push 0
call fcn.0045567f
pop ecx
mov ecx, dword [0x5f078c]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x45556c
mov eax, dword [eax + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x20]
mov dword [eax + 0x14], edi
jmp 0x455574
and dword [edi + 0x14], 0
and dword [edi + 0x10], 0
mov dword [ecx + 0x20], edi
cmp dword [ecx + 0x14], esi
jle 0x45557f
mov dword [ecx + 0x14], esi
cmp dword [ecx + 0x18], edi
jge 0x455587
mov dword [ecx + 0x18], edi
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
jge 0x455592
mov dword [ecx + 8], eax
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 0x10], eax
jge 0x45559d
mov dword [ecx + 0x10], eax
call fcn.00455ee1
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, esi
sar eax, cl
xor al, 0xcc
mov byte [ecx + esi], al
inc ecx
cmp ecx, 8
jl 0x4555a7
lea edx, [ebx - 8]
xor ecx, ecx
add edx, esi
mov eax, esi
sar eax, cl
xor al, 0xcc
inc ecx
mov byte [edx], al
inc edx
cmp ecx, 8
jl 0x4555bd
mov eax, dword [0x5f078c]
add esi, 8
test eax, eax
je 0x4555f3
add eax, 4
push eax
call fcn.0045f1e5
mov eax, dword [0x5f078c]
add eax, 0xc
push ebx
push eax
call fcn.0045dab8
add esp, 0xc
test dword [ebp - 4], 0x400
je 0x45561f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
push str.___Alloc_0x_p:__10d___s____d__n
push 0
push 0x56d
push str.C:_actions_runner_workclientclientcorecore.c
push 3
call fcn.00454bd5
add esp, 0x24
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
test byte [ebp + 0xc], 2
je 0x455641
push 1
push ebx
call fcn.0056e6b1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x45566c
jmp 0x4555a5
push ebx
call fcn.0056da9d
mov esi, eax
pop ecx
test esi, esi
jne 0x4555a5
push ebx
push edi
push str.No_Memory_available___d____d__n
jmp 0x455673
push edi
push str.Invalid_Memory_Size___d__n
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00453f4f
push ebx
push edi
push str.No_Zeroed_Memory_available___d____d__n
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00453f4f
int3
Function at 0x457d2b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xorps xmm0, xmm0
push esi
push edi
xor edi, edi
movlpd qword [ebp - 0x20], xmm0
inc ebx
mov dword [ebp - 0x18], edi
cmp dword [ebp + 8], ebx
jne 0x457d5a
mov esi, str.SeDebugPrivilege
jmp 0x457d65
cmp dword [ebp + 8], 2
jne 0x457d9d
mov esi, str.SeShutdownPrivilege
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x457dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_process_token_for_debug_privileges___d__n
push edi
push 0x93b
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 3
call fcn.00454bd5
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
lea eax, [ebp - 0x20]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x457dea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_lookup_privilege___d__n
push edi
push 0x940
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 3
call fcn.00454bd5
add esp, 0x18
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x457d9d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push edi
push edi
push 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x457e2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_adjust_token_privileges_for_debug___d__n
push edi
push 0x94a
jmp 0x457dd0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x457d9f