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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495dc5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4bb0c8]
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 0x4046bd
push dword [ebp + 0x10]
cmp ebx, edi
jne 0x404649
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.00403a30
push dword [ebp + 0x14]
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 1
call fcn.00403a30
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.00403a30
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.00403a30
lea edx, [edi - 0x30]
mov ecx, edi
push edx
call fcn.004052a0
add dword [esi + 4], 0x30
mov ecx, ebx
push edi
call fcn.00404eb0
add esp, 4
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00403810
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x18]
call fcn.00403810
lea ecx, [ebp - 0x40]
call fcn.00402960
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.00404430
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 0x409f30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495ce0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4bb0c8]
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 0x40a3d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4bb0c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x10]
push esi
mov esi, edx
test eax, eax
je 0x40a461
cmp eax, 0x104
ja 0x40a461
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40a3fe
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 0x10], 0
mov word [eax], dx
cmp dword [ecx + 0x14], 8
jb 0x40a412
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 0x40a461
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40a432
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00403b80
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
Function at 0x40a480
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4962ad
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4bb0c8]
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 0x40a4b7
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 0x40a4e0
xor al, al
jmp 0x40a5de
cmp word [ebp - 0x24c], 0x2e
je 0x40a5bf
test byte [ebp - 0x278], 0x10
jne 0x40a5bf
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 0x40a526
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00403b80
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x40a576
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 0x40a585
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.0040a940
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x40a5bf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a5b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5f9
push edx
push ecx
call fcn.0046cebb
add esp, 8
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a4e0
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.0046ce78
mov esp, ebp
pop ebp
ret
call fcn.00471c84
int3
Function at 0x40e090
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 [0x4bb0c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40e0b0
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 0x40e170
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e0e2
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403b80
push 0x5c
mov ecx, esi
call fcn.0040e190
push 0xd
push str.EasyAntiCheat
mov ecx, esi
call fcn.0040a1c0
push 0x5c
mov ecx, esi
call fcn.0040e190
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40e12a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e14b
test al, 0x10
je 0x40e14b
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x40e153
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.0046ce78
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
Function at 0x411300
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4bb0c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4bdc64], 0
je 0x41132c
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ce78
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, 0x4b1098
lea ecx, [ebp - 0x20c]
call fcn.0040e3c0
push str.wintrust.dll
lea eax, [ebp - 0x20c]
push eax
push str._s_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040e440
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.0040e440
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test edi, edi
je 0x4114ed
test esi, esi
je 0x4114ed
push str.WinVerifyTrust
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc54], eax
test eax, eax
je 0x4114ed
push str.CryptDecodeObject
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc58], eax
test eax, eax
je 0x4114ed
push 0x4b1388
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc68], eax
test eax, eax
je 0x4114ed
push str.CryptMsgGetParam
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc44], eax
test eax, eax
je 0x4114ed
push 0x4b13b0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc70], eax
test eax, eax
je 0x4114ed
push 0x4b13cc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc5c], eax
test eax, eax
je 0x4114ed
push 0x4b13e8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc48], eax
test eax, eax
je 0x4114ed
push 0x4b13fc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc6c], eax
test eax, eax
je 0x4114ed
push str.CertOpenSystemStoreW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc60], eax
test eax, eax
je 0x4114ed
push 0x4b1430
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bdc4c], eax
test eax, eax
je 0x4114ed
push str.CryptMsgClose
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, byte [0x4bdc64]
test eax, eax
mov edx, 1
mov dword [0x4bdc50], eax
cmovne ecx, edx
pop edi
mov byte [0x4bdc64], cl
mov al, cl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
mov cl, byte [0x4bdc64]
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
Function at 0x411880
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4969d6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bb0c8]
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.0040bd10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
push esi
call fcn.0040bd10
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
push edi
lea ecx, [esi + 0x30]
call fcn.0040bd10
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
push ebx
call fcn.0040bd10
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x60]
call fcn.0040bd10
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 0x411952
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411948
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411968
push edx
push ecx
call fcn.0046cebb
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.00471c84
int3
Function at 0x411fa0
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 [0x4bb0c8]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword fs:[0x30]
movaps xmm0, xmmword [0x4b2e70]
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 0x41210e
mov eax, dword fs:[0x30]
cmp dword [eax + 0xa4], 6
jne 0x412087
cmp dword [eax + 0xa8], 0
je 0x41210e
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x41210e
push ecx
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00413450
mov dword [esi + 8], eax
test eax, eax
je 0x41210e
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
call fcn.00413450
mov dword [esi + 0xc], eax
test eax, eax
je 0x41210e
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x20]
call fcn.00413450
mov dword [esi + 0x10], eax
test eax, eax
je 0x41210e
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x2c]
call fcn.00413450
mov dword [esi + 0x14], eax
test eax, eax
je 0x41210e
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x50]
call fcn.00413450
mov dword [esi + 0x18], eax
test eax, eax
je 0x41210e
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
xor al, al
pop esi
xor ecx, esp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
Function at 0x413400
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 0x41341a
mov eax, dword [esi + 0x18]
pop esi
pop ebx
ret
push edi
test esi, esi
je 0x413440
nop
mov edi, dword [esi + 0x18]
test edi, edi
je 0x413440
mov edx, dword [esi + 0x30]
mov ecx, ebx
push 0xffffffffffffffff
call fcn.0040e540
add esp, 4
test al, al
jne 0x413446
mov esi, dword [esi]
test esi, esi
jne 0x413420
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x4159d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4bb0c8]
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 0x415a64
add eax, eax
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403b80
jmp 0x415a87
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 0x415b7a
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 0x415b7a
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x415b7a
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 0x415b64
push dword [ebp - 0x238]
mov esi, dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x415b82
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x238]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x415b82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x415bbe
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415bb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415bda
push edx
push ecx
call fcn.0046cebb
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.0046ce78
mov esp, ebp
pop ebp
ret
call fcn.00471c84
int3
Function at 0x416fa0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49711d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4bb0c8]
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 0x41708b
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
jb 0x417001
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
jmp 0x417007
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.00418720
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
jb 0x41702c
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
jmp 0x417032
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.00418720
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]
test eax, eax
je 0x41708b
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
push ecx
push str.Failed_to_delete_the_directory__s_with:__i.
push 1
call fcn.00415150
add esp, 0x10
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4170c1
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4170b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4170d0
push edx
push ecx
call fcn.0046cebb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
call fcn.00471c84
int3
Function at 0x4170e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49714d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4bb0c8]
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 0x49ada0
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x4171ee
mov edx, dword [ebp - 0x2c]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417150
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403b80
push 1
push 0x4b1098
lea ecx, [ebp - 0x28]
call fcn.0040a1c0
push 0xd
push str.EasyAntiCheat
lea ecx, [ebp - 0x28]
call fcn.0040a1c0
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x18], 0
je 0x4171eb
cmp dword [0x4bbc78], 0
je 0x4171d5
mov ecx, 0x4bbc2c
call fcn.004185c0
test eax, eax
jne 0x4171d5
mov eax, dword [0x4bbc28]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, 0x4bbc28
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004147d0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0040bd10
call fcn.00416fa0
add esp, 0x18
mov esi, dword [ebp - 0x14]
cmp esi, 8
jb 0x417221
mov ecx, dword [ebp - 0x28]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x417217
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41723b
push esi
push ecx
call fcn.0046cebb
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.0046ce78
mov esp, ebp
pop ebp
ret
call fcn.00471c84
int3
Function at 0x418420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4bb0c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x418500
cmp byte [ebx + 0x3e], 0
je 0x418500
mov eax, dword [ebx]
push esi
push 0xffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x49a38c]
mov ecx, ebx
call esi
mov ecx, 0xffff
cmp cx, ax
je 0x4184ee
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 [0x49a38c]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x4184b6
sub eax, 1
je 0x4184ba
sub eax, 2
jne 0x4184ee
mov byte [ebx + 0x3e], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3e], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4184d7
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.004758f0
add esp, 0x10
cmp esi, eax
jne 0x4184ee
cmp byte [ebx + 0x3e], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ce78
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.0046ce78
mov esp, ebp
pop ebp
ret

Function at 0x418900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496880
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4bb0c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x4b0570
call fcn.0046ce86
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004559a4
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
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 dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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