Function at 0x64606cde
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 [0x646170a0]
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 [0x64617004]
cmp eax, 0x64617004
je 0x64606d4b
test dword [eax + 0x1c], 0x200
je 0x64606d4b
cmp byte [eax + 0x19], 4
jb 0x64606d4b
push dword [eax + 0x14]
mov edx, 0x64601f58
push dword [eax + 0x10]
push 0x1a
pop ecx
call fcn.64604423
xor ecx, ecx
push 0x208
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0xe48], ecx
push eax
mov dword [ebp - 0xe70], ecx
mov ebx, ecx
mov dword [ebp - 0xe54], ecx
mov dword [ebp - 0xe4c], ecx
mov dword [ebp - 0xe5c], ecx
mov dword [ebp - 0xe58], ecx
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 esi, dword [esi]
lea eax, [ebp - 0xe70]
and dword [ebp - 0xe80], edi
add esp, 0xc
mov ecx, dword [esi + 0x38]
push eax
push 0
push dword [ebp - 0xe78]
call dword [0x64618384]
call dword [esi + 0x38]
xor esi, esi
test eax, eax
js 0x64606ec9
push esi
push dword [0x6461740c]
push dword [0x64617408]
push 0x64601f68
push dword [ebp - 0xe70]
call dword [sym.imp.MAPI32.dll_Ordinal_82]
test eax, eax
js 0x64606ec9
lea eax, [ebp - 0xe54]
push eax
push esi
push esi
push esi
push esi
push dword [ebp - 0xe70]
call dword [sym.imp.MAPI32.dll_Ordinal_75]
test eax, eax
jns 0x64606eb2
mov dword [ebp - 0xe54], esi
mov edi, 0x2d02
cmp word [ebp - 0xa34], 0
je 0x64606e45
lea ecx, [ebp - 0xa34]
call fcn.6460e6a4
mov ecx, dword [ebp - 0xe90]
mov dword [ecx], eax
test eax, eax
jne 0x64606e45
mov edi, 0x2cfd
mov eax, dword [ebp - 0xe6c]
test eax, eax
je 0x64606e56
mov ecx, eax
call fcn.6460ce5b
test ebx, ebx
je 0x64606e61
mov ecx, ebx
call fcn.6460ce5b
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x64606e72
push eax
call dword [sym.imp.MAPI32.dll_Ordinal_140]
mov ecx, dword [ebp - 0xe70]
test ecx, ecx
je 0x64606e8c
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x64618384]
call esi
mov eax, dword [ebp - 0xe58]
test eax, eax
je 0x64606e9d
mov ecx, eax
call fcn.6460ce5b
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615f50
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0xe54]
cmp dword [eax], esi
jne 0x64606ec9
push eax
call dword [sym.imp.MAPI32.dll_Ordinal_140]
mov dword [ebp - 0xe54], esi
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x64606e1a
mov edx, esi
mov dword [ebp - 0xe50], 1
mov dword [ebp - 0xe60], edx
cmp dword [eax], esi
jbe 0x64607344
mov ecx, esi
mov dword [ebp - 0xe64], esi
mov eax, dword [ebp - 0xe54]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebp - 0xe4c], esi
mov dword [ebp - 0xe48], esi
cmp dword [eax + 8], esi
je 0x64607215
mov ecx, dword [ebp - 0xe78]
lea edx, [ebp - 0xe4c]
push edx
push 0x10
push 0
mov esi, dword [ecx]
push dword [eax + 0x18]
push ecx
mov ecx, dword [esi + 0x3c]
call dword [0x64618384]
call dword [esi + 0x3c]
test eax, eax
jns 0x64606f4b
and dword [ebp - 0xe50], 0
jmp 0x646071d2
mov eax, dword [ebp - 0xe4c]
lea ecx, [ebp - 0xe48]
push ecx
lea ecx, [ebp - 0xe80]
push ecx
mov esi, dword [eax]
push 0
push 0x64601f94
push eax
mov ecx, dword [esi + 0x14]
call dword [0x64618384]
call dword [esi + 0x14]
test eax, eax
js 0x64606f3f
test ebx, ebx
je 0x64606f84
mov ecx, ebx
call fcn.6460ce5b
mov ecx, dword [ebp - 0xe48]
xor ebx, ebx
mov esi, ebx
cmp word [ecx + 0x20], 0xa
jne 0x64606fc5
cmp word [ecx + 0x50], 0xa
je 0x64606fb1
push 0x2e
push dword [ecx + 0x58]
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x64606fe5
mov ecx, eax
jmp 0x64606fd6
mov ecx, dword [ebp - 0xe48]
cmp word [ecx + 0x30], 0xa
je 0x64606fe5
push 0x2e
push dword [ecx + 0x38]
jmp 0x64606fa1
mov eax, dword [ebp - 0xe48]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x6460724a
call fcn.6460e750
mov ebx, eax
test ebx, ebx
je 0x6460724a
test ebx, ebx
jne 0x64606ff4
and dword [ebp - 0xe50], esi
jmp 0x646071d2
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 0x64607082
cmp edi, 0xd
je 0x64607082
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x646071d2
test dword [ecx + 0x1c], 0x200
je 0x646071d2
cmp byte [ecx + 0x19], 5
jb 0x646071d2
push ebx
push dword [ecx + 0x14]
mov edx, 0x64601f58
push dword [ecx + 0x10]
push 0x1b
pop ecx
call fcn.64605ed3
jmp 0x646071d2
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 0x646015e0
push ecx
lea eax, [ebp - 0x624]
push eax
call fcn.64604343
mov edi, eax
add esp, 0x10
test edi, edi
js 0x646072fb
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 0x64607110
cmp eax, 0xd
je 0x64607110
lea eax, [ebp - 0x41c]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x624]
call fcn.646042a0
mov edi, eax
test edi, edi
js 0x64607254
lea eax, [ebp - 0x41c]
push eax
push 0x646015f4
lea eax, [ebp - 0xe44]
push 0x104
push eax
call fcn.64604343
mov edi, eax
add esp, 0x10
test edi, edi
js 0x646072d5
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 0x646071b1
cmp edi, 0xd
je 0x646071b1
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64606f3f
test dword [eax + 0x1c], 0x200
je 0x64606f3f
cmp byte [eax + 0x19], 5
jb 0x64606f3f
push ebx
push dword [eax + 0x14]
mov edx, 0x64601f58
push dword [eax + 0x10]
push 0x1f
pop ecx
call fcn.64605ed3
jmp 0x64606f3f
lea eax, [ebp - 0x624]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x82c]
call fcn.646042a0
mov esi, eax
test esi, esi
js 0x64607289
mov ecx, dword [ebp - 0xe4c]
test ecx, ecx
je 0x646071ec
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x64618384]
call esi
mov ecx, dword [ebp - 0xe48]
test ecx, ecx
je 0x64607207
push ecx
call dword [sym.imp.MAPI32.dll_Ordinal_17]
xor esi, esi
mov dword [ebp - 0xe48], esi
jmp 0x64607209
xor esi, esi
mov edx, dword [ebp - 0xe60]
mov ecx, dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe54]
inc edx
add ecx, 0xc
mov dword [ebp - 0xe60], edx
mov dword [ebp - 0xe64], ecx
cmp edx, dword [eax]
jb 0x64606ef9
cmp dword [ebp - 0xe50], 0
jne 0x64607344
mov edi, 0x2cf4
jmp 0x64606e56
mov edi, 0x2cfd
jmp 0x64606e61
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460732a
test dword [eax + 0x1c], 0x200
je 0x6460732a
cmp byte [eax + 0x19], 5
jb 0x6460732a
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
jmp 0x6460731f
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x646072b8
test dword [eax + 0x1c], 0x200
je 0x646072b8
cmp byte [eax + 0x19], 5
jb 0x646072b8
push esi
push dword [eax + 0x14]
mov edx, 0x64601f58
push dword [eax + 0x10]
push 0x20
pop ecx
call fcn.64604441
mov eax, esi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x646072ce
movzx edi, si
jmp 0x64606e56
mov edi, esi
jmp 0x64606e56
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460732a
test dword [eax + 0x1c], 0x200
je 0x6460732a
cmp byte [eax + 0x19], 5
jb 0x6460732a
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1e
jmp 0x6460731f
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460732a
test dword [eax + 0x1c], 0x200
je 0x6460732a
cmp byte [eax + 0x19], 5
jb 0x6460732a
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
mov edx, 0x64601f58
pop ecx
call fcn.64604441
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x64606e56
movzx edi, di
jmp 0x64606e56
mov eax, dword [ebp - 0xe54]
mov ecx, esi
mov dword [ebp - 0xe64], ecx
cmp dword [eax], esi
jbe 0x64606e1f
mov edx, esi
mov dword [ebp - 0xe60], esi
mov eax, dword [ebp - 0xe54]
mov eax, dword [edx + eax + 0xc]
mov dword [ebp - 0xe4c], esi
mov dword [ebp - 0xe48], esi
cmp dword [eax + 8], esi
je 0x646078d6
mov ecx, dword [ebp - 0xe78]
lea edx, [ebp - 0xe4c]
push edx
push 0x10
push 0
mov esi, dword [ecx]
push dword [eax + 0x18]
push ecx
mov ecx, dword [esi + 0x3c]
call dword [0x64618384]
call dword [esi + 0x3c]
test eax, eax
js 0x64607893
mov eax, dword [ebp - 0xe4c]
lea ecx, [ebp - 0xe48]
push ecx
lea ecx, [ebp - 0xe80]
push ecx
mov esi, dword [eax]
push 0
push 0x64601f94
push eax
mov ecx, dword [esi + 0x14]
call dword [0x64618384]
call dword [esi + 0x14]
test eax, eax
js 0x64607893
test ebx, ebx
je 0x646073e9
mov ecx, ebx
call fcn.6460ce5b
mov ecx, dword [ebp - 0xe48]
xor ebx, ebx
mov dword [ebp - 0xe50], ebx
mov esi, ebx
cmp word [ecx + 0x20], 0xa
jne 0x64607442
cmp word [ecx + 0x50], 0xa
je 0x6460741c
push 0x2e
push dword [ecx + 0x58]
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x64607468
mov ecx, eax
jmp 0x64607453
mov ecx, dword [ebp - 0xe48]
mov dword [ebp - 0xe50], ebx
cmp word [ecx + 0x30], 0xa
je 0x64607468
push 0x2e
push dword [ecx + 0x38]
call dword [sym.imp.msvcrt.dll_strrchr]
mov dword [ebp - 0xe50], ebx
jmp 0x64607412
mov eax, dword [ebp - 0xe48]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x64607aca
call fcn.6460e750
mov ebx, eax
mov dword [ebp - 0xe50], ebx
test ebx, ebx
je 0x64606e40
test ebx, ebx
je 0x64607893
and dword [ebp - 0xe5c], esi
xor eax, eax
and dword [ebp - 0xe74], eax
mov dword [ebp - 0xe58], eax
mov eax, dword [ebp - 0xe6c]
test eax, eax
je 0x64607495
mov ecx, eax
call fcn.6460ce5b
mov ecx, dword [ebp - 0xe48]
cmp word [ecx + 0x40], 0xa
je 0x646074c2
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je 0x646074b8
call fcn.6460e750
mov dword [ebp - 0xe6c], eax
test eax, eax
jne 0x646074ca
mov edi, 0x2cfd
jmp 0x64606e56
xor eax, eax
mov dword [ebp - 0xe6c], eax
test eax, eax
je 0x646074e5
mov ecx, eax
call fcn.6460e6a4
mov esi, eax
mov dword [ebp - 0xe58], esi
test esi, esi
je 0x64606e40
mov ecx, dword [ebp - 0xe48]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x6460770d
add eax, 0xfffffffb
cmp eax, 1
ja 0x64607591
mov eax, dword [ebp - 0xe4c]
lea ecx, [ebp - 0xe5c]
push ecx
push 0
push 0
mov esi, dword [eax]
push 0x64602220
push 0x3701000d
push eax
mov ecx, dword [esi + 0x1c]
call dword [0x64618384]
call dword [esi + 0x1c]
test eax, eax
jns 0x64607591
mov eax, dword [ebp - 0xe4c]
lea ecx, [ebp - 0xe5c]
push ecx
push 0
push 0
mov esi, dword [eax]
push 0x64602220
push 0x37010102
push eax
mov ecx, dword [esi + 0x1c]
call dword [0x64618384]
call dword [esi + 0x1c]
test eax, eax
jns 0x64607591
lea ecx, [ebp - 0xe5c]
push ecx
push 0
push 0
push 0x646012bc
push 0x3701000d
mov eax, dword [ebp - 0xe4c]
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x1c]
call dword [0x64618384]
call dword [esi + 0x1c]
test eax, eax
js 0x64607893
cmp dword [ebp - 0xe5c], 0
je 0x64607762
lea eax, [ebp - 0xe44]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x82c]
xor esi, esi
push eax
push esi
push 0x64601628
lea eax, [ebp - 0xe44]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push esi
push 2
push esi
push esi
push 0xc0000000
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xe88], eax
cmp eax, 0xffffffff
je 0x6460774c
mov ecx, 0x10000
call fcn.6460cdda
mov dword [ebp - 0xe74], eax
test eax, eax
je 0x64606e40
mov ebx, dword [ebp - 0xe88]
mov edi, eax
mov ecx, dword [ebp - 0xe5c]
lea eax, [ebp - 0xe84]
push eax
push 0x10000
push edi
mov esi, dword [ecx]
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x64618384]
call dword [esi + 0xc]
test eax, eax
js 0x6460765c
push 0
lea eax, [ebp - 0xe94]
push eax
push dword [ebp - 0xe84]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0xe84], 0x10000
je 0x64607613
push dword [ebp - 0xe88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.6460ce5b
mov eax, dword [ebp - 0xe58]
mov edi, dword [ebp - 0xe7c]
mov ebx, dword [ebp - 0xe50]
test eax, eax
je 0x6460768c
mov ecx, eax
call fcn.6460ce5b
lea eax, [ebp - 0x82c]
xor esi, esi
push eax
mov edx, 0x104
mov dword [ebp - 0xe58], esi
lea ecx, [ebp - 0xc3c]
call fcn.646042a0
mov ecx, eax
test ecx, ecx
js 0x64607937
lea eax, [ebp - 0xc3c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x64607727
mov ecx, eax
lea edx, [ebp - 0xc3c]
sub ecx, edx
mov edx, 0x103
sar ecx, 1
shr ecx, 1
sub edx, ecx
mov ecx, eax
push ebx
call fcn.646042a0
mov ecx, eax
test ecx, ecx
js 0x646078f9
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0xc3c]
jmp 0x6460772d
lea ecx, [ebp - 0xe5c]
push ecx
push 0
push 0
push 0x646012ac
push 0x37010102
jmp 0x64607574
lea ecx, [ebp - 0x82c]
call fcn.6460e6a4
mov esi, eax
mov dword [ebp - 0xe58], esi
test esi, esi
je 0x64606e40
mov dword [ebp - 0xe74], 1
mov eax, dword [ebp - 0xe5c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x64618384]
call esi
mov esi, dword [ebp - 0xe58]
test esi, esi
je 0x64607893
lea ecx, [ebp - 0x214]
call fcn.64622c15
test eax, eax
je 0x64607ac0
lea eax, [ebp - 0x214]
mov edx, esi
push eax
mov eax, dword [ebp - 0xe8c]
mov ecx, dword [eax]
call fcn.64622c15
test eax, eax
je 0x64607a18
cmp word [ebp - 0xa34], 0
je 0x64607816
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0xa34]
call fcn.64611583
test eax, eax
je 0x6460797b
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x64607832
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64607832
test dword [eax + 0x1c], 0x200
je 0x64607832
cmp byte [eax + 0x19], 2
jb 0x64607832
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64601f58
push 0x64601658
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x27
pop ecx
call fcn.64604465
jmp 0x64607832
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 - 0xe74], 0
je 0x64607885
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x64607885
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64607885
test dword [eax + 0x1c], 0x200
je 0x64607885
cmp byte [eax + 0x19], 2
jb 0x64607885
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64601f58
push 0x64601658
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x28
pop ecx
call fcn.64604465
mov ecx, esi
call fcn.6460ce5b
and dword [ebp - 0xe58], 0
mov ecx, dword [ebp - 0xe4c]
test ecx, ecx
je 0x646078ad
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x64618384]
call esi
mov ecx, dword [ebp - 0xe48]
test ecx, ecx
je 0x646078c8
push ecx
call dword [sym.imp.MAPI32.dll_Ordinal_17]
xor esi, esi
mov dword [ebp - 0xe48], esi
jmp 0x646078ca
xor esi, esi
mov edx, dword [ebp - 0xe60]
mov ecx, dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe54]
inc ecx
add edx, 0xc
mov dword [ebp - 0xe64], ecx
mov dword [ebp - 0xe60], edx
cmp ecx, dword [eax]
jb 0x64607362
jmp 0x64606e1f
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460792d
test dword [eax + 0x1c], 0x200
je 0x6460792d
cmp byte [eax + 0x19], 2
jb 0x6460792d
push ecx
push 0x646012fc
push dword [eax + 0x14]
mov edx, 0x64601f58
push dword [eax + 0x10]
push 0x22
pop ecx
call fcn.64604465
mov edi, 0x2cfe
jmp 0x64606e45
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460796b
test dword [eax + 0x1c], 0x200
je 0x6460796b
cmp byte [eax + 0x19], 2
jb 0x6460796b
push ecx
push 0x646012fc
push dword [eax + 0x14]
mov edx, 0x64601f58
push dword [eax + 0x10]
push 0x21
pop ecx
call fcn.64604465
mov edi, 0x2cfe
mov dword [ebp - 0xe58], esi
jmp 0x64606e45
mov eax, dword [0x64617004]
mov esi, 0x64617004
cmp eax, esi
je 0x646079bc
test dword [eax + 0x1c], 0x200
je 0x646079bc
cmp byte [eax + 0x19], 2
jb 0x646079bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64601f58
push 0x64601670
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x25
pop ecx
call fcn.64604465
lea eax, [ebp - 0x214]
mov edi, 0x2cf4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x64606e45
mov eax, dword [0x64617004]
cmp eax, esi
je 0x64606e45
test dword [eax + 0x1c], 0x200
je 0x64606e45
cmp byte [eax + 0x19], 2
jb 0x64606e45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push 0x64601658
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x26
jmp 0x64607ab0
mov eax, dword [0x64617004]
mov esi, 0x64617004
cmp eax, esi
je 0x64607a59
test dword [eax + 0x1c], 0x200
je 0x64607a59
cmp byte [eax + 0x19], 2
jb 0x64607a59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64601f58
push 0x64601630
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x23
pop ecx
call fcn.64604465
lea eax, [ebp - 0x214]
mov edi, 0x2cf4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x64606e45
mov eax, dword [0x64617004]
cmp eax, esi
je 0x64606e45
test dword [eax + 0x1c], 0x200
je 0x64606e45
cmp byte [eax + 0x19], 2
jb 0x64606e45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push 0x64601658
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x24
mov edx, 0x64601f58
pop ecx
call fcn.64604465
jmp 0x64606e45
mov edi, 0x2cf4
jmp 0x64606e45
xor ebx, ebx
jmp 0x64606e40