Function at 0x463d50
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507650
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x56a078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x2f4], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x300], edi
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2fc], 0
call fcn.00463a20
mov dword [ebp - 4], 1
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.00464c00
mov byte [ebp - 4], 2
cmp dword [ebx + 0x14], 8
jb 0x463dd3
mov ecx, dword [ebx]
jmp 0x463dd5
mov ecx, ebx
cmp dword [eax + 0x14], 8
jb 0x463ddd
mov eax, dword [eax]
lea edx, [ebp - 0x218]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x463e54
mov ecx, dword [ebp - 0x248]
inc eax
cmp eax, 0x7fffffff
jbe 0x463e10
call fcn.004d5e81
add eax, eax
cmp eax, 0x1000
jb 0x463e4b
test byte [ebp - 0x248], 0x1f
je 0x463e27
call fcn.004d5e81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x463e33
call fcn.004d5e81
sub ecx, eax
cmp ecx, 4
jae 0x463e3f
call fcn.004d5e81
cmp ecx, 0x23
jbe 0x463e49
call fcn.004d5e81
mov ecx, eax
push ecx
call fcn.004d0147
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x238], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x2f4], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
je 0x463eb4
lea eax, [ebp - 0x218]
push eax
call fcn.004d635d
add esp, 4
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004087b1
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.004632d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2f8]
cmp dword [eax + 0x10], 0
jne 0x464068
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jae 0x463f2e
mov eax, dword [ebp - 0x220]
add eax, 1
je 0x463f40
add eax, eax
push eax
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.004d19f0
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
jmp 0x463f40
mov eax, dword [ebp - 0x230]
mov dword [edi], eax
mov dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x220]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x14], ecx
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x2fc], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x463fdd
mov ecx, dword [ebp - 0x230]
inc eax
cmp eax, 0x7fffffff
jbe 0x463f99
call fcn.004d5e81
add eax, eax
cmp eax, 0x1000
jb 0x463fd4
test byte [ebp - 0x230], 0x1f
je 0x463fb0
call fcn.004d5e81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x463fbc
call fcn.004d5e81
sub ecx, eax
cmp ecx, 4
jae 0x463fc8
call fcn.004d5e81
cmp ecx, 0x23
jbe 0x463fd2
call fcn.004d5e81
mov ecx, eax
push ecx
call fcn.004d0147
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x4645b1
mov ecx, dword [ebp - 0x260]
inc eax
cmp eax, 0x7fffffff
jbe 0x46401f
call fcn.004d5e81
add eax, eax
cmp eax, 0x1000
jb 0x46405a
test byte [ebp - 0x260], 0x1f
je 0x464036
call fcn.004d5e81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x464042
call fcn.004d5e81
sub ecx, eax
cmp ecx, 4
jae 0x46404e
call fcn.004d5e81
cmp ecx, 0x23
jbe 0x464058
call fcn.004d5e81
mov ecx, eax
push ecx
call fcn.004d0147
add esp, 4
jmp 0x4645b1
push eax
lea ecx, [ebp - 0x230]
call fcn.004634c0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.00464c00
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x464092
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x464103
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x248]
cmp eax, 0x7fffffff
jbe 0x4640bf
call fcn.004d5e81
add eax, eax
cmp eax, 0x1000
jb 0x4640fa
test byte [ebp - 0x248], 0x1f
je 0x4640d6
call fcn.004d5e81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4640e2
call fcn.004d5e81
sub ecx, eax
cmp ecx, 4
jae 0x4640ee
call fcn.004d5e81
cmp ecx, 0x23
jbe 0x4640f8
call fcn.004d5e81
mov ecx, eax
push ecx
call fcn.004d0147
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
test esi, esi
je 0x464524
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x230]
call fcn.00463410
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x248]
push 3
push 0
push eax
mov ecx, ebx
call fcn.004172dd
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2d8]
push 0xffffffffffffffff
push dword [ebp - 0x238]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.004172dd
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x2f4]
lea ecx, [ebp - 0x2d8]
call fcn.0045b4b0
mov ebx, dword [ebp - 0x2f8]
mov eax, dword [ebp - 0x2f4]
xor ecx, ecx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], cx
mov byte [ebp - 4], 0xf
inc eax
push ecx
lea edx, [ebp - 0x278]
mov dword [ebp - 0x2f4], eax
mov ecx, eax
call fcn.0045b350
add esp, 4
lea eax, [ebp - 0x278]
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x2a8]
push eax
call fcn.0044f068
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x260]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00464fc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x230]
push eax
call fcn.00465250
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x27c]
cmp eax, 8
jb 0x46427b
mov ecx, dword [ebp - 0x290]
inc eax
cmp eax, 0x7fffffff
ja 0x463e0b
add eax, eax
cmp eax, 0x1000
jb 0x464272
test cl, 0x1f
jne 0x463e0b
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x463e0b
sub ecx, eax
cmp ecx, 4
jb 0x463e0b
cmp ecx, 0x23
ja 0x463e0b
mov ecx, eax
push ecx
call fcn.004d0147
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x294]
cmp eax, 8
jb 0x4642f5
mov ecx, dword [ebp - 0x2a8]
inc eax
cmp eax, 0x7fffffff
ja 0x463e0b
add eax, eax
cmp eax, 0x1000
jb 0x4642ec
test cl, 0x1f
jne 0x463e0b
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x463e0b
sub ecx, eax
cmp ecx, 4
jb 0x463e0b
cmp ecx, 0x23
ja 0x463e0b
mov ecx, eax
push ecx
call fcn.004d0147
add esp, 4
xor eax, eax
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
cmp dword [ebx + 0x10], eax
je 0x464345
push 0x528b30
call fcn.004d635d
add esp, 4
lea ecx, [ebp - 0x230]
push eax
push 0x528b30
call fcn.0040cfdb
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x230]
call fcn.0040efc2
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x4643a2
mov ecx, dword [ebp - 0x278]
inc eax
cmp eax, 0x7fffffff
ja 0x463e0b
add eax, eax
cmp eax, 0x1000
jb 0x464399
test cl, 0x1f
jne 0x463e0b
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x463e0b
sub ecx, eax
cmp ecx, 4
jb 0x463e0b
cmp ecx, 0x23
ja 0x463e0b
mov ecx, eax
push ecx
call fcn.004d0147
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x268], 0
push eax
call fcn.00464c00
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 8
jb 0x4643dd
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2ac]
cmp ecx, 8
jb 0x464445
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x2c0]
cmp eax, 0x7fffffff
ja 0x463e0b
add eax, eax
cmp eax, 0x1000
jb 0x46443c
test cl, 0x1f
jne 0x463e0b
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x463e0b
sub ecx, eax
cmp ecx, 4
jb 0x463e0b
cmp ecx, 0x23
ja 0x463e0b
mov ecx, eax
push ecx
call fcn.004d0147
add esp, 4
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
test esi, esi
jne 0x464189
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2c4]
cmp eax, 8
jb 0x46448b
inc eax
push 2
push eax
push dword [ebp - 0x2d8]
call fcn.00404a33
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2c4], 7
mov dword [ebp - 0x2c8], 0
mov word [ebp - 0x2d8], ax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x4644c9
inc eax
push 2
push eax
push dword [ebp - 0x248]
call fcn.00404a33
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2dc]
cmp eax, 8
jb 0x464507
inc eax
push 2
push eax
push dword [ebp - 0x2f0]
call fcn.00404a33
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2dc], 7
mov dword [ebp - 0x2e0], 0
mov word [ebp - 0x2f0], ax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
mov word [edi], ax
lea eax, [ebp - 0x230]
push eax
call fcn.0040ee9b
mov byte [ebp - 4], 4
mov dword [ebp - 0x2fc], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x464574
inc eax
push 2
push eax
push dword [ebp - 0x230]
call fcn.00404a33
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x4645b1
push 2
inc eax
push eax
push dword [ebp - 0x260]
call fcn.00404a33
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], eax
mov word [ebp - 0x260], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d014c
mov esp, ebp
pop ebp
ret