joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456fc0
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ecx], eax
push eax
push eax
push ecx
push eax
push str.SymbolicLinkValue
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x457011
mov byte [esi], 0
xor eax, eax
mov byte [esi + 4], al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret 4
test eax, eax
jne 0x457058
cmp dword [ebp - 0x10], 6
jne 0x456ff4
push dword [edi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x45705e
mov edi, eax
mov eax, dword [0x585efc]
mov ecx, dword [0x5822ec]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45706d
mov ecx, dword [0x585ef8]
test ecx, ecx
je 0x457066
call dword [0x5798d8]
push edi
call ecx
mov dword [esi], eax
mov al, 1
jmp 0x456ff9
mov dword [esi], 0
jmp 0x45705a
mov eax, 5
jmp 0x457058
push 0x585efc
call fcn.004e6c81
add esp, 4
cmp dword [0x585efc], 0xffffffff
jne 0x457045
push 0x56f226
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlNtStatusToDosError
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x585ef8], eax
push 0x585efc
call fcn.004e6cfb
add esp, 4
jmp 0x457045

Function at 0x4570d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x457143
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x45712d
cmp dword [ebp - 0x18], 4
jne 0x45712d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x45712d
Function at 0x457150
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.004e7f70
mov esi, ecx
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, 0x800
lea edi, [ebp - 0x810]
push ebx
push 0xff
push edi
call fcn.004eac00
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], ebx
push ecx
push edi
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4571df
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x4571e3
mov ecx, esi
push edi
call fcn.004543a0
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x4571c6
cmp eax, 2
jne 0x457225
lea ebx, [ebp - 0x1010]
push 0x800
push 0xff
push ebx
call fcn.004eac00
add esp, 0xc
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x45722c
mov ecx, esi
push ebx
jmp 0x4571bf
mov esi, 0x3f4
jmp 0x4571c6
mov esi, 0xea
jmp 0x4571c6

Function at 0x457240
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00502114
add esp, 4
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x458050
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm0, qword [0x585f28]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x45807b
jnp 0x4580a0
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.004e71b0
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x585f38]
mov ecx, dword [0x5822ec]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4581d5
mov eax, dword [0x585f48]
mov ecx, dword [0x5822ec]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45820e
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub ebx, dword [0x585f40]
sbb edi, dword [0x585f44]
movd xmm0, edi
movd xmm1, ebx
punpckldq xmm1, xmm0
movq qword [esp + 0x28], xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
fild qword [esp + 0x38]
fstp qword [esp + 0x30]
divsd xmm1, qword [esp + 0x30]
pxor xmm0, xmm0
movsd xmm2, qword [0x561170]
ucomisd xmm2, xmm1
ja 0x45807b
mov eax, dword [esp + 8]
sub eax, dword [0x585f30]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x585f34]
movd xmm2, ecx
movd xmm0, eax
punpckldq xmm0, xmm2
punpckldq xmm0, xmmword [0x55fb20]
subpd xmm0, xmmword [0x55fb30]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x585f28], xmm0
jmp 0x45807b
push 0x585f38
call fcn.004e6c81
add esp, 4
cmp dword [0x585f38], 0xffffffff
jne 0x4580df
rdtsc
mov dword [0x585f30], eax
mov dword [0x585f34], edx
push 0x585f38
call fcn.004e6cfb
add esp, 4
jmp 0x4580df
push 0x585f48
call fcn.004e6c81
add esp, 4
cmp dword [0x585f48], 0xffffffff
jne 0x458100
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [0x585f44], ecx
mov dword [0x585f40], eax
push 0x585f48
call fcn.004e6cfb
add esp, 4
jmp 0x458100
Function at 0x45a3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x45a42b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x45a442
lea eax, [ebx + 1]
cmp eax, 2
jb 0x45a424
mov dword [esi], ebx
call fcn.004b67c0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x45a459
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004b67c0
push dword [esi]
call fcn.004a4410
add esp, 4
mov dword [esi], 0
jmp 0x45a415
int3

Function at 0x45a460
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x45a481
call fcn.004b67c0
mov dword [esi], 0
test edi, edi
je 0x45a4b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x45a4d2
cmp ebx, 2
jb 0x45a4a8
mov dword [esi], edi
call fcn.004b67c0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 4]
mov byte [esi + 4], al
mov byte [ecx + 4], 0
mov eax, dword [ecx]
inc eax
cmp eax, 2
jae 0x45a4e9
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004b67c0
push dword [esi]
call fcn.004a4410
add esp, 4
mov dword [esi], 0
jmp 0x45a49c
call fcn.0049fdd0
jmp 0x45a4c6
Function at 0x45b600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
call fcn.00471750
mov byte [esi + 4], 0
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi], 0x55dbb0
mov dword [esi + 0xc], eax
movaps xmm0, xmmword [0x56f610]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
sub esp, 0x10
cmp dword [esi + 0xc], eax
je 0x45b66a
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0xc]
inc eax
cmp eax, 2
jae 0x45b674
lea eax, [edi + 1]
cmp eax, 2
jb 0x45b65e
mov dword [esi + 0xc], edi
call fcn.004b67c0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004b67c0
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.004a4410
mov dword [esi + 0xc], 0
jmp 0x45b64e
Function at 0x45c670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x10]
push 0x171
push str....._base_files_file_win.cc
push str.DoInitialize
push esi
call fcn.004b6790
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.004aabe0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
xor edx, edx
inc edx
test bl, 2
cmove edx, eax
test bl, 4
mov ecx, 4
cmovne edx, ecx
test bl, 8
mov esi, 2
cmove esi, edx
test bl, 0x10
mov eax, 5
cmove eax, esi
test eax, eax
je 0x45c891
mov edx, ebx
and edx, 0x40
shl edx, 0x18
test bl, bl
cmovns ecx, edx
mov edx, ebx
rol edx, 0x1a
and edx, 0x80000100
or edx, ecx
bt ebx, 0x12
mov dword [esp + 0xc], eax
jb 0x45c880
mov eax, ebx
mov ecx, ebx
shr ecx, 4
and ecx, 0x10000
or ecx, edx
mov esi, ebx
shr esi, 8
and esi, 3
mov edx, ebx
shr edx, 0xd
and edx, 4
or edx, esi
and ebx, 0x400
mov dword [esp + 8], ebx
shl ebx, 0x14
mov esi, eax
shr esi, 3
and esi, 0x100
or esi, ebx
mov edi, eax
shr edi, 0xb
and edi, 2
or edi, esi
mov ebx, eax
shl ebx, 0xd
and ebx, 0x4000000
or ebx, edi
mov esi, eax
shl esi, 8
and esi, 0xa000000
or esi, ebx
mov eax, dword [ebp + 8]
xor edx, 3
cmp byte [eax + 0xb], 0
mov edi, eax
jns 0x45c79d
mov edi, dword [eax]
xor ebx, ebx
push ebx
push esi
push dword [esp + 0x14]
push ebx
push edx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov ebx, dword [esp + 4]
cmp dword [ebx], eax
je 0x45c7e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx]
inc eax
cmp eax, 2
jae 0x45c859
mov eax, edi
inc eax
cmp eax, 2
jb 0x45c7dc
mov dword [ebx], edi
call fcn.004b67c0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebx]
inc edi
cmp edi, 2
mov ecx, dword [ebp + 0xc]
jb 0x45c831
mov eax, dword [esp + 8]
shr eax, 0xa
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x19], al
test cl, 4
jne 0x45c845
test cl, 0xa
je 0x45c80d
mov byte [ebx + 0x18], 1
bt ecx, 0x15
jb 0x45c873
lea ecx, [esp + 0x20]
call fcn.004aac50
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004e71b0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045c550
add esp, 4
mov dword [ebx + 0x14], eax
jmp 0x45c813
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
cmp eax, 0xb7
setne byte [ebx + 0x18]
jmp 0x45c80d
call fcn.004b67c0
push dword [ebx]
call fcn.004a4410
add esp, 4
mov dword [ebx], 0
jmp 0x45c7cd
push dword [ebp + 8]
call fcn.0045dcb0
add esp, 4
jmp 0x45c813
bt ebx, 0x15
jb 0x45c8ae
or edx, 0x20000000
jmp 0x45c72e
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0xffffffff
call fcn.00539ab0
jmp 0x45c813
int3
Function at 0x45c990
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.0045c9a0
Function at 0x45cc00
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.0045c9a0

Function at 0x45cc10
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x460
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x458], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea eax, [esp + 0x250]
push 0x1d9
push str....._base_files_file_util_win.cc
push 0x56f90d
push eax
call fcn.004b6790
add esp, 0x10
mov ecx, esi
lea esi, [esp + 0x250]
push 0
push esi
call fcn.004aabe0
mov eax, 0x208
mov ecx, 0xff
push eax
push ecx
push esi
call fcn.004eac00
add esp, 0xc
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x45cc98
mov eax, dword [ebx]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.004af650
add esp, 0xc
push esi
call fcn.00494770
add esp, 4
lea esi, [esp + 0x48]
mov eax, 0x208
push eax
mov eax, 0xff
push eax
push esi
call fcn.004eac00
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x45ccd4
mov eax, dword [edi]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.004af650
add esp, 0xc
push esi
call fcn.00494770
add esp, 4
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x45ccf7
mov eax, dword [ebx]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x45cd01
mov ecx, dword [edi]
sub esp, 0x18
movsd xmm0, qword [0x56f8a0]
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 0x45cd7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045c550
add esp, 4
mov dword [esp + 0xc], eax
cmp byte [edi + 0xb], 0
jns 0x45cd3d
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
cmp byte [ebx + 0xb], 0
jns 0x45cd48
mov ebx, dword [ebx]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
test esi, esi
je 0x45cd5d
test eax, eax
je 0x45cd82
lea ecx, [esp + 0x10]
call fcn.004aac50
mov ecx, dword [esp + 0x458]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x45cd5d
cmp dword [esp + 0xc], 0xfffffffc
jne 0x45cd92
call fcn.005339c0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi], eax
xor ebx, ebx
jmp 0x45cd5d
Function at 0x45cda0
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, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x20c
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.004b6790
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004aabe0
cmp byte [edi + 0xb], 0
jns 0x45cdfc
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.004aac50
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x45ce30
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 dword [esp + 0xc], edx
mov edi, ecx
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x10]
push 0x215
push str....._base_files_file_util_win.cc
push str.PathHasAccess
push esi
call fcn.004b6790
add esp, 0x10
mov ecx, ebx
push 0
push esi
call fcn.004aabe0
cmp byte [edi + 0xb], 0
jns 0x45ce91
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor esi, esi
cmp eax, 0xffffffff
je 0x45cf27
test al, 0x10
mov edx, dword [esp + 0xc]
cmove edx, dword [ebp + 8]
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
push esi
push ecx
push 3
push esi
push 7
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x45ceea
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp ebx, 0xffffffff
je 0x45cf23
call fcn.004b67c0
mov esi, ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
setne bl
lea eax, [esi + 1]
cmp eax, 2
jb 0x45cf05
call fcn.004b67c0
push esi
call fcn.004a4410
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004aac50
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x45cee3
xor ebx, ebx
jmp 0x45cf05
Function at 0x45cf30
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, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x234
push str....._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.004b6790
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004aabe0
cmp byte [edi + 0xb], 0
jns 0x45cf8c
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.004aac50
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x45cfc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.004eac00
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x45d043
push ebx
call fcn.00502114
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.004b72d0
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.0046b630
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046a1e0
mov ecx, ebx
call fcn.004b73c0
mov ecx, edi
call fcn.004b73c0
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x45d070
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 [0x57f040]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.004eac00
sub esp, 8
mov dword [esp + 0x10], edi
movsd xmm0, qword [0x56f8b0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x45d0ed
cmp word [ebp - 0x214], 0
je 0x45d0ed
push edi
call fcn.00502114
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004b72d0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e71b0
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.004b7270
push edi
call fcn.0045cfc0
add esp, 4
mov ecx, esi
test al, al
jne 0x45d122
push 3
push 0x568466
call fcn.004b72d0
jmp 0x45d128
push edi
call fcn.0046a150
lea ecx, [ebp - 0x220]
call fcn.004b73c0
jmp 0x45d0d7
Function at 0x45d140
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, 0x90
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x88], eax
cmp byte [0x585f9c], 0
jne 0x45d364
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x50]
push 0x2ba
push str....._base_files_file_util_win.cc
push str.GetSecureSystemTemp
push ebx
call fcn.004b6790
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004aabe0
cmp dword [ebp + 8], 0
je 0x45d368
xor eax, eax
dec eax
lea esi, [esp + 4]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
call fcn.004b7270
push esi
push 0x65
call fcn.0045e9d0
add esp, 8
test al, al
je 0x45d25a
lea esi, [esp + 4]
mov ecx, esi
push 0xa
push str.SystemTemp
push ebx
call fcn.0046b510
mov ecx, esi
push ebx
call fcn.0046a1e0
mov ecx, ebx
call fcn.004b73c0
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x50]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esp + 0x40]
push 0x20c
push str....._base_files_file_util_win.cc
push str.PathExists
push edi
call fcn.004b6790
add esp, 0x10
mov ecx, ebx
push 0
push edi
call fcn.004aabe0
cmp byte [esi + 0xb], 0
jns 0x45d241
mov esi, dword [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov ecx, ebx
call fcn.004aac50
cmp esi, 0xffffffff
jne 0x45d30f
lea ecx, [esp + 4]
call fcn.004b73c0
xor eax, eax
dec eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea ebx, [esp + 4]
mov ecx, ebx
call fcn.004b7270
push ebx
push 0x67
call fcn.0045e9d0
add esp, 8
test al, al
je 0x45d302
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x50]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x40]
push 0x20c
push str....._base_files_file_util_win.cc
push str.PathExists
push edi
call fcn.004b6790
add esp, 0x10
mov ecx, esi
push 0
push edi
call fcn.004aabe0
cmp byte [esp + 0xf], 0
jns 0x45d2d3
mov ebx, dword [esp + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov ecx, esi
call fcn.004aac50
cmp ebx, 0xffffffff
je 0x45d302
lea ecx, [esp + 4]
mov edx, 2
push 0x40000000
call fcn.0045ce30
add esp, 4
test al, al
jne 0x45d32d
lea ecx, [esp + 4]
call fcn.004b73c0
xor ebx, ebx
jmp 0x45d343
lea ecx, [esp + 4]
mov edx, 2
push 0x40000000
call fcn.0045ce30
add esp, 4
test al, al
je 0x45d25a
mov ecx, dword [ebp + 8]
lea esi, [esp + 4]
push esi
call fcn.0046a180
mov ecx, esi
call fcn.004b73c0
mov bl, 1
lea ecx, [esp + 0x10]
call fcn.004aac50
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x45d34c
int3
Function at 0x45d850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x260
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x258], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x50]
push 0x42b
push str....._base_files_file_util_win.cc
push 0x56f9a1
push ebx
call fcn.004b6790
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004aabe0
lea esi, [esp + 0x52]
push 0x206
push 0xff
push esi
call fcn.004eac00
add esp, 0xc
mov word [esi - 2], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
dec esi
cmp esi, 0x103
ja 0x45d916
push ebx
call fcn.00502114
add esp, 4
lea edi, [esp + 8]
mov ecx, edi
push eax
push ebx
call fcn.004b72d0
lea ebx, [esp + 0x14]
mov ecx, edi
push ebx
call fcn.0046b630
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046a1e0
mov ecx, ebx
call fcn.004b73c0
mov ecx, edi
call fcn.004b73c0
cmp esi, 0x104
setb bl
lea ecx, [esp + 0x20]
call fcn.004aac50
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret