joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10092db0
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10c
test eax, eax
jge 0x10092dca
mov eax, 1
add esp, 0x10c
ret
mov ecx, dword [esp + 0x110]
lea edx, [esp]
mov dword [esp], eax
push edx
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_select]
dec eax
neg eax
sbb eax, eax
inc eax
add esp, 0x10c
ret

Function at 0x10092e10
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
cmp eax, 0xffffffff
push edi
je 0x10092e7a
mov edi, dword [esp + 0x1c]
test edi, edi
jl 0x10092e7a
jne 0x10092e31
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.10092db0
add esp, 8
test eax, eax
je 0x10092e7a
xor esi, esi
test edi, edi
jle 0x10092e70
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esp + 0x14]
mov edx, edi
sub edx, esi
push 0
lea eax, [esi + ebx]
push edx
push eax
push ecx
call ebp
cmp eax, 0xffffffff
je 0x10092e7a
add esi, eax
cmp esi, edi
jl 0x10092e53
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x10092e90
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.100ad29f
lea eax, [esp + 4]
mov dword [esi], method.CWnd.virtual_0
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret

Function at 0x10093040
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100930c7
cmp byte [esi], 0
je 0x100930c7
mov ebx, dword [esp + 0xc]
xor eax, eax
mov ecx, ebx
mov edx, dword [esp + 0x14]
push edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebx + 2], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x100930b5
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100930c7
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
push edi
lea edi, [ebx + 4]
mov esi, dword [edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [eax + 8]
pop edi
mov word [ebx], ax
pop esi
mov eax, 1
pop ebx
ret 0xc
mov dword [ebx + 4], eax
mov word [ebx], 2
pop esi
mov eax, 1
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x100931b0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x40]
cmp ecx, 0xffffffff
je 0x1009322c
mov esi, dword [esp + 0x28]
test esi, esi
jl 0x1009322c
jne 0x100931d6
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 0x10
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10093236
cmp byte [eax], 0
je 0x10093236
mov ecx, dword [esp + 0x20]
lea edx, [esp + 8]
push ecx
push eax
push edx
mov ecx, edi
call fcn.10093040
test eax, eax
je 0x1009322c
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x40]
lea eax, [esp + 8]
push 0x10
push eax
push 0
push esi
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, esi
je 0x100932c8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
lea eax, [esp + 0x28]
push 4
push eax
push 0x20
push 0xffff
push ecx
mov dword [esp + 0x3c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1009322c
xor ecx, ecx
push 0xffffffffffffffff
mov dword [esp + 0xc], ecx
mov word [esp + 0xc], 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x40]
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push 0x10
push eax
push 0
push esi
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, esi
je 0x100932be
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xbc]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xbc]
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 0x10

Function at 0x100934a0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0xbc]
test eax, eax
je 0x10093512
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.10093040
test eax, eax
je 0x10093512
mov edx, dword [esi + 0x40]
lea ecx, [esp + 4]
push 0x10
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1009350b
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x40]
push 0x21
push 0x8078
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x1009350b
mov eax, 1
mov dword [esi + 0x48], eax
pop esi
add esp, 0x10
ret 8
mov ecx, esi
call fcn.10093470
xor eax, eax
pop esi
add esp, 0x10
ret 8
Function at 0x10093cd0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x10093d22
lea eax, [esp + 0x38]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
cmp eax, 1
mov dword [esi + 4], eax
jne 0x10093d10
push str.icmp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 8], eax
jmp 0x10093d17
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10093dba
mov eax, dword [esi + 8]
test eax, eax
je 0x10093dba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IcmpCreateFile
push eax
call edi
mov ecx, dword [esi + 8]
push str.IcmpSendEcho
push ecx
mov ebx, eax
call edi
mov edx, dword [esi + 8]
push str.IcmpCloseHandle
push edx
mov ebp, eax
call edi
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x10093dba
test ebp, ebp
je 0x10093dba
test eax, eax
je 0x10093dba
mov esi, dword [esp + 0x1cc]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10093d8c
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10093dba
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edi, dword [ecx]
call ebx
mov edx, dword [esp + 0x1d0]
mov esi, eax
push edx
lea eax, [esp + 0x18]
push 0x24
push eax
push 0
push 0
push 0
push edi
push esi
mov dword [esp + 0x3c], 0xffffffff
call ebp
test eax, eax
push esi
jne 0x10093dca
call dword [esp + 0x14]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1b8
ret 8
call dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b8
ret 8
Function at 0x100a64d2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100e90d0
cmp edx, dword [eax]
je 0x100a64f4
add eax, 8
inc ecx
cmp eax, 0x100e9160
jl 0x100a64e5
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x100e90d0]
jne 0x100a6622
mov eax, dword [0x100f8678]
cmp eax, 1
je 0x100a65fc
test eax, eax
jne 0x100a6525
cmp dword [0x100f867c], 1
je 0x100a65fc
cmp edx, 0xfc
je 0x100a6622
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100a655c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100a5070
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1009cd70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100a659f
lea eax, [ebp - 0x1a4]
push eax
call fcn.1009cd70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100dbff8
push edi
call fcn.1009c230
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100a5070
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100a5080
lea eax, [ebp - 0xa0]
push 0x100cb4a4
push eax
call fcn.100a5080
push dword [esi + 0x100e90d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.100a5080
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100a8ca7
add esp, 0x2c
pop edi
jmp 0x100a6622
lea eax, [ebp + 8]
lea esi, [esi + 0x100e90d4]
push 0
push eax
push dword [esi]
call fcn.1009cd70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x100ae06f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100ae0a7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100b0cf8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100b0cd0
jmp 0x100ae0b3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100af75d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100af79f
call fcn.100b7bb6
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100af79f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100af796
xor eax, eax
jmp 0x100af7a7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100af7ad
pop edi
pop esi
pop ebx
ret 4
Function at 0x100b0f94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x100b0fb6
cmp dword [edi + 0x3c], 0
jne 0x100b0fb6
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.100b7bb6
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.100b0fe3
pop edi
pop esi
pop ebx
ret 8
Function at 0x414910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x587040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0x15]
mov dword [esi - 7], eax
mov dword [esi - 3], eax
mov dword [esi + 1], 0x7ffffff
mov eax, str.GROUP:
lea edx, [ebp - 0x1c]
cmp edx, eax
seta dl
cmp esi, eax
setbe al
or al, dl
je 0x414a77
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x19], 0x203a5055
mov dword [ebp - 0x1c], 0x554f5247
mov byte [ebp - 0x15], 0
test esi, esi
je 0x414a7e
mov ebx, dword [ebp + 0xc]
push esi
call fcn.00507c20
add esp, 4
lea edi, [ebp - 0x1c]
mov ecx, edi
push eax
push esi
call fcn.004a25f0
mov ecx, edi
push 8
push str.__NAME:
call fcn.004a25f0
test ebx, ebx
je 0x414a7e
mov esi, dword [ebp + 0x10]
push ebx
call fcn.00507c20
add esp, 4
mov ecx, edi
push eax
push ebx
call fcn.004a25f0
mov ecx, edi
push 0xc
push str.__DURATION:
call fcn.004a25f0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, eax
or edx, ecx
je 0x414a15
sub eax, dword [esi]
sbb ecx, dword [esi + 4]
lea esi, [ebp - 0x28]
push ecx
push eax
push esi
call fcn.00455ac0
add esp, 0xc
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x4149ee
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push eax
push esi
call fcn.004a25f0
cmp byte [ebp - 0x1d], 0
jns 0x414a09
push dword [ebp - 0x28]
call fcn.004ec97e
add esp, 4
lea ecx, [ebp - 0x1c]
push 5
push str.__us_
jmp 0x414a1f
lea ecx, [ebp - 0x1c]
push 0x12
push str.unknown_unfinished
call fcn.004a25f0
mov ecx, edi
push 2
push 0x5662c6
call fcn.004a25f0
movsx eax, byte [ebp - 0x11]
test eax, eax
jns 0x414a40
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
push ecx
push ecx
push eax
push edi
mov eax, dword [ebp - 0x2c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [ebp - 0x11], 0
jns 0x414a63
push dword [ebp - 0x1c]
call fcn.004ec97e
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ecef0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push str....._third_partylibc_srcinclude__stringchar_traits.h:145:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
jmp 0x414a83
push str....._third_partylibc_srcinclude_string:2862:_assertion___s___nullptr_failed:_string::append_received_nullptr_n
push 0x565ab5
call fcn.0051c8d0
int3
Function at 0x41e770
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x587040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x218]
mov dword [esi], 0x101
lea edi, [ebp - 0x212]
push 0x202
push 0xff
push edi
call fcn.004f0940
add esp, 0xc
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, eax
test eax, eax
je 0x41e7c2
mov ecx, dword [ebp + 8]
push edi
call fcn.004558a0
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ecef0
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41e7e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 2
pop ebp
jmp fcn.0041e800
Function at 0x4296d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x1c
mov eax, dword [0x587040]
xor eax, ebp
mov dword [ebp - 8], eax
call fcn.0041ef00
mov esi, eax
lea eax, [ebp - 0x17]
mov byte [eax + 2], 9
mov ecx, str.Software_
lea edx, [ebp - 0x20]
cmp edx, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x4297cc
mov dword [ebp - 0x1c], 0x65726177
mov dword [ebp - 0x20], 0x74666f53
mov word [ebp - 0x18], 0x5c
test esi, esi
je 0x4297d3
push esi
call fcn.00507c20
add esp, 4
lea ecx, [ebp - 0x20]
push eax
push esi
call fcn.004a25f0
mov edx, dword [eax + 8]
lea ecx, [ebp - 0x14]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
movsx eax, byte [ecx + 0xb]
test eax, eax
cmovs eax, dword [ecx + 4]
cmovs ecx, dword [ecx]
test eax, eax
js 0x4297bd
sete dl
test ecx, ecx
setne dh
or dh, dl
je 0x4297b6
mov esi, dword [ebp + 8]
push eax
push ecx
push esi
call fcn.004648a0
add esp, 0xc
cmp byte [ebp - 9], 0
jns 0x429793
push dword [ebp - 0x14]
call fcn.004ec97e
add esp, 4
cmp byte [ebp - 0x15], 0
jns 0x4297a4
push dword [ebp - 0x20]
call fcn.004ec97e
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ecef0
mov eax, esi
add esp, 0x1c
pop esi
pop ebp
ret
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x4297c2
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x565ab5
call fcn.0051c8d0
push str....._third_partylibc_srcinclude__stringchar_traits.h:145:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
jmp 0x4297c2
push str....._third_partylibc_srcinclude_string:2862:_assertion___s___nullptr_failed:_string::append_received_nullptr_n
jmp 0x4297c2
Function at 0x42ba50
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, dword [ebp + 8]
mov eax, dword [0x587040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x20]
mov dword [edi], 0xffffffff
mov ecx, edi
call fcn.0042abd0
mov edi, dword [edi]
test edi, edi
je 0x42baeb
xor eax, eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
mov word [ecx + 4], 0x500
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
movsd xmm0, qword [0x56bca0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
sub esp, 0x2c
mov ebx, dword [ebx]
test eax, eax
je 0x42baf2
test ebx, ebx
je 0x42bb02
mov eax, dword [edi]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
sub esp, 8
cmp eax, 1
sete byte [esi]
mov byte [esi + 1], 1
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
sub esp, 4
jmp 0x42bb07
mov word [esi], 0
jmp 0x42bb13
test ebx, ebx
je 0x42bb02
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
sub esp, 4
mov word [esi], 0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ecef0
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42bb30
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov eax, dword [0x587040]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x10]
mov dword [edi], 0xffffffff
mov ecx, edi
call fcn.0042abd0
cmp dword [edi], 0
je 0x42bbcb
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
cmp byte [ecx + 0xb], 0
jns 0x42bb6f
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea edx, [ebp - 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 1
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
sub esp, 0x20
test eax, eax
je 0x42bbd2
mov edi, dword [ebp - 0x10]
xor eax, eax
xor ecx, ecx
mov byte [esi], al
mov byte [esi + 1], cl
test edi, edi
je 0x42bbb6
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004ecef0
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebp
ret 0xc
mov word [esi], 0
jmp 0x42bbb6
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
sub esp, 8
cmp eax, 1
sete al
mov cl, 1
jmp 0x42bba1
Function at 0x42f900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x587040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], 0
push ebx
push 0x42c410
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x42fa31
push 0x56be88
push 0x86
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x1c], 0
push ebx
push 0x42c410
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x42fa34
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov dword [ebp - 0x1c], 0
push ebx
push 0x42c410
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x42fa37
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
js 0x42fa22
sete cl
test edi, edi
setne dl
or dl, cl
je 0x42fa1b
push eax
push edi
push ebx
call fcn.004648a0
add esp, 0xc
movsx eax, byte [ebp - 0x11]
test eax, eax
jns 0x42f9ca
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test eax, eax
js 0x42fa22
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x42fa1b
mov esi, dword [ebp + 8]
xor ecx, ecx
inc ecx
push 0
push ecx
push ecx
push 0x5665b8
push eax
push ebx
push esi
call fcn.0045b070
add esp, 0x1c
cmp byte [ebp - 0x11], 0
jns 0x42fa05
push dword [ebp - 0x1c]
call fcn.004ec97e
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ecef0
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x42fa27
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x565ab5
call fcn.0051c8d0
int3
int3
int3
Function at 0x42fcc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x587040]
xor eax, ebp
mov dword [esi + 0xa8], eax
pxor xmm0, xmm0
movdqu xmmword [esi + 0x74], xmm0
movdqu xmmword [esi + 0x94], xmm0
movdqu xmmword [esi + 0x84], xmm0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x6c], 0x3c
mov dword [esi + 0x70], 0x40
mov dword [esi + 0x78], str.runas
xor ebx, ebx
dec ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea edi, [esi + 0x20]
push edi
call fcn.0046dc50
cmp byte [edi + 0xb], 0
js 0x42fd5a
mov eax, dword [esi + 0x28]
mov dword [esi + 0x68], eax
movq xmm0, qword [esi + 0x20]
movq qword [esi + 0x60], xmm0
lea ecx, [esi + 0x20]
call fcn.004b9720
cmp byte [esi + 0x6b], 0
js 0x42fd6a
lea eax, [esi + 0x60]
jmp 0x42fd6d
lea ecx, [esi + 0x60]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.004a33d0
jmp 0x42fd47
mov eax, dword [esi + 0x60]
mov dword [esi + 0x7c], eax
lea edi, [esi + 0x54]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0046e9d0
cmp byte [edi + 0xb], 0
jns 0x42fd8d
mov edi, dword [esi + 0x54]
lea eax, [esi + 0x6c]
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 5
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x20]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esi + 0x10]
push 0x17d
push str.....operadesktopwindowsos_operationsos_operations_impl.cc
push str.RunElevatedProcess
push edi
call fcn.004b8ac0
add esp, 0x10
mov ecx, ebx
push 0
push edi
call fcn.004aac50
lea eax, [esi + 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esi + 8], esp
sub esp, 0xc
mov ebx, esp
lea ecx, [ebx + 4]
test eax, eax
je 0x42fe58
push dword [esi + 0xa4]
call fcn.0045b850
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov edi, dword [esi + 0xc]
mov eax, dword [edi]
mov ebx, dword [eax + 0x60]
mov ecx, ebx
call dword [0x580f64]
mov ecx, edi
call ebx
mov esp, dword [esi + 8]
lea ecx, [esi + 0x20]
call fcn.004aacc0
cmp byte [esi + 0x5f], 0
jns 0x42fe2d
push dword [esi + 0x54]
call fcn.004ec97e
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x42fe3e
push dword [esi + 0x60]
call fcn.004ec97e
add esp, 4
mov ecx, dword [esi + 0xa8]
xor ecx, ebp
call fcn.004ecef0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0
jmp 0x42fdf3