joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404470
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494375
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4b80c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 4]
mov ebx, dword [ebp + 0xc]
cmp edi, dword [esi + 8]
je 0x40455d
push dword [ebp + 0x10]
cmp ebx, edi
jne 0x4044e9
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.004038d0
push dword [ebp + 0x14]
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 1
call fcn.004038d0
mov eax, dword [ebp + 8]
add dword [esi + 4], 0x30
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], esi
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.004038d0
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.004038d0
lea edx, [edi - 0x30]
mov ecx, edi
push edx
call fcn.00405140
add dword [esi + 4], 0x30
mov ecx, ebx
push edi
call fcn.00404d50
add esp, 4
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.004036b0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x18]
call fcn.004036b0
lea ecx, [ebp - 0x40]
call fcn.00402800
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.004042d0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4086e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494290
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b80c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
movups xmm0, xmmword [esi + 0xc]
movups xmmword [edi + 0xc], xmm0
movq xmm0, qword [esi + 0x1c]
movq qword [edi + 0x1c], xmm0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
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 0x408b80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b80c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x10]
push esi
mov esi, edx
test eax, eax
je 0x408c11
cmp eax, 0x104
ja 0x408c11
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x408bae
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 0x10], 0
mov word [eax], dx
cmp dword [ecx + 0x14], 8
jb 0x408bc2
mov ecx, dword [ecx]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x408c11
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x408be2
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00403a20
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0046b428
mov esp, ebp
pop ebp
ret

Function at 0x408c30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4946dd
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4b80c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
cmp dword [ecx + 0x14], 8
jb 0x408c67
mov ecx, dword [ecx]
lea eax, [ebp - 0x278]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x408c90
xor al, al
jmp 0x408d8e
cmp word [ebp - 0x24c], 0x2e
je 0x408d6f
test byte [ebp - 0x278], 0x10
jne 0x408d6f
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x14], 7
lea edx, [eax + 2]
mov dword [ebp - 4], 0xffffffff
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408cd6
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00403a20
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x408d26
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov edx, 7
add dword [esi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x408d35
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.004090f0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x408d6f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408d65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408da9
push edx
push ecx
call fcn.0046b46b
add esp, 8
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408c90
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
call fcn.00470244
int3
Function at 0x40c7e0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b80c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40c800
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
push ecx
push ecx
push 0x801a
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40c8c0
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c832
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403a20
push 0x5c
mov ecx, esi
call fcn.0040c8e0
push 0xd
push str.EasyAntiCheat
mov ecx, esi
call fcn.00408970
push 0x5c
mov ecx, esi
call fcn.0040c8e0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40c87a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c89b
test al, 0x10
je 0x40c89b
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x40c8a3
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
pop esi
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0046b428
mov esp, ebp
pop ebp
ret
Function at 0x40fa00
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4b80c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4babb4], 0
je 0x40fa2c
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ecx
mov edx, 0x4af1a0
lea ecx, [ebp - 0x20c]
call fcn.0040cb10
push str.wintrust.dll
lea eax, [ebp - 0x20c]
push eax
push str._s_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040cb90
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
lea eax, [ebp - 0x20c]
push str.crypt32.dll
push eax
push str._s_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040cb90
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test edi, edi
je 0x40fbed
test esi, esi
je 0x40fbed
push str.WinVerifyTrust
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4baba4], eax
test eax, eax
je 0x40fbed
push str.CryptDecodeObject
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4baba8], eax
test eax, eax
je 0x40fbed
push 0x4af494
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4babb8], eax
test eax, eax
je 0x40fbed
push str.CryptMsgGetParam
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bab94], eax
test eax, eax
je 0x40fbed
push 0x4af4bc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4babc0], eax
test eax, eax
je 0x40fbed
push 0x4af4d8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4babac], eax
test eax, eax
je 0x40fbed
push 0x4af4f4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bab98], eax
test eax, eax
je 0x40fbed
push 0x4af508
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4babbc], eax
test eax, eax
je 0x40fbed
push str.CertOpenSystemStoreW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4babb0], eax
test eax, eax
je 0x40fbed
push 0x4af53c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bab9c], eax
test eax, eax
je 0x40fbed
push str.CryptMsgClose
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, byte [0x4babb4]
test eax, eax
mov edx, 1
mov dword [0x4baba0], eax
cmovne ecx, edx
pop edi
mov byte [0x4babb4], cl
mov al, cl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
mov cl, byte [0x4babb4]
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046b428
mov esp, ebp
pop ebp
ret
Function at 0x40ff80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494e06
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b80c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
push eax
mov dword [ebp - 4], 0
call fcn.0040a4c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
push esi
call fcn.0040a4c0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
push edi
lea ecx, [esi + 0x30]
call fcn.0040a4c0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
push ebx
call fcn.0040a4c0
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x60]
call fcn.0040a4c0
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov dword [esi + 0x78], eax
mov al, byte [ebp + 0x34]
mov byte [esi + 0x7c], al
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x80], eax
cmp edx, 8
jb 0x410052
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410048
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410068
push edx
push ecx
call fcn.0046b46b
add esp, 8
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 0x34
call fcn.00470244
int3
Function at 0x4106a0
Capabilities:
Access peb ldr_data
Check os version
Contain obfuscated stackstrings
Get number of processors
Get process filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4b80c8]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword fs:[0x30]
movaps xmm0, xmmword [0x4b0f00]
mov dword [esp + 0x30], 0x650057
mov dword [esp + 0x34], 0x740076
mov dword [esp + 0x38], 0x700061
mov dword [esp + 0x3c], 0x2e0069
mov dword [esp + 0x40], 0x6c0064
mov dword [esp + 0x44], 0x6c
cmp dword [eax + 0xa4], 6
push esi
mov esi, ecx
mov dword [esp + 0x10], 0x43747645
mov dword [esp + 0x14], 0x65736f6c
mov byte [esp + 0x18], 0
mov dword [esp + 0x1c], 0x51747645
mov dword [esp + 0x20], 0x79726575
mov byte [esp + 0x24], 0
mov dword [esp + 8], 0x4e747645
mov dword [esp + 0xc], 0x747865
mov dword [esp + 0x28], 0x52747645
mov dword [esp + 0x2c], 0x65646e65
mov word [esp + 0x30], 0x72
movups xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x5c], 0x65746e6f
mov word [esp + 0x60], 0x7478
mov byte [esp + 0x62], 0
jb 0x41080e
mov eax, dword fs:[0x30]
cmp dword [eax + 0xa4], 6
jne 0x410787
cmp dword [eax + 0xa8], 0
je 0x41080e
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x41080e
push ecx
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00411b50
mov dword [esi + 8], eax
test eax, eax
je 0x41080e
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
call fcn.00411b50
mov dword [esi + 0xc], eax
test eax, eax
je 0x41080e
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x20]
call fcn.00411b50
mov dword [esi + 0x10], eax
test eax, eax
je 0x41080e
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x2c]
call fcn.00411b50
mov dword [esi + 0x14], eax
test eax, eax
je 0x41080e
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x50]
call fcn.00411b50
mov dword [esi + 0x18], eax
test eax, eax
je 0x41080e
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
xor al, al
pop esi
xor ecx, esp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
Function at 0x411b00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push esi
mov ebx, ecx
mov esi, dword [eax + 0xc]
mov esi, dword [esi + 0xc]
test ebx, ebx
jne 0x411b1a
mov eax, dword [esi + 0x18]
pop esi
pop ebx
ret
push edi
test esi, esi
je 0x411b40
nop
mov edi, dword [esi + 0x18]
test edi, edi
je 0x411b40
mov edx, dword [esi + 0x30]
mov ecx, ebx
push 0xffffffffffffffff
call fcn.0040cc40
add esp, 4
test al, al
jne 0x411b46
mov esi, dword [esi]
test esi, esi
jne 0x411b20
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x414310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4953b0
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4b80c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x4143a4
add eax, eax
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403a20
jmp 0x4143c7
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x220], 0
je 0x4144ba
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0x3c
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x270]
push eax
movlpd qword [ebp - 0x24c], xmm0
movlpd qword [ebp - 0x244], xmm0
movlpd qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x26c], 0x40
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], str.runas
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 5
mov dword [ebp - 0x250], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4144ba
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4144ba
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4144a4
push dword [ebp - 0x238]
mov esi, dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4144c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x238]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4144c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4144fe
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4144f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41451a
push edx
push ecx
call fcn.0046b46b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
call fcn.00470244
int3
Function at 0x4158e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4955ed
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b80c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebp + 0x18]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov word [ebp - 0x10], 0
movups xmmword [ebp - 0x2c], xmm0
test eax, eax
je 0x4159a7
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
jb 0x41593d
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
jmp 0x415943
lea eax, [ecx + eax*2]
lea ecx, [ebp + 8]
push 0
sub eax, ecx
lea ecx, [ebp + 8]
push 1
sar eax, 1
push eax
call fcn.00417000
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
jb 0x415968
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
jmp 0x41596e
lea eax, [ecx + eax*2]
lea ecx, [ebp + 8]
push 0
sub eax, ecx
lea ecx, [ebp + 8]
push 1
sar eax, 1
push eax
call fcn.00417000
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 0x28], 3
cmovae 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]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4159dd
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4159d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4159ec
push edx
push ecx
call fcn.0046b46b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
call fcn.00470244
int3
Function at 0x415a00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49561d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b80c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov esi, 7
mov dword [ebp - 0x14], esi
xor eax, eax
mov dword [ebp - 4], 1
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x498da0
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x415acf
mov edx, dword [ebp - 0x2c]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415a70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403a20
push 1
push 0x4af1a0
lea ecx, [ebp - 0x28]
call fcn.00408970
push 0x11
push str.EasyAntiCheat_EOS
lea ecx, [ebp - 0x28]
call fcn.00408970
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x18], 0
je 0x415acc
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0040a4c0
call fcn.004158e0
add esp, 0x18
mov esi, dword [ebp - 0x14]
cmp esi, 8
jb 0x415b02
mov ecx, dword [ebp - 0x28]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x415af8
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415b1c
push esi
push ecx
call fcn.0046b46b
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.0046b428
mov esp, ebp
pop ebp
ret
call fcn.00470244
int3

Function at 0x416d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4b80c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x416de0
cmp byte [ebx + 0x3e], 0
je 0x416de0
mov eax, dword [ebx]
push esi
push 0xffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x498390]
mov ecx, ebx
call esi
mov ecx, 0xffff
cmp cx, ax
je 0x416dce
push edi
mov edi, dword [ebx + 0x38]
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [0x498390]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x416d96
sub eax, 1
je 0x416d9a
sub eax, 2
jne 0x416dce
mov byte [ebx + 0x3e], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3e], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x416db7
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.00473eb0
add esp, 0x10
cmp esi, eax
jne 0x416dce
cmp byte [ebx + 0x3e], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.0046b428
mov esp, ebp
pop ebp
ret