joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418fc0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ee2d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4c0100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov edx, dword [ebp + 0x18]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov word [ebp - 0x10], 0
movups xmmword [ebp - 0x2c], xmm0
test edx, edx
je 0x4190a8
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
push 0
cmova eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push 1
lea eax, [eax + edx*2]
lea edx, [ebp + 8]
cmova edx, dword [ebp + 8]
sub eax, edx
sar eax, 1
push eax
call fcn.0041a8c0
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
push 0
push 1
lea eax, [ecx + eax*2]
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
sub eax, ecx
lea ecx, [ebp + 8]
sar eax, 1
push eax
call fcn.0041a8c0
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
mov dword [ebp - 0x28], 3
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, 0x614
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4190a8
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
push eax
cmova ecx, dword [ebp + 8]
push ecx
push str.Failed_to_delete_the_directory__s_with:__i.
push 1
call fcn.00416030
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x4190de
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4190d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4190ee
push ecx
push edx
call fcn.0047292b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004780c4
int3
Function at 0x419100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ee5d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x4a2e70
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x4191ac
mov edx, dword [ebp - 0x2c]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419170
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00409510
push 0x4b5138
lea ecx, [ebp - 0x28]
call fcn.0040bf80
push str.EasyAntiCheat
lea ecx, [ebp - 0x28]
call fcn.0040bf80
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x18], 0
je 0x419207
cmp dword [0x4c0d00], 0
je 0x4191f1
mov ecx, 0x4c0cb4
call fcn.0041a6e0
test eax, eax
jne 0x4191f1
mov eax, dword [0x4c0cb0]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, 0x4c0cb0
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00415600
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0040bb40
call fcn.00418fc0
add esp, 0x18
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x41923d
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419233
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419257
push ecx
push edx
call fcn.0047292b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call fcn.004780c4
int3

Function at 0x41ab10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e970
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c0100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x4b4690
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
mov dword [edi + 0x30], 0
call fcn.004728f6
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0045a644
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0041aab0
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 0x41bdd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x41bde8
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea ecx, [ebx + 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x41be10
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x41be09
mov eax, dword [eax]
push edx
push eax
call fcn.00409510
lea edi, [ebx + 0x20]
mov dword [ebx + 0x1c], 2
cmp dword [edi + 0x14], 7
lea ecx, [edi + 0x10]
mov dword [ebp - 4], ecx
jbe 0x41be35
mov eax, dword [edi]
mov dword [ecx], 0
xor ecx, ecx
mov word [eax], cx
jmp 0x41be43
xor eax, eax
mov dword [ecx], 0
mov dword [ebp - 4], ecx
mov word [edi], ax
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, ebx
push 8
mov dword [eax], 0
call fcn.004728f6
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebx + 4]
mov dword [eax], 0x41bfe0
push 0
push 0
push eax
push 0x40f8d0
push 0
push 0
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x41beb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push dword [ebp - 8]
call fcn.0047292b
add esp, 8
mov ecx, esi
push 0x33
push str.Code_signing_certificate_validation_timed_out__1_2_
call fcn.00409510
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0xc]
mov dword [ebx], eax
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41bee2
push 0x33
push str.Code_signing_certificate_validation_timed_out__2_2_
mov ecx, esi
call fcn.00409510
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, edi
je 0x41befb
cmp dword [edi + 0x14], 7
mov eax, dword [ebp - 4]
jbe 0x41bef1
mov edi, dword [edi]
push dword [eax]
mov ecx, esi
push edi
call fcn.00409510
mov eax, dword [ebx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c8a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 8
call fcn.004728f6
add esp, 4
mov esi, eax
mov dword [ebp - 8], esi
push 0
push 0
push esi
push 0x40f8d0
push 0
push 0
mov dword [esi], 0x41c0d0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x41c8ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push esi
call fcn.0047292b
add esp, 8
jmp 0x41c8f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
pop esi
test eax, eax
je 0x41c916
cmp dword [ebp - 4], 0
je 0x41c916
call fcn.0041ca90
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ca7e
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x4c0d60], eax
test eax, eax
je 0x41ca7e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4c0d6c], eax
test eax, eax
je 0x41ca7e
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
push 1
xorps xmm0, xmm0
push str.D:_A_OICI_GA___BG__A_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x41ca7e
push 0x4b6c80
push 0x4000000
push 0
push 4
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x4c0d64], eax
test eax, eax
je 0x41ca75
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x4c0d68], eax
test eax, eax
je 0x41ca75
mov dword [eax], 1
mov eax, dword [0x4c0d68]
push str.GlobalEasyAntiCheat_EOSEventModule
push 0
push 1
mov dword [eax + 4], 0x4000000
mov eax, dword [0x4c0d68]
mov dword [eax + 0x10], 0
mov eax, dword [0x4c0d68]
mov dword [eax + 0x14], 0
mov eax, dword [0x4c0d68]
mov dword [eax + 8], 0x70000
mov dword [eax + 0xc], 0x10003
mov eax, dword [0x4c0d68]
mov dword [eax + 0x18], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4c0d70], eax
test eax, eax
je 0x41ca75
push str.GlobalEasyAntiCheat_EOSEventDriver
push 0
push 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4c0d74], eax
test eax, eax
je 0x41ca75
push str.GlobalEasyAntiCheat_EOSEventGame
push 0
push 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4c0d78], eax
test eax, eax
je 0x41ca75
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x41e6c0
Capabilities:
Create service
Delete service
Start service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4c0100]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x41e6e9
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], ebx
push 2
push ecx
push ecx
mov word [eax], cx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x41e846
cmp dword [edi + 0x14], 7
jbe 0x41e70f
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 3
push 1
push 0x10030
push str.EasyAntiCheat_EOSSys
push str.EasyAntiCheat_EOSSys
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
test ebx, ebx
je 0x41e7a9
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x41e83a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x41e83a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.StartService_failed_with__i.
push eax
call fcn.00420510
add esp, 0xc
mov ecx, esi
push eax
call fcn.00409620
lea ecx, [esp + 0x14]
call fcn.004037b0
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [esp + 0x10]
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41e894
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.CreateService_failed_with__i.
push eax
call fcn.00420510
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x41e831
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x41e801
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41e7f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e8aa
mov eax, edx
push ecx
push eax
call fcn.0047292b
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [esp + 0x14]
call fcn.004037b0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41e894
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.OpenSCManager_failed_with__i.
push eax
call fcn.00420510
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x41e88b
mov ecx, esi
call fcn.004037b0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [esp + 0x14]
call fcn.004037b0
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret 8
call fcn.004780c4
int3
Function at 0x422c70
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4c0100]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x422c99
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov word [eax], cx
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ecx
push str.SoftwareEasyAntiCheat_EOS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422d20
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareEasyAntiCheat_EOS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x422d25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.RegDeleteKeyW_failed_with__i
push eax
call fcn.00420510
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x422dc0
mov ecx, esi
call fcn.004037b0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], ebx
jmp 0x422db4
cmp eax, 2
jne 0x422d3e
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.RegOpenKeyEx_failed_with__i
push eax
call fcn.00420510
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x422dc0
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x422d92
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x422d88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422ddd
mov eax, edx
push ecx
push eax
call fcn.0047292b
add esp, 8
mov dword [esi + 0x10], ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [esp + 0x14]
call fcn.004037b0
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call fcn.004780c4
int3
Function at 0x424c90
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4c0100]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, edx
xor bl, bl
push edi
mov edi, ecx
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x424cb7
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
test edi, edi
jne 0x424ce9
push 0x12
push str.Invalid_parameters
mov ecx, esi
call fcn.00409510
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x424d4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
je 0x424d4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.DeleteService_failed_with__i
push eax
call fcn.00420510
add esp, 0xc
mov ecx, esi
push eax
call fcn.00409620
lea ecx, [esp + 0x10]
call fcn.004037b0
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x44]
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
Function at 0x4251f0
Capabilities:
Create directory
Delete directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 7
lea ebx, [esi + 0x14]
push edi
mov byte [ebp - 1], dl
mov edi, ecx
jbe 0x425216
mov eax, dword [esi]
lea ecx, [esi + 0x14]
mov dword [ebp - 0xc], ecx
jmp 0x425219
mov dword [ebp - 0xc], ebx
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 8]
push eax
push ecx
push 0x8000
push 0x4a2e60
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x42528a
mov edx, dword [ebp - 8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425250
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00409510
push 0x4b5138
mov ecx, esi
call fcn.0040bf80
push str.EasyAntiCheat_EOS
mov ecx, esi
call fcn.0040bf80
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [esi + 0x10], 0
je 0x425333
cmp byte [ebp - 1], 0
je 0x425309
cmp dword [ebx], 7
mov eax, esi
jbe 0x4252a3
mov eax, dword [esi]
push pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0xc]
mov eax, esi
cmp dword [ecx], 7
jbe 0x4252bb
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x4252cc
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x425309
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x425309
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x4252f0
mov eax, dword [esi]
mov dword [esi + 0x10], 0
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x10], ecx
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5c
mov ecx, esi
call fcn.0040fa40
sub edi, 0
je 0x425323
sub edi, 1
jne 0x42532f
push str.EasyAntiCheat_EOS.sys
jmp 0x425328
push str.EasyAntiCheat_EOS.exe
mov ecx, esi
call fcn.0040bf80
cmp dword [esi + 0x10], 0
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f060
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
push edi
lea edi, [esi + eax]
cmp esi, edi
jae 0x42f096
mov al, byte [esi]
push eax
call fcn.0043ca20
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 0x42f078
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ecx + eax*4 + 0x420]
push edi
mov edi, dword [ebp + 0x10]
push eax
push ecx
mov dword [ebp - 0x108], ecx
call fcn.00438ea0
add esp, 8
push 0
push dword [ebp + 0x14]
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x438a8a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x438a4c
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.00425e80
push eax
mov eax, dword [ebp - 0x108]
push str.Send_failure:__s
push dword [eax]
call fcn.00438650
mov eax, dword [ebp - 0x108]
add esp, 0x18
mov eax, dword [eax]
mov dword [eax + 0xd34], edi
mov eax, esi
mov dword [ebx], 0x37
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004728e8
mov esp, ebp
pop ebp
ret

Function at 0x438ea0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ecx + 0x44]
mov eax, dword [ebx + 0x540]
shl edi, 4
add edi, ebx
mov esi, dword [edi + 4]
sub esi, dword [edi + 8]
test byte [eax + 0x40], 3
je 0x438f74
cmp dword [ebx + ecx*4 + 0x430], 0x4388e0
jne 0x438f74
cmp dword [edi], 0
je 0x438ee9
test esi, esi
je 0x438f74
mov eax, dword [ebx + ecx*4 + 0x420]
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
call fcn.0044ae40
add esp, 0x14
cmp eax, 0xffffffff
je 0x438f74
test al, 1
je 0x438f74
mov ecx, dword [edi]
test ecx, ecx
jne 0x438f4d
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
mov dword [edi + 4], eax
mov esi, dword [fcn.0047e230]
mov ecx, esi
push eax
call dword [0x4a2398]
call esi
mov esi, dword [edi + 4]
mov ecx, eax
add esp, 4
mov dword [edi], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
test ecx, ecx
je 0x438f6d
mov eax, dword [edi + 8]
push 0
push esi
add eax, ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x438f74
add dword [edi + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439900
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4c1dc0]
mov dword [ebp - 8], 0x4020
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
test eax, eax
jne 0x439951
push 3
push 2
push eax
push 6
call fcn.0043afd0
add esp, 0x10
test al, al
je 0x439945
mov dword [0x4c1dc0], 2
mov esp, ebp
pop ebp
ret
mov dword [0x4c1dc0], 1
jmp 0x439956
cmp eax, 2
je 0x439996
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x43997d
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x439996
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret