joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8380c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
lea eax, [ecx + 0x4c]
mov dword [ebp - 4], 0
mov edi, esi
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x14], 8
mov ebx, dword [esi + 0x10]
jb 0x44daf8
mov edi, dword [esi]
xor edx, edx
mov ecx, 0x811c9dc5
add ebx, ebx
je 0x44db17
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x44db03
mov eax, dword [ebp - 0x14]
push ecx
push esi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00449d90
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44db5f
add eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.invalid_unordered_map_K__T__key
call fcn.007fc92d
int3
Function at 0x452990
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x838b3f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
lea ecx, [ebx + 4]
mov dword [ebp - 0x10], 0
mov dword [ebx], vtable.OfferDownloader.0
lea eax, [esi + 0x18]
push eax
call fcn.004c1770
lea eax, [esi + 0x30]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0xa0]
push eax
call fcn.00436260
lea ecx, [ebx + 0xb8]
mov byte [ebp - 4], 1
push esi
call fcn.00436260
xor eax, eax
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 7
mov word [ebx + 0xd0], ax
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xf8], eax
mov dword [ebx + 0xfc], 7
mov word [ebx + 0xe8], ax
lea esi, [ebx + 0x100]
mov dword [esi], 0x88d61c
mov dword [ebp - 0x14], esi
mov dword [esi + 0x70], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push eax
lea edi, [esi + 4]
mov byte [ebp - 4], 5
push eax
push edi
mov ecx, esi
mov dword [ebp - 0x10], 1
mov dword [ebp + 8], edi
call fcn.004527a0
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 6
mov dword [ebp - 0x1c], edi
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.008000f5
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x452ad4
push 1
mov byte [ebp - 4], 7
call fcn.007fcbbb
add esp, 4
mov dword [ebx + 4], eax
jmp 0x452ad6
xor ebx, ebx
mov dword [edi + 0x34], ebx
lea edx, [edi + 8]
lea ebx, [edi + 4]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
lea eax, [esi + 4]
mov dword [ebp - 0x10], ebx
lea ecx, [eax + 0x18]
mov ebx, dword [ebp + 8]
lea esi, [eax + 0x24]
add edi, 0x14
add eax, 0x28
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x10]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x2c], esi
mov ebx, dword [ebp - 0x10]
mov dword [edx], 0
mov edx, dword [ebp + 8]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [edx + 0x4c], 0
mov eax, dword [0xa74980]
mov ecx, dword [0xa74984]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4534b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x838cb2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.00436260
add ebx, 0x18
mov dword [ebp - 4], 0
add edi, 4
mov dword [ebp + 0xc], ebx
push edi
mov ecx, ebx
call fcn.00436260
lea eax, [edi + 0x18]
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x18]
push eax
call fcn.00436260
lea eax, [edi + 0x30]
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x30]
push eax
call fcn.00436260
mov ax, word [edi + 0x48]
lea esi, [ebx + 0x4c]
mov word [ebx + 0x48], ax
mov eax, dword [edi + 0x4c]
mov dword [esi], eax
push 0x38
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.008000f5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [edi + 0x64]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x5c]
sub eax, dword [edi + 0x58]
push dword [esi + 4]
sar eax, 2
push eax
mov byte [ebp - 4], 5
call fcn.004371c0
mov eax, dword [edi + 0x50]
mov ecx, esi
push eax
push dword [eax]
call fcn.0044d510
lea eax, [edi + 0x6c]
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x6c]
push eax
call fcn.00436260
lea eax, [edi + 0x84]
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x84]
push eax
call fcn.00436260
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 8
lea ecx, [ebx + 0xb4]
call fcn.00444140
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xe0], 0
mov word [ebx + 0xe0], ax
mov eax, ebx
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4558b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8391bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
call fcn.008000f5
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [ebp - 4], 0
add edi, 4
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_58506b185bfba6adff4ee4b12c61133d___void__class_std::shared_ptr_class_Context__.0
push edi
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.00436260
lea eax, [edi + 0x18]
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x18]
push eax
call fcn.00436260
lea eax, [edi + 0x30]
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x30]
push eax
call fcn.00436260
lea eax, [edi + 0x48]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x48]
call fcn.00436260
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45c840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x83a14d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.008000f5
mov edi, eax
add esp, 4
test edi, edi
je 0x45c8dd
push 1
mov dword [ebp - 4], 0
call fcn.007fcbbb
add esp, 4
mov dword [edi + 4], eax
jmp 0x45c8df
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00439950
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx ebx, ax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x45c93b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x45c93b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x45c958
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x45c97b
cmp byte [ebp + 0xc], 0
je 0x45c967
push esi
call fcn.007fd551
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x45c987
mov esi, str.ios_base::badbit_set
jmp 0x45c997
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00447070
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.004446f0
push 0xa125f8
lea eax, [ebp - 0x28]
push eax
call fcn.00801c70
int3
Function at 0x462310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov bl, byte [ebp + 0x18]
xor ecx, ecx
movzx eax, bl
shl eax, 6
or eax, 0x800100
mov dword [ebp - 0x3c], 0x3c
cmp byte [ebp + 0x14], cl
mov dword [ebp - 0x38], eax
mov eax, str.runas
cmove eax, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 8
jb 0x462352
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x462360
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x10], ecx
jne 0x46236f
xor eax, eax
jmp 0x462377
cmp dword [eax + 0x14], 8
jb 0x462377
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, 5
xor eax, eax
mov dword [ebp - 0x1c], 0
cmp byte [ebp + 0x1c], al
cmovne eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x4623c4
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4623c2
test bl, bl
je 0x4623bb
push 0x1d4c0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4623d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov bl, byte [ebp + 0x14]
movzx eax, bl
shl eax, 6
or eax, 0x800100
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.runas
cmp dword [eax + 0x14], 8
jb 0x462409
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x462417
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x10], 0
jne 0x462427
xor eax, eax
jmp 0x46242f
cmp dword [eax + 0x14], 8
jb 0x46242f
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x462473
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x462471
test bl, bl
je 0x46246a
push 0x1d4c0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462480
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x83ab08
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], esi
cmp dword [edi + 0x14], 8
jb 0x4624c4
mov eax, dword [edi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x44], eax
test eax, eax
je 0x46267e
push eax
call fcn.008008c1
mov ebx, eax
mov dword [ebp - 0x4c], eax
add esp, 4
test ebx, ebx
je 0x4624f9
push dword [ebp - 0x44]
push 0
push ebx
call fcn.00802640
add esp, 0xc
jmp 0x4624fe
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x462510
mov edi, dword [edi]
push ebx
push dword [ebp - 0x44]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46266f
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x54]
push eax
push 0x88ff00
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46266f
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x46266f
mov ecx, dword [eax + 0x14]
mov ebx, ecx
mov eax, dword [eax + 8]
mov esi, eax
movzx edi, ax
movzx eax, cx
lea ecx, [ebp - 0x108]
push 1
shr esi, 0x10
shr ebx, 0x10
mov dword [ebp - 0x50], eax
call fcn.00456000
push 0x2e
push esi
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.00461ca0
push eax
call fcn.00443610
add esp, 8
mov ecx, eax
push 0x2e
push edi
call fcn.00461ca0
push eax
call fcn.00443610
add esp, 8
mov ecx, eax
push 0x2e
push ebx
call fcn.00461ca0
push eax
call fcn.00443610
add esp, 8
mov ecx, eax
push dword [ebp - 0x50]
call fcn.00461ca0
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xfc], 0
jne 0x4625f9
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x108]
call fcn.004568a0
mov esi, dword [ebp - 0x48]
mov ecx, esi
push eax
call fcn.00454430
lea ecx, [ebp - 0x40]
call fcn.00436680
jmp 0x462652
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00454430
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x462652
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462648
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4626bb
push edx
push ecx
call fcn.00800125
add esp, 8
lea ecx, [ebp - 0x108]
call fcn.00445070
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x46269d
push eax
call fcn.008008bc
add esp, 4
jmp 0x46269d
test ebx, ebx
je 0x462684
push ebx
call fcn.008008bc
add esp, 4
jmp 0x462684
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00800392
mov esp, ebp
pop ebp
ret
call fcn.00805a59
int3
Function at 0x4626d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x20], 0
cmp eax, 7
ja case.default.0x4626f6
jmp dword [eax*4 + 0x462804]
movups xmm0, xmmword [0x9e0aa0]
jmp 0x46274c
movups xmm0, xmmword [0x9e0a50]
jmp 0x46274c
movups xmm0, xmmword [0x9e0ab0]
jmp 0x46274c
movups xmm0, xmmword [0x9e0a90]
jmp 0x46274c
movups xmm0, xmmword [0x9e0a80]
jmp 0x46274c
movups xmm0, xmmword [0x9e0a30]
jmp 0x46274c
movups xmm0, xmmword [0x9e0a60]
jmp 0x46274c
movups xmm0, xmmword [0x9e0a40]
jmp 0x46274c
movups xmm0, xmmword [0x9e0ac0]
lea eax, [ebp - 0x20]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
movups xmmword [ebp - 0x14], xmm0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x4627d9
mov edx, dword [ebp - 0x20]
mov ecx, edx
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 7
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462780
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00437780
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [ebp - 0x1c]
mov dword [esi], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [ebp - 0xc]
movq qword [esi + 0x10], xmm0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00800392
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [esi], 0
xor ecx, ebp
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
pop esi
call fcn.00800392
mov esp, ebp
pop ebp
ret

Function at 0x462990
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4629ff
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4629ff
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.00800392
mov esp, ebp
pop ebp
ret

Function at 0x462a20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x462a2e
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
setne al
pop ebp
ret
Function at 0x462a50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0x44
push ebx
push edi
push 0x3ffe
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x10], xmm0
call fcn.008008c1
mov edi, eax
add esp, 4
test edi, edi
je 0x462ab3
push 0x3ffe
push 0
push edi
call fcn.00802640
add esp, 0xc
jmp 0x462ab5
xor edi, edi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x462ac0
mov ecx, dword [ecx]
mov edx, edi
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x462ac4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x462ae1
xor eax, eax
jmp 0x462ae9
cmp dword [eax + 0x14], 8
jb 0x462ae9
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push eax
push 0
push 0x8000000
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x462b36
cmp byte [ebp + 0x10], 0
je 0x462b32
push 0x1d4c0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x462b38
xor bl, bl
test edi, edi
je 0x462b45
push edi
call fcn.008008bc
add esp, 4
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x83b1f5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edi
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x466160
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x46618a
mov edx, dword [ebp - 0x18]
mov edi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x466173
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
push esi
push edi
lea eax, [ebp - 0x1c]
mov ecx, edx
push eax
call fcn.00449d90
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x466296
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x38e38e3
je 0x4662ac
add eax, 4
mov dword [ebp - 0x24], eax
push 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.008000f5
xor ecx, ecx
mov dword [ebp - 0x20], eax
add esp, 4
mov dword [eax + 8], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmm0, xmmword [edi]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x18], xmm0
xorps xmm0, xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x30], xmm0
movq qword [eax + 0x40], xmm0
mov byte [eax + 0x40], cl
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x88c6b0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x88c6b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x466287
mov ecx, edi
call fcn.00466de0
mov eax, dword [ebp - 0x20]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00449d90
mov ecx, dword [eax]
jmp 0x46628a
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ecx
push esi
mov ecx, edi
call fcn.00453e60
add eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call fcn.007fc90d
int3