joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447f70
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459b78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x47f060]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
push 4
push dword [ebp + 8]
mov dword [esp + 0x2c], 0
push 0x447dd0
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
lea ecx, [ebx + 0x20]
mov edi, eax
call fcn.004484f0
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x449f40
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x482724]
push esi
mov esi, ecx
test al, 1
jne 0x449f61
or eax, 1
push 0x45aec0
mov dword [0x482724], eax
call fcn.004521b7
add esp, 4
call fcn.00442ff0
push 1
push 0
cmp eax, 9
jl 0x449f84
push esi
push 0x46f498
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
ret
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
ret

Function at 0x44a420
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44a451
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.00453a50
mov dword [esp + 0xc], eax
test esi, esi
jne 0x44a459
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x46f670
lea ecx, [esp + 8]
call fcn.0044a2c0
int3
Function at 0x44a5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459e10
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x47f060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00412180
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x44a66b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x44b280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459a88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x47f060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea ecx, [edi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00412180
mov dword [edi + 0x2c], vtable.boost::exception.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44b910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
push esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
test eax, eax
je 0x44b9e9
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x44b9e9
push edi
push 0x100
call fcn.00451f28
mov edx, dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.0044b9f0
add esp, 8
test eax, eax
jne 0x44b955
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push ebx
xor ebx, ebx
xor ecx, ecx
test eax, eax
jle 0x44b9cd
sub dword [ebp - 4], esi
mov dword [ebp - 8], eax
inc ebx
and ebx, 0x800000ff
jns 0x44b978
dec ebx
or ebx, 0xffffff00
inc ebx
mov dl, byte [ebx + edi]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x44b990
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ecx + edi]
mov byte [ebx + edi], al
mov dword [ebp - 0x10], ecx
mov byte [ecx + edi], dl
movzx ecx, byte [ebx + edi]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x44b9b6
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ecx + edi]
mov ecx, dword [ebp - 4]
inc esi
xor al, byte [ecx + esi - 1]
dec dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov byte [esi - 1], al
jne 0x44b967
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0xc]
push edi
mov dword [eax], edx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44b9f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov ecx, edx
xor eax, eax
mov dword [ebp - 8], ecx
test esi, esi
je 0x44ba64
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x44ba05
push ebx
push edi
mov dword [ebp - 4], 0
xor edi, edi
jmp 0x44ba20
mov eax, edi
cdq
idiv ecx
mov bl, byte [edi + esi]
movzx ecx, bl
movzx eax, byte [edx + str._______UDPARC4KEYFORHARDKORE1.0.0PACKET1234567890Talkwithfriends_family_orteammatesoverafastandclearconnectionAbilitytousetextchatforanyonewithoutamicrophoneNativeclientandserversupportforall3majorplatformsAutomaticmicrophonevolumenormalizationAd]
add eax, dword [ebp - 4]
add ecx, eax
and ecx, 0x800000ff
jns 0x44ba47
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov dword [ebp - 4], ecx
mov byte [ecx + esi], bl
mov ecx, dword [ebp - 8]
cmp edi, 0x100
jl 0x44ba20
pop edi
or eax, 0xffffffff
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44bb40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459ee6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 7
xor eax, eax
push str.c:log_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00406c00
mov dword [ebp - 4], 0
mov eax, dword [0x482718]
test al, 1
jne 0x44bbbf
or eax, 1
mov dword [0x482718], eax
mov byte [ebp - 4], 1
call fcn.00443180
push 0x45aea0
call fcn.004521b7
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x482714], 8
mov edx, 0x482700
cmovae edx, dword [0x482700]
cmp word [edx], 0
jne 0x44bbdc
xor ecx, ecx
jmp 0x44bbf0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44bbe1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00405270
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp - 0x14], 8
jb 0x44bc23
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret

Function at 0x44bd10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
test dword [0x4827e8], 0x40000000
je 0x44bd2f
push dword [ebp + 8]
call fcn.0044bcd0
add esp, 4
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x44bd50
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x4827ec]
test ecx, ecx
je 0x44bec2
cmp eax, ecx
jbe 0x44bec2
mov edx, dword [0x4827f0]
push ebx
push esi
test edx, edx
je 0x44be6b
cmp edx, ecx
jae 0x44be6b
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
sub eax, edx
push eax
push edi
call esi
push dword [0x4827f0]
call fcn.00451f28
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44bdc2
push 2
push eax
push eax
push edi
call esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4827f0]
xor esi, esi
test eax, eax
je 0x44bdf4
lea ecx, [ecx]
push 0
lea ecx, [ebp - 4]
push ecx
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44be44
add esi, dword [ebp - 4]
mov eax, dword [0x4827f0]
cmp esi, eax
jb 0x44bdd0
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push edi
call eax
push 2
lea edx, [ebp - 8]
mov ecx, edi
mov dword [ebp - 8], 0xfeff
call fcn.0044bd10
add esp, 4
lea eax, [ebp - 4]
push 0
push eax
push dword [0x4827f0]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
cmp esi, dword [0x4827f0]
jae 0x44bdf4
push ebx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 4
push 2
push 0
push 0
push edi
call eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test dword [0x4827e8], 0x40000000
mov dword [ebp - 4], 0xfeff
je 0x44be9f
mov al, byte [ebp - 3]
mov byte [ebp - 4], 0xa5
test al, al
je 0x44be9f
cmp al, 0x5a
je 0x44be9f
xor al, 0x5a
mov byte [ebp - 3], al
push 0
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44bed0
Capabilities:
Get file size
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x4827e0], 0
push edi
mov edi, edx
je 0x44bff3
push esi
push 0x80
push 0x48281c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push 0x48281c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44bff2
mov ecx, dword [0x4827e8]
and ecx, 4
test cl, 7
je 0x44bf34
mov ecx, esi
call fcn.0044bd50
push ebx
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44bf92
test dword [0x4827e8], 0x40000000
mov dword [ebp - 4], 0xfeff
je 0x44bf7c
mov al, byte [ebp - 3]
mov byte [ebp - 4], 0xa5
test al, al
je 0x44bf7c
cmp al, 0x5a
je 0x44bf7c
xor al, 0x5a
mov byte [ebp - 3], al
push 0
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 8], 0
call ebx
test edi, edi
jne 0x44bf9a
xor ecx, ecx
jmp 0x44bfb1
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44bfa0
sub ecx, edx
sar ecx, 1
add ecx, ecx
test dword [0x4827e8], 0x40000000
je 0x44bfd8
push ecx
mov edx, edi
mov ecx, esi
call fcn.0044bcd0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push ecx
push edi
push esi
mov dword [ebp - 8], 0
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x44c2c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
xorps xmm0, xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.0044c320
mov ecx, esi
call fcn.0044c3d0
movq xmm0, qword [esi + 0x58]
mov eax, dword [ebp + 0x10]
movq qword [eax], xmm0
movq xmm0, qword [esi + 0x60]
movq qword [eax + 8], xmm0
pop esi
pop ebp
ret 0xc
Function at 0x411db0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5cf6b0
push 0x53f500
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5edd38]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x24], edi
xor bl, bl
test edi, edi
je 0x411f7c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x411f7c
cmp byte [ecx], bl
je 0x411f7c
test eax, eax
je 0x411f7c
cmp byte [eax], bl
je 0x411f7c
test esi, esi
je 0x411f7c
cmp dword [ebp + 0x18], 0
je 0x411f7c
push eax
call dword [0x581234]
test eax, eax
je 0x411f7c
push 0
push 0x40
push esi
call fcn.00412030
add esp, 0xc
test al, al
je 0x411f7c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x411f7c
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x30], eax
push 0
push 0xf8
push eax
call fcn.00412030
add esp, 0xc
test al, al
je 0x411f7c
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0x4550
jne 0x411f7c
mov esi, dword [eax + 0x80]
mov edx, dword [ebp - 0x2c]
add esi, edx
cmp esi, eax
je 0x411fa2
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411eb4
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x411ef6
mov edi, edx
nop word [eax + eax]
add eax, edi
push ecx
push dword [ebp - 0x20]
push eax
call fcn.00412198
add esp, 0xc
test eax, eax
je 0x411ef0
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
mov ecx, dword [ebp - 0x30]
jne 0x411ed0
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
cmp dword [esi + 0xc], 0
je 0x411fa2
mov esi, dword [esi + 0x10]
add esi, edx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
test eax, eax
je 0x411f7c
cmp eax, ecx
jne 0x411f9a
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x80
push 4
push esi
call dword [0x5813f0]
test eax, eax
je 0x411f7c
mov dword [ebp - 4], 0
xchg dword [esi], edi
mov bl, 1
mov byte [ebp - 0x25], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x411f65
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 4
push esi
call dword [0x5813f0]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x411f08
xor al, al
jmp 0x411f7e
Function at 0x423476
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00557fbc
Function at 0x46cd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c6c0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5edd38]
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.00406a5e
mov edi, eax
add esp, 4
test edi, edi
je 0x46ce32
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0046ce4a
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x476cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5737c6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5edd38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
lea esi, [edi + 0x30]
mov byte [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x2c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [ebp - 0x10], esi
lfence
call fcn.00406a5e
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x50], 0
lea esi, [edi + 0x54]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [ebp - 0x10], esi
lfence
call fcn.00406a5e
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 1
push ecx
call dword [0x581320]
lea ecx, [edi + 0x14]
push ecx
call dword [0x581320]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x479100
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5739ac
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5edd38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0x38]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
lfence
call fcn.00406a5e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 7
mov word [edi + 0x40], cx
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], 7
mov word [edi + 0x58], cx
xor eax, eax
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], 7
mov word [edi + 0x70], ax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x14]
push eax
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], ecx
mov dword [edi], ecx
mov byte [edi + 0xc], cl
mov byte [edi + 0x88], cl
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], ecx
call dword [0x581320]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x479209
mov edx, ecx
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4791f0
sub edx, esi
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x40]
call fcn.00408f30
test ebx, ebx
je 0x47922b
mov edx, ebx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x479212
sub edx, esi
lea ecx, [edi + 0x58]
sar edx, 1
push edx
push ebx
call fcn.00408f30
call fcn.00478d60
cmp eax, 0x68
jl 0x47926a
push 0x583ba0
call dword [0x581288]
mov esi, eax
test esi, esi
je 0x47926a
push str.GetNamedPipeServerProcessId
push esi
call dword [0x581390]
push str.GetNamedPipeClientProcessId
push esi
mov dword [edi + 0x8c], eax
call dword [0x581390]
mov dword [edi + 0x90], eax
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 0xc
Function at 0x4961d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575497
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5edd38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x14], 0
je 0x496225
mov dword [ebx], 0x58f120
mov dword [ebx + 0x50], 0x5a73c4
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
push 0
lea esi, [ebx + 4]
mov ecx, ebx
push 0
push esi
mov dword [ebp - 0x10], esi
call fcn.00496010
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x5a7454
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], 0x5a73d4
call fcn.00406a5e
mov esi, eax
add esp, 4
test esi, esi
je 0x496289
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 2
call fcn.0046ce4a
add esp, 4
mov dword [esi + 4], eax
jmp 0x49628b
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov esi, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
not ecx
mov dword [edi], 0
mov dword [edx], 0
and ecx, 1
shl ecx, 2
mov eax, ebx
mov edx, ecx
mov dword [esi], 0x5a7414
or edx, 8
mov dword [esi + 0x38], 0
and al, 8
cmove edx, ecx
mov eax, edx
or eax, 0x10
and bl, 4
cmove eax, edx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x18]
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 0x4c1860
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577048
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5edd38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0x5a7350
lea esi, [edi + 0xc]
mov word [edi + 4], 0
mov byte [edi + 6], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [ebp - 0x10], esi
lfence
call fcn.00406a5e
add esp, 4
lea ecx, [edi + 0x14]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push ecx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call dword [0x581320]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret