joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405aca
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push 4
pop eax
mov word [ebp - 0x1e], ax
mov eax, 0x408678
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov byte [ebp - 0x20], 1
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x10], 0x408668
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x405b1b
xor eax, eax
jmp 0x405b48
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405b47
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
je 0x405b45
xor eax, eax
jmp 0x405b47
call esi
pop esi
leave
ret 4

Function at 0x405b69
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x42b558
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x42b558], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405ba8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405bac
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x24], 0
push eax
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x405d61
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x405d81
and eax, 0xfffffffe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x405d87
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
inc ecx
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405db6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405dfa
test edi, edi
jne 0x405dc1
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405df4
Function at 0x405f3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x400
push dword [ebp + 8]
call fcn.00405edb
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x405fab
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
mov byte [esi + 0x3ff], 0
pop edi
jne 0x405fab
cmp dword [ebp + 0xc], 1
je 0x405fae
cmp dword [ebp + 0xc], 2
je 0x405fae
mov byte [esi], 0
pop esi
leave
ret 0x14

Function at 0x4061a9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4061cd
xor eax, eax
test eax, eax
je 0x4061df
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4061df
xor ecx, ecx
jmp 0x4061e2
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x4082a0]
push ecx
lea eax, [ebp + eax - 0x120]
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 8
push 0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4062e4
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405d61
mov edi, eax
cmp edi, 0xffffffff
je 0x406325
test byte [esp + 0x10], 1
push esi
je 0x40630e
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x406316
xor eax, eax
inc eax
jmp 0x406327
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x406305
test byte [esp + 0x10], 4
jne 0x406325
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x4063bf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42b5a0
push esi
call fcn.00406055
push esi
call fcn.00405c92
mov edi, eax
test edi, edi
jne 0x4063e0
xor eax, eax
jmp 0x406438
push edi
call fcn.004060e8
test byte [0x42f150], 0x80
je 0x4063f9
mov al, byte [edi]
test al, al
je 0x4063dc
cmp al, 0x5c
je 0x4063dc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x406419
push esi
call fcn.00406182
test eax, eax
je 0x406413
test byte [eax], 0x10
je 0x40643d
push esi
call fcn.00406359
push esi
call ebx
cmp eax, edi
jg 0x406404
push esi
call fcn.0040632c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x406437
Function at 0x406692
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [0x42b9a0], 0x4c554e
mov edi, 0x400
mov ebp, 0x42b9a0
test esi, esi
je 0x4066de
push 1
push 0
push esi
call fcn.00405d87
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4067fd
cmp eax, edi
jg 0x4067fd
push edi
mov esi, 0x42c6e0
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4067fd
cmp eax, edi
jg 0x4067fd
push esi
push ebp
push str._s_s_r_n
push 0x42bee0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x42f0f0]
push dword [eax + 0x128]
push esi
call fcn.00406441
push 4
push 0xc0000000
push esi
call fcn.00405d87
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, 0xffffffff
je 0x4067fd
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4067f6
push edi
push esi
push ebp
call fcn.00405dfe
test eax, eax
je 0x4067f6
push str._Rename__r_n
push esi
call fcn.00405ce7
test eax, eax
jne 0x406794
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4067c9
push 0x408714
add eax, 0xa
push eax
call fcn.00405ce7
mov ebp, eax
test ebp, ebp
je 0x4067c5
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4067b6
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4067b0
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x4067cb
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
push 0x42bee0
add eax, esi
push eax
call fcn.00405d3d
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405e2d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406802
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x406825
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406692
pop ecx
pop ecx
inc dword [0x42f1b0]
ret 8
Function at 0x40682e
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
and esi, 4
push ebx
mov dword [ebp - 4], esi
call fcn.004063bf
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test cl, 8
je 0x40686d
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x42f1a8], eax
jmp 0x4069f8
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push edi
je 0x406888
test eax, eax
je 0x4069a6
test cl, 2
je 0x4069a6
push ebx
mov esi, 0x42c2e0
push esi
call fcn.00406055
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x4068aa
push str..
push esi
call edi
jmp 0x4068b0
push ebx
call fcn.00406359
cmp byte [ebx], 0
jne 0x4068be
cmp byte [0x42c2e0], 0x5c
jne 0x4068c6
push 0x4082a0
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x406999
lea esi, [ebp - 0x120]
push 0x3f
mov eax, esi
push eax
call fcn.00405c4c
cmp byte [eax], 0
je 0x406909
cmp byte [ebp - 0x1c], 0
je 0x406909
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x40691f
mov al, byte [esi + 1]
test al, al
je 0x406978
cmp al, 0x2e
jne 0x40691f
cmp byte [esi + 2], 0
je 0x406978
push esi
push edi
call fcn.00406055
test byte [ebp - 0x14c], 0x10
je 0x406944
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x406978
push dword [ebp + 0xc]
push ebx
call fcn.0040682e
jmp 0x406978
push dword [ebp - 4]
push ebx
call fcn.004062e4
test eax, eax
jne 0x406970
cmp dword [ebp - 4], eax
je 0x406968
push ebx
push 0xfffffffffffffff1
call fcn.00404e8d
push 0
push ebx
call fcn.00406802
jmp 0x406978
inc dword [0x42f1a8]
jmp 0x406978
push ebx
push 0xfffffffffffffff2
call fcn.00404e8d
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4068eb
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
mov esi, dword [ebp - 4]
je 0x4069a6
mov byte [edi - 1], 0
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4069f7
cmp dword [ebp - 0xc], edi
je 0x4069e7
push ebx
call fcn.00406182
test eax, eax
je 0x4069f7
push ebx
call fcn.0040632c
mov eax, esi
or eax, 1
push eax
push ebx
call fcn.004062e4
test eax, eax
jne 0x4069ef
cmp esi, edi
je 0x4069e7
push ebx
push 0xfffffffffffffff1
call fcn.00404e8d
push edi
push ebx
call fcn.00406802
jmp 0x4069f7
inc dword [0x42f1a8]
jmp 0x4069f7
push ebx
push 0xffffffffffffffe5
call fcn.00404e8d
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4069fe
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42cae4], 0
jne 0x406a3c
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a12
mov dword [ecx*4 + 0x42cae0], eax
inc ecx
cmp ecx, 0x100
jl 0x406a0d
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406a69
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42cae0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406a4a
not eax
pop ebp
ret 0xc
Function at 0x402310
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x402404
cmp dword [ebx + 0x2000], 0
jle 0x402404
push esi
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00453370
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x22c], 0x22c
mov dword [ebp + 8], esi
cmp esi, 0xffffffff
je 0x4023df
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4023d8
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x4023d8
nop dword [eax]
xor edi, edi
cmp dword [ebx + 0x2000], edi
jle 0x4023c5
mov esi, ebx
nop dword [eax]
test esi, esi
je 0x4023b6
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4023ea
inc edi
sub esi, 0xffffff80
cmp edi, dword [ebx + 0x2000]
jl 0x4023a0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402390
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b7e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.004127e0
add esp, 4
mov eax, dword [esi + 0x14]
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
cmp eax, 8
jb 0x4076a0
mov ecx, dword [esi]
test ecx, ecx
je 0x4076cb
mov ecx, esi
cmp eax, 8
jb 0x4076ad
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x4076cb
mov ecx, esi
cmp eax, 8
jb 0x4076bc
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4077e2
lea eax, [ebp - 0x28]
push eax
call fcn.00412850
add esp, 4
mov ecx, esi
push eax
call fcn.004047b0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x407719
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40770f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4077f3
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov eax, dword [esi + 0x14]
mov ecx, esi
cmp eax, 8
jb 0x407725
mov ecx, dword [esi]
test ecx, ecx
je 0x407750
mov ecx, esi
cmp eax, 8
jb 0x407732
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x407750
mov ecx, esi
cmp eax, 8
jb 0x407741
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4077e2
push str.SOFTWAREMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push SysReAllocString
push eax
call fcn.004079c0
add esp, 0xc
mov dword [ebp - 0x10], 3
cmp dword [ebp - 0x18], 0
jne 0x4077a1
push str.SOFTWAREMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice
lea eax, [ebp - 0x40]
push SysReAllocString
push eax
call fcn.004079c0
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.004047b0
lea ecx, [ebp - 0x40]
call fcn.004011d0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004047b0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4077e2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4077d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4077f8
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00455d9f
call fcn.00455d9f
int3
Function at 0x407e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48b87d
push eax
mov dword fs:[0], esp
sub esp, 0x18
call fcn.00434030
test eax, eax
je 0x407f48
cmp byte [ebp + 8], 0
je 0x407f05
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00433a00
add esp, 8
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x407f15
cmp edx, 8
jb 0x407f05
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407efb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f58
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp edx, 8
jb 0x407f48
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407f3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f58
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov ecx, dword [ebp - 0xc]
xor al, al
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00455d9f
int3

Function at 0x4083a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 1
call fcn.00407e60
add esp, 4
test al, al
jne 0x4083b7
pop ebp
jmp fcn.004083c0
xor eax, eax
pop ebp
ret
Function at 0x4083c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b8b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00407650
add esp, 4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x408402
test ecx, ecx
je 0x4084d3
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
cmp word [eax], 0
je 0x4084d3
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4084cd
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov byte [ebp - 4], 1
cmp byte [ebp + 8], al
je 0x40845d
lea eax, [ebp - 0x24]
push eax
call fcn.004070a0
add esp, 4
push dword [ebp + 0x18]
lea eax, [ebp - 0x24]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00408520
mov edx, dword [ebp - 0x10]
add esp, 0x18
mov esi, eax
cmp edx, 8
jb 0x4084b1
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4084a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408516
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
jmp 0x4084d5
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
xor esi, esi
cmp edx, 8
jb 0x408505
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4084fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408516
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00455d9f
int3
Function at 0x408520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b8ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x10], 0
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x408552
mov ecx, dword [esi]
test ecx, ecx
je 0x408715
mov ecx, esi
cmp eax, 8
jb 0x408563
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x408715
mov ecx, esi
cmp eax, 8
jb 0x408576
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408715
xor eax, eax
mov dword [ebp - 0x28], 0
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [edi + 0x10], eax
je 0x408678
push esi
lea eax, [ebp - 0x70]
push 0x4919d0
push eax
call fcn.00403f80
push 0x4919c8
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.00403f10
push edi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.00403eb0
mov edi, eax
add esp, 0x24
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x408659
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x408627
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40861d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408727
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.004011d0
lea ecx, [ebp - 0x58]
call fcn.004011d0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.004011d0
mov edi, dword [ebp + 0xc]
cmp byte [ebp + 0x10], 0
je 0x40869c
push dword [ebp + 0x1c]
push 0x1e
push 0x32
push 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push edi
call fcn.00416080
add esp, 0x20
mov dword [ebp - 0x10], eax
jmp 0x4086de
push 0
call fcn.0040de70
add esp, 4
test al, al
lea eax, [ebp - 0x28]
je 0x4086be
push 5
push eax
push esi
call fcn.00416310
add esp, 0xc
mov dword [ebp - 0x10], eax
jmp 0x4086de
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x4086ce
mov esi, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 5
push eax
push esi
call fcn.004266e0
add esp, 0x10
mov edx, dword [ebp - 0x14]
pop edi
cmp edx, 8
jb 0x408715
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40870b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40872c
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00455d9f
call fcn.00455d9f
int3