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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cc85
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4bf100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 4]
mov ebx, dword [ebp + 0xc]
cmp esi, dword [edi + 8]
je 0x4041bf
push dword [ebp + 0x10]
cmp ebx, esi
jne 0x404149
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.00403a50
push dword [ebp + 0x14]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.00403a50
mov eax, dword [ebp + 8]
add dword [edi + 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], edi
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00403a50
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00403a50
lea ecx, [esi - 0x30]
mov edx, esi
push ecx
call fcn.00404d20
add dword [edi + 4], 0x30
mov edx, ecx
push esi
mov ecx, ebx
call fcn.00404da0
add esp, 8
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00403910
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x18]
call fcn.00403910
lea ecx, [ebp - 0x40]
call fcn.004029d0
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.00404b70
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 0x409fc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4bf100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x10]
push esi
mov esi, edx
test eax, eax
je 0x40a051
cmp eax, 0x104
ja 0x40a051
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x409fee
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 0x10], 0
mov word [eax], dx
cmp dword [ecx + 0x14], 7
jbe 0x40a002
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 0x40a051
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40a022
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.004093c0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00471b48
mov esp, ebp
pop ebp
ret

Function at 0x40a070
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d0ed
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4bf100]
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], 7
jbe 0x40a0a7
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 0x40a0d0
xor al, al
jmp 0x40a1c8
cmp word [ebp - 0x24c], 0x2e
je 0x40a1a9
test byte [ebp - 0x278], 0x10
jne 0x40a1a9
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a110
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00404400
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x40a160
movups xmm0, xmmword [ebp - 0x28]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x40a16f
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.0040a4f0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x40a1a9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a19f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1e3
push ecx
push edx
call fcn.00471b8b
add esp, 8
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a0d0
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.00471b48
mov esp, ebp
pop ebp
ret
call fcn.00477334
int3
Function at 0x4118c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4bf100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4c1ef0], 2
je 0x41196b
cmp dword [0x4c1ef0], 0
jne 0x411954
mov ecx, 1
mov edx, 0x4c1ef0
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x411954
mov dword [0x4c1ee8], eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x640061
mov dword [ebp - 0x1c], 0x610076
mov dword [ebp - 0x18], 0x690070
mov dword [ebp - 0x14], 0x320033
mov dword [ebp - 0x10], 0x64002e
mov dword [ebp - 0xc], 0x6c006c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4c1ee8], eax
mov dword [0x4c1ef0], 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
cmp dword [0x4c1ef0], 2
je 0x41196b
nop dword [eax]
pause
cmp dword [0x4c1ef0], 2
jne 0x411960
mov ecx, dword [ebp - 4]
mov eax, dword [0x4c1ee8]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret

Function at 0x411980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bf100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4c1edc], 2
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, edx
je 0x411a1b
cmp dword [0x4c1edc], 0
jne 0x4119ff
mov ecx, 1
mov edx, 0x4c1edc
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4119ff
mov dword [0x4c1ed8], eax
mov dword [ebp - 0x14], 0x4f676552
mov dword [ebp - 0x10], 0x4b6e6570
mov dword [ebp - 0xc], 0x78457965
mov word [ebp - 8], 0x57
call fcn.004118c0
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1ed8], eax
mov dword [0x4c1edc], 2
jmp 0x411a1b
cmp dword [0x4c1edc], 2
je 0x411a1b
nop dword [eax + eax]
pause
cmp dword [0x4c1edc], 2
jne 0x411a10
mov dword [edi], 0
mov esi, dword [0x4c1ed8]
test esi, esi
jne 0x411a41
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret 0xc
push edi
push 1
push 0
push ebx
push reloc.WS2_32.dll_bind
mov ecx, esi
call dword [0x4a1398]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00471b48
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411c40
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4bf100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4c1e65], 0
je 0x411c6c
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, 0x104
lea eax, [ebp - 0x20c]
nop dword [eax]
cmp word [eax], 0
je 0x411c9e
add eax, 2
sub ecx, 1
jne 0x411c90
xor edx, edx
test ecx, ecx
cmovne edx, eax
test edx, edx
je 0x411ce0
lea eax, [ebp - 0x20c]
sub edx, eax
sar edx, 1
cmp edx, 0x104
je 0x411ce0
mov eax, 0x104
lea ecx, [ebp - 0x20c]
sub eax, edx
lea ecx, [ecx + edx*2]
push eax
mov edx, 0x4b41e8
call fcn.0040f970
add esp, 4
nop dword [eax]
push esi
push edi
push str.wintrust.dll
lea eax, [ebp - 0x20c]
push eax
push str._s_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040f9d0
add esp, 0x14
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.0040f9d0
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test edi, edi
je 0x411e70
test esi, esi
je 0x411e70
push str.WinVerifyTrust
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1e90], eax
test eax, eax
je 0x411e70
push str.CryptDecodeObject
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1e94], eax
test eax, eax
je 0x411e70
push 0x4b460c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1ea0], eax
test eax, eax
je 0x411e70
push str.CryptMsgGetParam
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1e80], eax
test eax, eax
je 0x411e70
push 0x4b4634
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1ea8], eax
test eax, eax
je 0x411e70
push 0x4b4650
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1e98], eax
test eax, eax
je 0x411e70
push 0x4b466c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1e84], eax
test eax, eax
je 0x411e70
push 0x4b4680
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1ea4], eax
test eax, eax
je 0x411e70
push str.CertOpenSystemStoreW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1e9c], eax
test eax, eax
je 0x411e70
push 0x4b46b4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1e88], eax
test eax, eax
je 0x411e70
push str.CryptMsgClose
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c1e8c], eax
test eax, eax
je 0x411e70
mov al, 1
pop edi
mov byte [0x4c1e65], al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x4c1e65]
xor ecx, ebp
pop edi
pop esi
call fcn.00471b48
mov esp, ebp
pop ebp
ret
Function at 0x412400
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d8d6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bf100]
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.0040ba50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
push esi
call fcn.0040ba50
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
push edi
lea ecx, [esi + 0x30]
call fcn.0040ba50
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
push ebx
call fcn.0040ba50
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x60]
call fcn.0040ba50
mov eax, dword [ebp + 0x30]
mov ecx, 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 ecx, 7
jbe 0x4124d2
mov edx, dword [ebp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4124c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124e8
push ecx
push edx
call fcn.00471b8b
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.00477334
int3
Function at 0x412ae0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4bf100]
xor eax, esp
mov dword [esp + 0x60], eax
movaps xmm0, xmmword [0x4b6ee0]
lea eax, [esp + 0x30]
push esi
push eax
mov esi, ecx
mov dword [esp + 0x14], 0x43747645
mov dword [esp + 0x18], 0x65736f6c
mov byte [esp + 0x1c], 0
mov dword [esp + 0x20], 0x51747645
mov dword [esp + 0x24], 0x79726575
mov byte [esp + 0x28], 0
mov dword [esp + 0xc], 0x4e747645
mov dword [esp + 0x10], 0x747865
mov dword [esp + 0x2c], 0x52747645
mov dword [esp + 0x30], 0x65646e65
mov word [esp + 0x34], 0x72
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0x65746e6f
mov word [esp + 0x64], 0x7478
mov byte [esp + 0x66], 0
mov dword [esp + 0x38], 0x650057
mov dword [esp + 0x3c], 0x740076
mov dword [esp + 0x40], 0x700061
mov dword [esp + 0x44], 0x2e0069
mov dword [esp + 0x48], 0x6c0064
mov dword [esp + 0x4c], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x412c23
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
je 0x412c23
lea eax, [esp + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xc], eax
test eax, eax
je 0x412c23
lea eax, [esp + 0x1c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
je 0x412c23
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
test eax, eax
je 0x412c23
lea eax, [esp + 0x4c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
test eax, eax
je 0x412c23
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
xor al, al
pop esi
xor ecx, esp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
Function at 0x416880
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ddd0
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4bf100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
movups xmmword [ebp - 0x230], xmm0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x416910
add eax, eax
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004093c0
jmp 0x416933
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmova eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x220], 0
je 0x416a26
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0x3c
cmova 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 0x416a26
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x416a26
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 0x416a10
push dword [ebp - 0x238]
mov esi, dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416a2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x238]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416a2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x416a6a
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416a60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416a86
push ecx
push edx
call fcn.00471b8b
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.00471b48
mov esp, ebp
pop ebp
ret
call fcn.00477334
int3
Function at 0x418340
Capabilities:
Check if file exists
Delete file
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00472580
mov eax, dword [0x4bf100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418380
test al, 0x10
jne 0x4183c8
push pe_nt_image_headers32
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4183d3
push ebx
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4183e5
xor bl, bl
jmp 0x41847d
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418474
nop dword [eax]
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x418474
push 0
lea ecx, [ebp - 0x100c]
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x418497
mov eax, dword [ebp - 0x100c]
cmp eax, dword [ebp - 0x1008]
jne 0x418497
push 0
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x418420
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00471b48
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x418476
Function at 0x418b70
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e00d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4bf100]
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 0x418c58
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.0041a470
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.0041a470
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 0x418c58
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.00415bf0
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x418c8e
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418c84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418c9e
push ecx
push edx
call fcn.00471b8b
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.00477334
int3
Function at 0x418cb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e03d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4bf100]
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 0x4a1e70
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x418d5c
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 0x418d20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004093c0
push 0x4b41e8
lea ecx, [ebp - 0x28]
call fcn.0040be90
push str.EasyAntiCheat
lea ecx, [ebp - 0x28]
call fcn.0040be90
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x18], 0
je 0x418db7
cmp dword [0x4bfd00], 0
je 0x418da1
mov ecx, 0x4bfcb4
call fcn.0041a290
test eax, eax
jne 0x418da1
mov eax, dword [0x4bfcb0]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, 0x4bfcb0
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004151c0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0040ba50
call fcn.00418b70
add esp, 0x18
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x418ded
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418de3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418e07
push ecx
push edx
call fcn.00471b8b
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.00471b48
mov esp, ebp
pop ebp
ret
call fcn.00477334
int3
Function at 0x41b980
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 0x41b998
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 0x41b9c0
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x41b9b9
mov eax, dword [eax]
push edx
push eax
call fcn.004093c0
lea edi, [ebx + 0x20]
mov dword [ebx + 0x1c], 2
cmp dword [edi + 0x14], 7
lea ecx, [edi + 0x10]
mov dword [ebp - 4], ecx
jbe 0x41b9e5
mov eax, dword [edi]
mov dword [ecx], 0
xor ecx, ecx
mov word [eax], cx
jmp 0x41b9f3
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.00471b56
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebx + 4]
mov dword [eax], 0x41bb90
push 0
push 0
push eax
push 0x40f510
push 0
push 0
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x41ba64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push dword [ebp - 8]
call fcn.00471b8b
add esp, 8
mov ecx, esi
push 0x33
push str.Code_signing_certificate_validation_timed_out__1_2_
call fcn.004093c0
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 0x41ba92
push 0x33
push str.Code_signing_certificate_validation_timed_out__2_2_
mov ecx, esi
call fcn.004093c0
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, edi
je 0x41baab
cmp dword [edi + 0x14], 7
mov eax, dword [ebp - 4]
jbe 0x41baa1
mov edi, dword [edi]
push dword [eax]
mov ecx, esi
push edi
call fcn.004093c0
mov eax, dword [ebx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc