joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006d340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101db24c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10269bac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1006d3f4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.1006b6e0
cmp byte [edi + 0x68], 1
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x1006d432
cmp dword [edi + 0x70], 0
jne 0x1006d432
push 0x4c8
push str.D:3.0dll_Testdsoundlibsjsoninclude_nlohmannjson.hpp
push str.m_type___value_t::object__m_value.object___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 2
jne 0x1006d452
cmp dword [edi + 0x70], 0
jne 0x1006d452
push 0x4c9
push str.D:3.0dll_Testdsoundlibsjsoninclude_nlohmannjson.hpp
push str.m_type___value_t::array__m_value.array___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 3
jne 0x1006d472
cmp dword [edi + 0x70], 0
jne 0x1006d472
push 0x4ca
push str.D:3.0dll_Testdsoundlibsjsoninclude_nlohmannjson.hpp
push str.m_type___value_t::string__m_value.string___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 8
jne 0x1006d492
cmp dword [edi + 0x70], 0
jne 0x1006d492
push 0x4cb
push str.D:3.0dll_Testdsoundlibsjsoninclude_nlohmannjson.hpp
push str.m_type___value_t::binary__m_value.binary___nullptr
call ebx
add esp, 0xc
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.1006e130
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1006d4be
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x10077930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x102f0d14]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10077a19
mov eax, dword [edi]
test eax, eax
jne 0x1007798f
push 0x54
push str.D:3.0dll_Testdsoundconnection_win.cpp
push str.self
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x100779d2
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x100779d2
test ebx, ebx
jne 0x100779b2
push 0x5b
push str.D:3.0dll_Testdsoundconnection_win.cpp
push 0x102525b0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x100779d2
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp eax, 1
jne 0x100779d2
cmp dword [ebp + 0xc], esi
je 0x10077a19
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100779f2
mov eax, dword [edi + 4]
cmp eax, 3
je 0x100779e6
cmp eax, 1
jne 0x100779f2
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1007d590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dbf6d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x10269bac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
push 0x10256150
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.100591d0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0x3c
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], str.cmd.exe
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x1007d639
or esi, 0xffffffff
jmp 0x1007d65d
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1007d693
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007d689
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007d689
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101d4bdd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1007db40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc065
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10269bac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x10], ecx
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1007d960
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x1c]
sar esi, 3
push esi
call fcn.101d4ec6
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
jle 0x1007dbae
nop dword [eax]
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx + edx*8]
mov byte [edx + edi], cl
inc edx
cmp edx, esi
jl 0x1007dba0
add ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
push eax
push 0x40
push esi
push ebx
push dword [0x102cb17c]
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov eax, dword [0x102ec7cc]
test eax, eax
je 0x1007dbde
push 0
push esi
push edi
push ebx
push dword [0x102cb17c]
call eax
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push ebx
push dword [0x102cb17c]
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
push edi
call fcn.101d4ec1
mov edx, dword [ebp - 0x1c]
add esp, 4
test edx, edx
je 0x1007dc44
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1007dc25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007dc6a
push ecx
push edx
call fcn.101d4bdd
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1007dc7a
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007dc70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007dc70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101d4bdd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007f700
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc2cd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10269bac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
push 9
push str.net_stop
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1004dc30
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call fcn.1004dc30
push 9
push str.sc_stop
lea ecx, [ebp - 0x28]
call fcn.1004dc30
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call fcn.1004dc30
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.1004ca80
call fcn.1007d590
add esp, 0x18
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0x10256144
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
je 0x1007f7ed
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1007f821
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f817
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f89b
push ecx
push edx
call fcn.101d4bdd
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x1007f863
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f859
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f89b
push ecx
push edx
call fcn.101d4bdd
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x1007f8ab
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f8a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007f8a1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101d4bdd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret
Function at 0x100804a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc44d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x10269bac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
cmovae edx, dword [ebp + 0x20]
mov ecx, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100804f2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.1004e9e0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.1004ca80
mov ecx, 0x102ec548
call fcn.10063f40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x10080559
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008054f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008062d
push ecx
push edx
call fcn.101d4bdd
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 4
call fcn.101d477e
mov dword [ebp - 0x10], eax
mov dword [eax], 0x10055b70
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x10051790
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1008064d
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x100805af
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x100805c5
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x100805f5
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100805eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008062d
push ecx
push edx
call fcn.101d4bdd
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x1008063d
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10080633
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10080633
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101d4bdd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x10082330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x10257f4c
push dword [ebp + 8]
lea eax, [ebp - 4]
mov dword [ebp - 8], ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ebx, dword [ebp - 4]
add esp, 0xc
test ebx, ebx
jne 0x1008236b
lea eax, [ebx - 3]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 2
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x10082384
mov esi, 0xfffffffd
jmp 0x100823fc
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
add esp, 4
test esi, esi
js 0x1008237d
jne 0x1008239a
xor esi, esi
jmp 0x100823fc
lea eax, [esi + 1]
push 0x1024f438
push eax
call fcn.101d4ecf
mov edi, eax
add esp, 8
test edi, edi
jne 0x100823b6
lea esi, [eax - 2]
jmp 0x100823fc
push 0
push 0
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
push ebx
push esi
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x100823e7
push edi
call fcn.101d4ec1
mov esi, 0xfffffffd
jmp 0x100823f9
mov ecx, dword [ebp - 8]
push eax
push edi
call fcn.10082f90
push edi
mov esi, eax
call fcn.101d4ec1
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10082630
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push dword [ebp + 8]
mov esi, ecx
push 0x102545b4
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x10082729
xor cl, cl
nop dword [eax + eax]
movsx edx, cl
cmp byte [edx + eax], 0xb8
je 0x10082679
inc cl
cmp cl, 0xf
jl 0x10082660
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [edx + eax + 1]
test ebx, ebx
je 0x10082728
push str.Wow64Transition
push 0x102545b4
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x40
push 0x3000
push 0x10
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0xc], eax
shr ecx, 8
mov dword [ebp - 0x10], ecx
mov ecx, eax
shr eax, 0x18
mov dword [ebp - 0x18], eax
mov eax, ebx
shr eax, 8
mov dword [ebp + 8], eax
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 4], eax
mov eax, ebx
shr ecx, 0x10
shr eax, 0x18
push 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [esi], eax
test eax, eax
je 0x10082728
mov ecx, dword [ebp + 8]
mov dword [eax], 0xb8909090
mov byte [eax + 4], bl
mov byte [eax + 5], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 6], cl
mov ecx, dword [ebp - 8]
mov byte [eax + 7], cl
mov ecx, dword [ebp - 0xc]
mov byte [eax + 8], 0xba
mov byte [eax + 9], cl
mov ecx, dword [ebp - 0x10]
mov byte [eax + 0xa], cl
mov ecx, dword [ebp - 0x14]
mov byte [eax + 0xb], cl
mov ecx, dword [ebp - 0x18]
mov byte [eax + 0xc], cl
mov word [eax + 0xd], 0xd2ff
mov byte [eax + 0xf], 0xc3
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10082740
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movss xmm0, dword [0x10269c70]
mov eax, dword [0x102cb17c]
movss dword [ebp - 4], xmm1
movss dword [ebp - 8], xmm0
push ebx
push esi
push edi
mov edi, ecx
test eax, eax
jne 0x100827cf
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov ecx, esi
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
call fcn.1004ee30
mov edx, eax
mov dword [esi + 0x10], 0x17
mov dword [esi], edx
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Invalid_process_handle.]
movups xmmword [edx], xmm0
mov ecx, dword [0x10257f70]
mov dword [edx + 0x10], ecx
mov cx, word [0x10257f74]
mov word [edx + 0x14], cx
mov al, byte [0x10257f76]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
call fcn.1007faa0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
push edi
push eax
call ebx
test eax, eax
jne 0x10082850
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov ecx, esi
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
call fcn.1004ee30
mov edx, eax
mov dword [esi + 0x10], 0x23
mov dword [esi], edx
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.Failed_to_change_memory_protection.]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x10257fa8]
movups xmmword [edx + 0x10], xmm0
mov cx, word [0x10257fb8]
mov word [edx + 0x20], cx
mov al, byte [0x10257fba]
mov byte [edx + 0x22], al
mov byte [edx + 0x23], 0
call fcn.1007faa0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 4
lea eax, [ebp - 8]
push eax
push edi
push dword [0x102cb17c]
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
jne 0x100828dc
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov ecx, esi
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
call fcn.1004ee30
mov dword [esi], eax
mov dword [esi + 0x10], 0x1a
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Failed_to_write_to_memory.]
movups xmmword [eax], xmm0
movq xmm0, qword [0x10257f8c]
movq qword [eax + 0x10], xmm0
mov cx, word [0x10257f94]
mov word [eax + 0x18], cx
mov byte [eax + 0x1a], 0
call fcn.1007faa0
add esp, 0x18
push 0
push dword [ebp - 4]
push 4
push edi
push dword [0x102cb17c]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 4]
push 4
push edi
push dword [0x102cb17c]
call ebx
test eax, eax
jne 0x10082948
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov ecx, esi
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
call fcn.1004ee30
mov dword [esi], eax
mov dword [esi + 0x10], 0x24
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.Failed_to_restore_memory_protection.]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x10257fcc]
movups xmmword [eax + 0x10], xmm0
mov ecx, dword [0x10257fdc]
mov dword [eax + 0x20], ecx
mov byte [eax + 0x24], 0
call fcn.1007faa0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008a1c0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x102c7c64], 0
jne 0x1008a1ce
call fcn.1009e4c0
cmp byte [0x102c7c6d], 0
je 0x1008a1ec
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.1009e850
add esp, 0x10
ret
jmp fcn.10088570
Function at 0x100a8f20
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x10269bac]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100a8feb
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.100c2950
add esp, 0xc
test eax, eax
jne 0x100a8feb
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.100c2950
add esp, 0xc
test eax, eax
jne 0x100a8feb
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100a8f74
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.100c2920
add esp, 0xc
test eax, eax
je 0x100a8fa8
sub eax, esi
push eax
push 0x2e
push esi
call fcn.100c2920
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x100a8faa
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x100a8fd6
mov al, byte [esi]
push eax
call fcn.100b71b0
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x100a8fb8
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.101d4758
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.101d4758
add esp, 0x18
ret

Function at 0x100a9c70
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [0x102660ec]
cmp eax, 0xffffffff
jne 0x100a9cb2
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x100a9c98
xor eax, eax
test eax, eax
mov dword [0x102660ec], eax
setg al
ret
push eax
push 0
mov dword [0x102660ec], 1
call fcn.100b3380
mov eax, dword [0x102660ec]
add esp, 8
test eax, eax
setg al
ret

Function at 0x100a9cc0
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2f0], 2
jne 0x100a9d15
mov eax, dword [0x102660ec]
cmp eax, 0xffffffff
jne 0x100a9d0f
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x100a9cf5
xor eax, eax
test eax, eax
mov dword [0x102660ec], eax
setg al
ret
push eax
push 0
mov dword [0x102660ec], 1
call fcn.100b3380
mov eax, dword [0x102660ec]
add esp, 8
test eax, eax
setg al
ret
mov al, 1
ret