Function at 0x646078d5
Capabilities:
Get common file path
Move file
Query or enumerate registry value
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe98
mov eax, dword [0x646180b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xe8c], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe78], esi
mov dword [ebp - 0xe90], eax
mov dword [ebp - 0xe7c], edi
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64607942
test dword [eax + 0x1c], 0x200
je 0x64607942
cmp byte [eax + 0x19], 4
jb 0x64607942
push dword [eax + 0x14]
mov edx, 0x64602d30
push dword [eax + 0x10]
push 0x1a
pop ecx
call fcn.6460534c
xor ecx, ecx
push 0x208
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0xe48], ecx
mov ebx, ecx
mov dword [ebp - 0xe74], ecx
push eax
mov dword [ebp - 0xe54], ecx
mov dword [ebp - 0xe50], ecx
mov dword [ebp - 0xe5c], ecx
mov dword [ebp - 0xe58], ecx
mov dword [ebp - 0xe4c], ebx
mov dword [ebp - 0xe6c], ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa34]
push 0x208
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esi]
add esp, 0xc
and dword [ebp - 0xe80], edi
mov esi, dword [eax + 0x38]
lea eax, [ebp - 0xe74]
push eax
push 0
push dword [ebp - 0xe78]
mov ecx, esi
call dword [0x6461939c]
call esi
xor esi, esi
test eax, eax
js 0x64607acb
push esi
push dword [0x6461843c]
push dword [0x64618438]
push 0x64602d24
push dword [ebp - 0xe74]
call dword [sym.imp.MAPI32.dll_Ordinal_82]
test eax, eax
js 0x64607acb
lea eax, [ebp - 0xe54]
push eax
push esi
push esi
push esi
push esi
push dword [ebp - 0xe74]
call dword [sym.imp.MAPI32.dll_Ordinal_75]
test eax, eax
jns 0x64607ab4
mov dword [ebp - 0xe54], esi
mov edi, 0x2d02
cmp word [ebp - 0xa34], 0
je 0x64607a43
lea ecx, [ebp - 0xa34]
call fcn.6460ec38
mov ecx, dword [ebp - 0xe90]
mov dword [ecx], eax
test eax, eax
jne 0x64607a43
mov edi, 0x2cfd
mov eax, dword [ebp - 0xe6c]
mov ebx, dword [ebp - 0xe4c]
test eax, eax
je 0x64607a5a
mov ecx, eax
call fcn.6460d3c9
test ebx, ebx
je 0x64607a65
mov ecx, ebx
call fcn.6460d3c9
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x64607a76
push eax
call dword [sym.imp.MAPI32.dll_Ordinal_140]
mov ecx, dword [ebp - 0xe74]
test ecx, ecx
je 0x64607a90
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6461939c]
call esi
mov eax, dword [ebp - 0xe58]
test eax, eax
je 0x64607aa1
mov ecx, eax
call fcn.6460d3c9
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64616f60
leave
ret 0xc
mov eax, dword [ebp - 0xe54]
cmp dword [eax], esi
jne 0x64607acb
push eax
call dword [sym.imp.MAPI32.dll_Ordinal_140]
mov dword [ebp - 0xe54], esi
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x64607a18
mov edx, esi
mov dword [ebp - 0xe60], 1
mov dword [ebp - 0xe64], edx
cmp dword [eax], esi
jbe 0x64607f4f
mov ecx, esi
mov dword [ebp - 0xe70], esi
mov eax, dword [ebp - 0xe54]
mov ecx, dword [ecx + eax + 0xc]
mov dword [ebp - 0xe50], esi
mov dword [ebp - 0xe48], esi
cmp dword [ecx + 8], esi
je 0x64607e1a
mov edx, dword [ebp - 0xe78]
mov eax, dword [edx]
mov esi, dword [eax + 0x3c]
lea eax, [ebp - 0xe50]
push eax
push 0x10
push 0
push dword [ecx + 0x18]
mov ecx, esi
push edx
call dword [0x6461939c]
call esi
test eax, eax
jns 0x64607b4e
and dword [ebp - 0xe60], 0
jmp 0x64607ddd
mov ecx, dword [ebp - 0xe50]
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0xe80]
push eax
push 0
push 0x64602d60
push ecx
mov ecx, esi
call dword [0x6461939c]
call esi
test eax, eax
js 0x64607b42
test ebx, ebx
je 0x64607b90
mov ecx, ebx
call fcn.6460d3c9
xor ebx, ebx
mov dword [ebp - 0xe4c], ebx
mov ecx, dword [ebp - 0xe48]
cmp word [ecx + 0x20], 0xa
jne 0x64607bcd
cmp word [ecx + 0x50], 0xa
je 0x64607bb9
push 0x2e
push dword [ecx + 0x58]
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x64607bf3
mov ecx, eax
jmp 0x64607bde
mov ecx, dword [ebp - 0xe48]
cmp word [ecx + 0x30], 0xa
je 0x64607bf3
push 0x2e
push dword [ecx + 0x38]
jmp 0x64607ba9
mov eax, dword [ebp - 0xe48]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x64607e55
call fcn.6460ecea
mov ebx, eax
mov dword [ebp - 0xe4c], ebx
test ebx, ebx
je 0x64607e55
test ebx, ebx
je 0x64607b42
mov esi, 0x208
lea eax, [ebp - 0x41c]
push esi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0xe68], 0x104
lea eax, [ebp - 0xe68]
push eax
lea eax, [ebp - 0x41c]
push eax
push ebx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edi, eax
mov dword [ebp - 0xe7c], edi
test edi, edi
je 0x64607c89
cmp edi, 0xd
je 0x64607c89
mov ecx, dword [0x6461800c]
cmp ecx, 0x6461800c
je 0x64607ddd
test dword [ecx + 0x1c], 0x200
je 0x64607ddd
cmp byte [ecx + 0x19], 5
jb 0x64607ddd
push ebx
push dword [ecx + 0x14]
mov edx, 0x64602d30
push dword [ecx + 0x10]
push 0x1b
pop ecx
call fcn.64606ab8
jmp 0x64607ddd
push esi
lea eax, [ebp - 0x624]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x41c]
mov ecx, 0x104
mov dword [ebp - 0xe68], ecx
push eax
push 0x646023c8
push ecx
lea eax, [ebp - 0x624]
push eax
call fcn.64605260
mov edi, eax
add esp, 0x10
test edi, edi
js 0x64607f06
lea eax, [ebp - 0xe68]
mov esi, 0x80000000
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x624]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x64607d19
cmp eax, 0xd
je 0x64607d19
push ecx
lea eax, [ebp - 0x41c]
mov edx, 0x104
push eax
push ecx
lea ecx, [ebp - 0x624]
call fcn.646052c7
mov edi, eax
test edi, edi
js 0x64607e5f
lea eax, [ebp - 0x41c]
push eax
push 0x646023dc
lea eax, [ebp - 0xe44]
push 0x104
push eax
call fcn.64605260
mov edi, eax
add esp, 0x10
test edi, edi
js 0x64607ee0
lea eax, [ebp - 0xe68]
mov dword [ebp - 0xe68], 0x104
push eax
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0xe44]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edi, eax
mov dword [ebp - 0xe7c], edi
test edi, edi
je 0x64607dba
cmp edi, 0xd
je 0x64607dba
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64607b42
test dword [eax + 0x1c], 0x200
je 0x64607b42
cmp byte [eax + 0x19], 5
jb 0x64607b42
push ebx
push dword [eax + 0x14]
mov edx, 0x64602d30
push dword [eax + 0x10]
push 0x1f
pop ecx
call fcn.64606ab8
jmp 0x64607b42
push ecx
lea eax, [ebp - 0x624]
mov edx, 0x104
push eax
push ecx
lea ecx, [ebp - 0x82c]
call fcn.646052c7
mov esi, eax
test esi, esi
js 0x64607e94
mov ecx, dword [ebp - 0xe50]
test ecx, ecx
je 0x64607df7
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6461939c]
call esi
mov ecx, dword [ebp - 0xe48]
test ecx, ecx
je 0x64607e12
push ecx
call dword [sym.imp.MAPI32.dll_Ordinal_17]
xor esi, esi
mov dword [ebp - 0xe48], esi
jmp 0x64607e14
xor esi, esi
mov edx, dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe54]
inc edx
mov ecx, dword [ebp - 0xe70]
add ecx, 0xc
mov dword [ebp - 0xe64], edx
mov dword [ebp - 0xe70], ecx
cmp edx, dword [eax]
jb 0x64607afb
cmp dword [ebp - 0xe60], 0
jne 0x64607f4f
mov edi, 0x2cf4
jmp 0x64607a5a
mov edi, 0x2cfd
jmp 0x64607a65
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64607f35
test dword [eax + 0x1c], 0x200
je 0x64607f35
cmp byte [eax + 0x19], 5
jb 0x64607f35
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
jmp 0x64607f2a
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64607ec3
test dword [eax + 0x1c], 0x200
je 0x64607ec3
cmp byte [eax + 0x19], 5
jb 0x64607ec3
push esi
push dword [eax + 0x14]
mov edx, 0x64602d30
push dword [eax + 0x10]
push 0x20
pop ecx
call fcn.64605370
mov eax, esi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x64607ed9
movzx edi, si
jmp 0x64607a5e
mov edi, esi
jmp 0x64607a5e
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64607f35
test dword [eax + 0x1c], 0x200
je 0x64607f35
cmp byte [eax + 0x19], 5
jb 0x64607f35
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1e
jmp 0x64607f2a
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64607f35
test dword [eax + 0x1c], 0x200
je 0x64607f35
cmp byte [eax + 0x19], 5
jb 0x64607f35
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
mov edx, 0x64602d30
pop ecx
call fcn.64605370
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x64607a5e
movzx edi, di
jmp 0x64607a5e
mov eax, dword [ebp - 0xe54]
mov dword [ebp - 0xe88], esi
cmp dword [eax], esi
jbe 0x64607a1d
mov ecx, esi
mov dword [ebp - 0xe64], ecx
mov eax, dword [ebp - 0xe54]
mov ecx, dword [ecx + eax + 0xc]
mov dword [ebp - 0xe50], esi
mov dword [ebp - 0xe48], esi
cmp dword [ecx + 8], esi
je 0x646084c9
mov edx, dword [ebp - 0xe78]
mov eax, dword [edx]
mov esi, dword [eax + 0x3c]
lea eax, [ebp - 0xe50]
push eax
push 0x10
push 0
push dword [ecx + 0x18]
mov ecx, esi
push edx
call dword [0x6461939c]
call esi
test eax, eax
js 0x64608492
mov ecx, dword [ebp - 0xe50]
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0xe80]
push eax
push 0
push 0x64602d60
push ecx
mov ecx, esi
call dword [0x6461939c]
call esi
test eax, eax
js 0x64608492
test ebx, ebx
je 0x64607ffc
mov ecx, ebx
call fcn.6460d3c9
xor ebx, ebx
mov dword [ebp - 0xe4c], ebx
mov ecx, dword [ebp - 0xe48]
push 0xa
pop esi
movzx eax, word [ecx + 0x20]
cmp eax, esi
jne 0x6460803f
movzx eax, word [ecx + 0x50]
cmp eax, esi
je 0x6460802a
push 0x2e
push dword [ecx + 0x58]
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x64608065
mov ecx, eax
jmp 0x64608050
mov ecx, dword [ebp - 0xe48]
movzx eax, word [ecx + 0x30]
cmp eax, esi
je 0x64608065
push 0x2e
push dword [ecx + 0x38]
jmp 0x6460801a
mov eax, dword [ebp - 0xe48]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x646086ce
call fcn.6460ecea
mov ebx, eax
mov dword [ebp - 0xe4c], ebx
test ebx, ebx
je 0x64607a3e
test ebx, ebx
je 0x64608492
and dword [ebp - 0xe5c], 0
xor eax, eax
and dword [ebp - 0xe60], eax
mov dword [ebp - 0xe58], eax
mov eax, dword [ebp - 0xe6c]
test eax, eax
je 0x64608093
mov ecx, eax
call fcn.6460d3c9
mov ecx, dword [ebp - 0xe48]
movzx eax, word [ecx + 0x40]
cmp eax, esi
je 0x646080da
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je 0x6460850c
call fcn.6460ecea
mov dword [ebp - 0xe6c], eax
test eax, eax
je 0x6460850c
mov ecx, eax
call fcn.6460ec38
mov esi, eax
mov dword [ebp - 0xe58], esi
test esi, esi
je 0x646084fc
xor ebx, ebx
jmp 0x646080e2
xor ebx, ebx
mov dword [ebp - 0xe6c], ebx
mov eax, dword [ebp - 0xe48]
mov eax, dword [eax + 8]
cmp eax, 1
je 0x64608283
add eax, 0xfffffffb
cmp eax, 1
ja 0x6460818b
mov ecx, dword [ebp - 0xe50]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0xe5c]
push eax
push ebx
push ebx
push 0x64602fe8
push 0x3701000d
push ecx
mov ecx, esi
call dword [0x6461939c]
call esi
test eax, eax
jns 0x6460818b
mov ecx, dword [ebp - 0xe50]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0xe5c]
push eax
push ebx
push ebx
push 0x64602fe8
push 0x37010102
push ecx
mov ecx, esi
call dword [0x6461939c]
call esi
test eax, eax
jns 0x6460818b
mov ecx, dword [ebp - 0xe50]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0xe5c]
push eax
push ebx
push ebx
push 0x646020b4
push 0x3701000d
push ecx
mov ecx, esi
call dword [0x6461939c]
call esi
test eax, eax
js 0x64608492
cmp dword [ebp - 0xe5c], 0
je 0x64608362
lea eax, [ebp - 0xe44]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPath2W]
lea eax, [ebp - 0x82c]
push eax
push ebx
push 0x64602410
lea eax, [ebp - 0xe44]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
push ebx
push 2
push ebx
push ebx
push 0xc0000000
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xe70], eax
cmp eax, 0xffffffff
je 0x6460834c
mov ecx, 0x10000
call fcn.6460d35d
mov ebx, eax
test ebx, ebx
je 0x64607a3e
mov edi, dword [ebp - 0xe70]
mov edx, dword [ebp - 0xe5c]
lea eax, [ebp - 0xe84]
push eax
push 0x10000
push ebx
mov ecx, dword [edx]
push edx
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x6461939c]
call esi
test eax, eax
js 0x6460824f
push 0
lea eax, [ebp - 0xe94]
push eax
push dword [ebp - 0xe84]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0xe84], 0x10000
je 0x64608205
push dword [ebp - 0xe70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.6460d3c9
mov ebx, dword [ebp - 0xe58]
mov edi, dword [ebp - 0xe7c]
test ebx, ebx
je 0x646082a6
mov ecx, ebx
call fcn.6460d3c9
xor ebx, ebx
mov dword [ebp - 0xe58], ebx
jmp 0x646082a8
mov ecx, dword [ebp - 0xe50]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0xe5c]
push eax
push ebx
push ebx
push 0x646020a4
push 0x37010102
jmp 0x64608178
xor ebx, ebx
push ecx
lea eax, [ebp - 0x82c]
mov edx, 0x104
push eax
push ecx
lea ecx, [ebp - 0xc3c]
call fcn.646052c7
mov ecx, eax
test ecx, ecx
js 0x64608541
lea eax, [ebp - 0xc3c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x64608329
mov ecx, dword [ebp - 0xe4c]
lea edx, [ebp - 0xc3c]
push ecx
mov ecx, eax
sub ecx, edx
mov edx, 0x103
sar ecx, 1
shr ecx, 1
sub edx, ecx
mov ecx, eax
call fcn.646051c2
mov ecx, eax
test ecx, ecx
js 0x64608516
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0xc3c]
jmp 0x6460832f
lea ecx, [ebp - 0x82c]
call fcn.6460ec38
mov dword [ebp - 0xe58], eax
test eax, eax
je 0x64607a3e
mov dword [ebp - 0xe60], 1
mov eax, dword [ebp - 0xe5c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x6461939c]
call esi
mov esi, dword [ebp - 0xe58]
test esi, esi
je 0x64608492
lea ecx, [ebp - 0x214]
call fcn.64623e0f
test eax, eax
je 0x646086c4
lea eax, [ebp - 0x214]
mov edx, esi
push eax
mov eax, dword [ebp - 0xe8c]
mov ecx, dword [eax]
call fcn.64612339
test eax, eax
je 0x6460861c
cmp word [ebp - 0xa34], 0
je 0x64608416
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0xa34]
call fcn.64611ca6
test eax, eax
je 0x6460857f
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x64608432
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64608432
test dword [eax + 0x1c], 0x200
je 0x64608432
cmp byte [eax + 0x19], 2
jb 0x64608432
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
mov edx, 0x64602d30
push 0x64602440
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x27
pop ecx
call fcn.6460539a
jmp 0x64608432
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xa34]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0xe60], 0
je 0x64608485
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x64608485
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64608485
test dword [eax + 0x1c], 0x200
je 0x64608485
cmp byte [eax + 0x19], 2
jb 0x64608485
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
mov edx, 0x64602d30
push 0x64602440
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x28
pop ecx
call fcn.6460539a
mov ecx, esi
call fcn.6460d3c9
mov dword [ebp - 0xe58], ebx
mov ecx, dword [ebp - 0xe50]
test ecx, ecx
je 0x646084ac
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6461939c]
call esi
mov ecx, dword [ebp - 0xe48]
test ecx, ecx
je 0x646084c7
push ecx
call dword [sym.imp.MAPI32.dll_Ordinal_17]
xor esi, esi
mov dword [ebp - 0xe48], esi
jmp 0x646084c9
xor esi, esi
mov ecx, dword [ebp - 0xe88]
mov eax, dword [ebp - 0xe54]
inc ecx
add dword [ebp - 0xe64], 0xc
mov dword [ebp - 0xe88], ecx
cmp ecx, dword [eax]
jae 0x64607a1d
mov ebx, dword [ebp - 0xe4c]
mov ecx, dword [ebp - 0xe64]
jmp 0x64607f6b
mov eax, dword [ebp - 0xe6c]
mov edi, 0x2cfd
jmp 0x64607a53
mov edi, 0x2cfd
jmp 0x64607a5e
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64608575
test dword [eax + 0x1c], 0x200
je 0x64608575
cmp byte [eax + 0x19], 2
jb 0x64608575
push ecx
push 0x646020e4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x22
jmp 0x6460856a
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64608575
test dword [eax + 0x1c], 0x200
je 0x64608575
cmp byte [eax + 0x19], 2
jb 0x64608575
push ecx
push 0x646020e4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x21
mov edx, 0x64602d30
pop ecx
call fcn.6460539a
mov edi, 0x2cfe
jmp 0x64607a43
mov eax, dword [0x6461800c]
mov ebx, 0x6461800c
cmp eax, ebx
je 0x646085c0
test dword [eax + 0x1c], 0x200
je 0x646085c0
cmp byte [eax + 0x19], 2
jb 0x646085c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
mov edx, 0x64602d30
push 0x64602458
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x25
pop ecx
call fcn.6460539a
lea eax, [ebp - 0x214]
mov edi, 0x2cf4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x64607a43
mov eax, dword [0x6461800c]
cmp eax, ebx
je 0x64607a43
test dword [eax + 0x1c], 0x200
je 0x64607a43
cmp byte [eax + 0x19], 2
jb 0x64607a43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push 0x64602440
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x26
jmp 0x646086b4
mov eax, dword [0x6461800c]
mov ebx, 0x6461800c
cmp eax, ebx
je 0x6460865d
test dword [eax + 0x1c], 0x200
je 0x6460865d
cmp byte [eax + 0x19], 2
jb 0x6460865d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
mov edx, 0x64602d30
push 0x64602418
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x23
pop ecx
call fcn.6460539a
lea eax, [ebp - 0x214]
mov edi, 0x2cf4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x64607a43
mov eax, dword [0x6461800c]
cmp eax, ebx
je 0x64607a43
test dword [eax + 0x1c], 0x200
je 0x64607a43
cmp byte [eax + 0x19], 2
jb 0x64607a43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push 0x64602440
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x24
mov edx, 0x64602d30
pop ecx
call fcn.6460539a
jmp 0x64607a43
mov edi, 0x2cf4
jmp 0x64607a43
xor ecx, ecx
mov dword [ebp - 0xe4c], ecx
jmp 0x64607a3e