joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
xor eax, eax
mov dword [ecx], eax
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
lea edi, [ebx + 1]
cmp edi, 2
jb 0x45b690
call fcn.004e0f80
cmp dword [esi], ebx
je 0x45b6b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x45b6f1
cmp edi, 2
jb 0x45b6b2
mov dword [esi], ebx
mov edi, eax
call fcn.004e0f80
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
call fcn.004df9b0
lea ecx, [esi + 0x10]
call fcn.004f17b0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
lea edi, [ebp + 8]
mov al, byte [edi + 4]
mov byte [esi + 0x19], al
mov eax, dword [edi]
inc eax
cmp eax, 2
jae 0x45b70e
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x10], eax
call fcn.004e0f80
push dword [esi]
call fcn.004e9ae0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
jmp 0x45b6a2
call fcn.004e0f80
push dword [edi]
call fcn.004e9ae0
add esp, 4
mov dword [edi], 0
jmp 0x45b6e5

Function at 0x45b730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004e9440
mov dword [esi], 0
test eax, eax
je 0x45b777
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x45b7a9
lea ecx, [ebx + 1]
cmp ecx, 2
jb 0x45b770
mov dword [esi], ebx
mov ebx, eax
call fcn.004e0f80
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
lea eax, [edi + 4]
push eax
call fcn.004df9d0
lea ecx, [esi + 0x10]
call fcn.004f17b0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov al, byte [edi + 0x18]
mov byte [esi + 0x18], al
mov al, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.004e0f80
push dword [esi]
call fcn.004e9ae0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
jmp 0x45b75d
Function at 0x45cc20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0xa8], eax
test ecx, ecx
je 0x45cc58
cmp byte [ecx + 0xb], 0
js 0x45cdec
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
xor ebx, ebx
test edx, edx
je 0x45cdd4
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
push ebx
push ebx
push edx
call fcn.0051e39a
add esp, 0xc
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x60]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x20]
push 0xce
push str..._.._base_files_file_util.cc
push str.ReadStreamToStringWithMaxSize
push esi
call fcn.004e0f50
add esp, 0x10
mov ecx, edi
push ebx
push esi
call fcn.004e70c0
mov dword [esi + 0x30], ebx
pxor xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
push dword [ebp + 8]
call fcn.00516723
add esp, 4
push eax
call fcn.0051721a
add esp, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x45cdfd
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
xor ebx, ebx
mov edx, ecx
neg edx
mov edx, 0
sbb edx, eax
cmovl ebx, eax
mov edi, 0xffff
cmovl edi, ecx
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], esi
mov dword [ecx + 8], esi
mov eax, dword [ebp + 0xc]
cmp edi, eax
cmovae edi, eax
test ebx, ebx
mov ebx, ecx
cmovne edi, eax
inc edi
push esi
push edi
call fcn.004dddd0
cmp byte [esp + 0x1b], 0
mov ecx, dword [ebp + 8]
jns 0x45cd40
mov ebx, dword [esp + 0x10]
add ebx, esi
push ecx
push edi
push 1
push ebx
call fcn.0051e197
add esp, 0x10
test eax, eax
je 0x45cd79
mov ebx, eax
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, ebx
jb 0x45ce07
add ebx, esi
push dword [ebp + 8]
call fcn.0051dd2e
add esp, 4
test eax, eax
je 0x45ce0b
mov esi, ebx
push dword [ebp + 8]
call fcn.0051dd5a
add esp, 4
test eax, eax
sete bl
mov dword [esp + 0xc], esi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45cdc4
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [esp + 0x18]
mov dword [ecx + 8], esi
movq xmm0, qword [esp + 0x10]
movq qword [ecx], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
push 0
push dword [esp + 0x10]
call fcn.004dddd0
cmp byte [esp + 0x1b], 0
js 0x45ce2f
lea ecx, [esp + 0x60]
call fcn.004e7120
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
jmp 0x45cc58
mov edi, 0xffff
jmp 0x45cd0d
xor ebx, ebx
jmp 0x45cd8d
test esi, esi
mov eax, 0x10000
cmove edi, eax
lea eax, [ebx + edi]
lea ecx, [esp + 0x10]
push 0
push eax
call fcn.004dddd0
mov esi, ebx
lea ebx, [esp + 0x10]
jmp 0x45cd32
push dword [esp + 0x10]
call fcn.005039aa
add esp, 4
jmp 0x45cdcb
Function at 0x45d240
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004deca0
test al, al
je 0x45d283
call fcn.004dec90
mov esi, eax
mov ecx, eax
push 0x5ef993
call fcn.004ded30
test al, al
jne 0x45d2ab
mov ecx, esi
push str.vmodule
call fcn.004ded30
test al, al
jne 0x45d2ab
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x605ec4], eax
mov bl, 1
test al, 1
jne 0x45d34b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x6141ec], 0
jne 0x45d3cc
mov eax, dword [0x6141f0]
mov dword [0x6141ec], eax
push 0x10
call fcn.0050397a
add esp, 4
mov edi, eax
mov ebx, str.vmodule
push ebx
call fcn.00520c00
add esp, 4
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push ebx
push edx
call fcn.004dee30
mov eax, 0x5ef993
push eax
call fcn.00520c00
add esp, 4
lea ebx, [ebp - 0x28]
mov ecx, esi
push eax
mov eax, 0x5ef993
push eax
push ebx
call fcn.004dee30
mov ecx, edi
push 0x6141f4
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.00575aa0
mov dword [0x6141f0], edi
cmp byte [ebx + 0xb], 0
jns 0x45d331
push dword [ebp - 0x28]
call fcn.005039aa
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x45d283
push dword [ebp - 0x1c]
call fcn.005039aa
add esp, 4
jmp 0x45d283
mov eax, dword [0x614208]
test eax, eax
jne 0x45d360
mov ecx, dword [0x6141f8]
test ecx, ecx
je 0x45d382
jmp 0x45d39e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x614208], 0
mov ecx, dword [0x6141f8]
test ecx, ecx
jne 0x45d39e
and byte [0x605ec4], 0xfe
push 0xc
call fcn.0050397a
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [0x6141f8], ecx
push dword [esi + 4]
call fcn.0044a990
cmp dword [esi + 0xc], 0
jne 0x45d3c0
mov eax, dword [0x6141f8]
cmp byte [eax + 0xb], 0
jns 0x45d3b9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0055dc70
mov ebx, eax
jmp 0x45d297
int3
Function at 0x461ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x605ee4]
cmp eax, 0xffffffff
je 0x461f10
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
jmp 0x461f0e

Function at 0x461f20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x605ee4]
cmp eax, 0xffffffff
je 0x461fe7
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x461fe7
mov eax, dword [0x614eb8]
mov ecx, dword [0x6072f0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x461ff1
mov edi, dword [0x614eb4]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x462036
mov ecx, dword [0x6142b0]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x6142b4], 0
jne 0x462042
lea eax, [eax*4 + 0x6142b4]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x6142b8], ecx
mov dword [0x6142b0], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x6142bc]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x462054
cmp eax, 0x100
jge 0x462057
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00462060
jmp 0x461f45
push 0x614eb8
call fcn.00503a17
add esp, 4
cmp dword [0x614eb8], 0xffffffff
jne 0x461f66
push 4
call fcn.0050397a
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.004e9a50
mov dword [0x614eb4], edi
push 0x614eb8
call fcn.00503a8d
add esp, 4
jmp 0x461f66
mov ecx, edi
call fcn.004e9a60
jmp 0x461f7b
inc edx
cmp edx, 0x100
jne 0x461f84
jmp 0x461fcb
int3
int3
Function at 0x462060
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x605ee4]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x46210d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x462156
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.005072d0
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.004875a0
add esp, 8
push edi
call fcn.005039d3
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.00506d50
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.004875a0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.00487580
add esp, 4
test al, al
je 0x462159
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x46215c
xor eax, eax
dec eax
lock cmpxchg dword [0x605ee4], ecx
je 0x462091
push ecx
call fcn.0057c5b0
add esp, 4
mov ecx, dword [0x605ee4]
mov dword [ebp - 0x814], ecx
jmp 0x462091
int3
int3
push esi
call fcn.00487580
add esp, 4
test al, al
je 0x462184
cmp dword [ebp - 0x814], 0xffffffff
je 0x462184
push 0xffffffffffffffff
call fcn.0057c5b0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x46212b
int3
Function at 0x463680
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x18]
push 0x4c
push str..._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.004e0f50
add esp, 0x10
mov ecx, esi
mov esi, ebx
push 0
push edi
call fcn.004e70c0
mov dword [esp + 0x14], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x4636ed
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x463844
mov ebx, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
test ebx, ebx
js 0x463878
push ebx
call fcn.0050397a
add esp, 4
mov edi, eax
push ebx
push 0
push eax
call fcn.005072d0
add esp, 0xc
push edi
push ebx
push dword [esp + 0x1c]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x463860
lea eax, [esp + 0x2c]
mov dword [eax], 0
lea ecx, [esp + 0x28]
mov dword [ecx], 0xffffffff
push ecx
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463860
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x463860
add ebx, edi
push 0x1c
call fcn.0050397a
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x60a0d8]
xor edx, edx
bt ecx, eax
mov eax, dword [esp + 0xc]
movzx ecx, word [eax]
mov word [esp + 0x12], cx
movzx eax, word [eax + 2]
mov word [esp + 0xc], ax
mov dword [esi], fcn.00463c00
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
jae 0x46384f
push edi
call fcn.004e1ce0
add esp, 4
mov dword [esi + 0x10], edi
movzx eax, word [esp + 0x12]
mov word [esi + 0x14], ax
movzx eax, word [esp + 0xc]
mov word [esi + 0x16], ax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
push 0x5e7c6e
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463881
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
lea ecx, [esp + 0x30]
call fcn.004e7120
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504b53
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x463825
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x6120d8], 1
jmp 0x4637db
mov eax, dword [ebp + 8]
mov dword [eax], 0
test edi, edi
je 0x463825
push edi
call fcn.005039aa
add esp, 4
jmp 0x463825
lea ecx, [esp + 0x18]
call fcn.00536260
int3
Function at 0x463920
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov ebx, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov dword [ebp - 0x230], eax
movzx edi, word [ecx + 0x16]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x222], ax
movzx eax, word [ebx + 0x16]
mov dword [ebp - 0x228], eax
movzx eax, word [ebx + 0x14]
mov dword [ebp - 0x22c], eax
call esi
mov word [ebp - 0x224], ax
lea esi, [ebp - 0x218]
push 0x208
push 0xff
push esi
call fcn.005072d0
add esp, 0xc
mov eax, 0x104
push dword [ebp + 8]
push edi
push dword [ebp - 0x230]
push str.StringFileInfo_04x_04x_ls
push eax
push eax
push esi
call fcn.00463ba0
add esp, 0x1c
lea eax, [ebp - 0x21c]
mov dword [eax], 0
lea ecx, [ebp - 0x220]
mov dword [ecx], 0xffffffff
push ecx
push eax
mov edi, esi
push esi
mov esi, ebx
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463a0f
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x463a0f
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x463a0f
mov ecx, dword [ebp + 0xc]
dec edx
push edx
push eax
call fcn.004e5e10
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x208
push 0xff
mov ebx, edi
push edi
call fcn.005072d0
add esp, 0xc
movzx eax, word [ebp - 0x222]
push dword [ebp + 8]
push dword [ebp - 0x228]
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.00463ba0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463a91
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x463a91
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x4639e9
push 0x208
push 0xff
mov ebx, edi
push edi
call fcn.005072d0
add esp, 0xc
mov eax, 0x104
push dword [ebp + 8]
push 0x4e4
push dword [ebp - 0x22c]
push str.StringFileInfo_04x_04x_ls
push eax
push eax
push edi
call fcn.00463ba0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463b10
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x463b10
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x4639e9
push 0x208
push 0xff
push edi
call fcn.005072d0
add esp, 0xc
movzx eax, word [ebp - 0x224]
push dword [ebp + 8]
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.00463ba0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463b8f
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x463b8f
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x4639e9
xor ebx, ebx
jmp 0x4639f6
Function at 0x463e70
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
pop ebp
jmp fcn.00463e80
Function at 0x4640d0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
inc edx
pop ebp
jmp fcn.00463e80

Function at 0x4640e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x470
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x468], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x420]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea eax, [esp + 0x218]
push 0x17c
push str..._.._base_files_file_util_win.cc
push 0x5e7cfd
push eax
call fcn.004e0f50
add esp, 0x10
mov ecx, esi
lea esi, [esp + 0x218]
push 0
push esi
call fcn.004e70c0
mov eax, 0x208
mov ecx, 0xff
push eax
push ecx
push esi
call fcn.005072d0
add esp, 0xc
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x464170
mov eax, dword [ebx]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.004e5b90
add esp, 0xc
push esi
call fcn.004d50d0
add esp, 4
lea esi, [esp + 0x10]
mov eax, 0x208
push eax
mov eax, 0xff
push eax
push esi
call fcn.005072d0
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4641ac
mov eax, dword [edi]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.004e5b90
add esp, 0xc
push esi
call fcn.004d50d0
add esp, 4
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x4641cf
mov eax, dword [ebx]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x4641d9
mov ecx, dword [edi]
sub esp, 0x18
movaps xmm0, xmmword [0x5e7c80]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x46424e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00465610
add esp, 4
mov dword [esp + 0xc], eax
cmp byte [edi + 0xb], 0
jns 0x464214
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
cmp byte [ebx + 0xb], 0
jns 0x46421f
mov ebx, dword [ebx]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
test esi, esi
je 0x464250
test eax, eax
jne 0x464250
cmp dword [esp + 0xc], 0xfffffffc
jne 0x464244
call fcn.00562370
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi], eax
xor ebx, ebx
jmp 0x464250
mov bl, 1
lea ecx, [esp + 0x420]
call fcn.004e7120
mov ecx, dword [esp + 0x468]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x464280
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1af
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.004e0f50
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004e70c0
cmp byte [edi + 0xb], 0
jns 0x4642e1
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.004e7120
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1d7
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.004e0f50
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004e70c0
cmp byte [edi + 0xb], 0
jns 0x464371
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
setne al
and ebx, 0x10
shr ebx, 4
and bl, al
mov ecx, esi
call fcn.004e7120
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4643b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.005072d0
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x464438
push ebx
call fcn.00520e34
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.004dfa40
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.0045c890
mov ecx, dword [ebp + 8]
push ebx
call fcn.004dfb20
mov ecx, ebx
call fcn.004dfb00
mov ecx, edi
call fcn.004dfb00
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x464460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.005072d0
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x5e7c90]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4644dc
cmp word [ebp - 0x214], 0
je 0x4644dc
push edi
call fcn.00520e34
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004dfa40
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.004df9b0
push edi
call fcn.004643b0
add esp, 4
mov ecx, esi
test al, al
je 0x46450b
push edi
call fcn.004dfa10
jmp 0x464517
push 3
push 0x5e7d26
call fcn.004dfa40
lea ecx, [ebp - 0x220]
call fcn.004dfb00
jmp 0x4644c6