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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504c00
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x5651c0]
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.00463700
mov dword [ebp - 4], 1
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.004648e0
mov byte [ebp - 4], 2
cmp dword [ebx + 0x14], 8
jb 0x463ab3
mov ecx, dword [ebx]
jmp 0x463ab5
mov ecx, ebx
cmp dword [eax + 0x14], 8
jb 0x463abd
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 0x463b34
mov ecx, dword [ebp - 0x248]
inc eax
cmp eax, 0x7fffffff
jbe 0x463af0
call fcn.004d7db2
add eax, eax
cmp eax, 0x1000
jb 0x463b2b
test byte [ebp - 0x248], 0x1f
je 0x463b07
call fcn.004d7db2
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x463b13
call fcn.004d7db2
sub ecx, eax
cmp ecx, 4
jae 0x463b1f
call fcn.004d7db2
cmp ecx, 0x23
jbe 0x463b29
call fcn.004d7db2
mov ecx, eax
push ecx
call fcn.004d2078
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 0x463b94
lea eax, [ebp - 0x218]
push eax
call fcn.004d828d
add esp, 4
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004087d4
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00462fb0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2f8]
cmp dword [eax + 0x10], 0
jne 0x463d48
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 0x463c0e
mov eax, dword [ebp - 0x220]
add eax, 1
je 0x463c20
add eax, eax
push eax
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.004d3910
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
jmp 0x463c20
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 0x463cbd
mov ecx, dword [ebp - 0x230]
inc eax
cmp eax, 0x7fffffff
jbe 0x463c79
call fcn.004d7db2
add eax, eax
cmp eax, 0x1000
jb 0x463cb4
test byte [ebp - 0x230], 0x1f
je 0x463c90
call fcn.004d7db2
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x463c9c
call fcn.004d7db2
sub ecx, eax
cmp ecx, 4
jae 0x463ca8
call fcn.004d7db2
cmp ecx, 0x23
jbe 0x463cb2
call fcn.004d7db2
mov ecx, eax
push ecx
call fcn.004d2078
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 0x464291
mov ecx, dword [ebp - 0x260]
inc eax
cmp eax, 0x7fffffff
jbe 0x463cff
call fcn.004d7db2
add eax, eax
cmp eax, 0x1000
jb 0x463d3a
test byte [ebp - 0x260], 0x1f
je 0x463d16
call fcn.004d7db2
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x463d22
call fcn.004d7db2
sub ecx, eax
cmp ecx, 4
jae 0x463d2e
call fcn.004d7db2
cmp ecx, 0x23
jbe 0x463d38
call fcn.004d7db2
mov ecx, eax
push ecx
call fcn.004d2078
add esp, 4
jmp 0x464291
push eax
lea ecx, [ebp - 0x230]
call fcn.004631a0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.004648e0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x463d72
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 0x463de3
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x248]
cmp eax, 0x7fffffff
jbe 0x463d9f
call fcn.004d7db2
add eax, eax
cmp eax, 0x1000
jb 0x463dda
test byte [ebp - 0x248], 0x1f
je 0x463db6
call fcn.004d7db2
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x463dc2
call fcn.004d7db2
sub ecx, eax
cmp ecx, 4
jae 0x463dce
call fcn.004d7db2
cmp ecx, 0x23
jbe 0x463dd8
call fcn.004d7db2
mov ecx, eax
push ecx
call fcn.004d2078
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 0x464204
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x230]
call fcn.004630f0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x248]
push 3
push 0
push eax
mov ecx, ebx
call fcn.004170c2
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2d8]
push 0xffffffffffffffff
push dword [ebp - 0x238]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.004170c2
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x2f4]
lea ecx, [ebp - 0x2d8]
call fcn.0045b180
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.0045b020
add esp, 4
lea eax, [ebp - 0x278]
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x2a8]
push eax
call fcn.0044ee4f
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x260]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00464cb0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x230]
push eax
call fcn.00464f40
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x27c]
cmp eax, 8
jb 0x463f5b
mov ecx, dword [ebp - 0x290]
inc eax
cmp eax, 0x7fffffff
ja 0x463aeb
add eax, eax
cmp eax, 0x1000
jb 0x463f52
test cl, 0x1f
jne 0x463aeb
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x463aeb
sub ecx, eax
cmp ecx, 4
jb 0x463aeb
cmp ecx, 0x23
ja 0x463aeb
mov ecx, eax
push ecx
call fcn.004d2078
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 0x463fd5
mov ecx, dword [ebp - 0x2a8]
inc eax
cmp eax, 0x7fffffff
ja 0x463aeb
add eax, eax
cmp eax, 0x1000
jb 0x463fcc
test cl, 0x1f
jne 0x463aeb
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x463aeb
sub ecx, eax
cmp ecx, 4
jb 0x463aeb
cmp ecx, 0x23
ja 0x463aeb
mov ecx, eax
push ecx
call fcn.004d2078
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 0x464025
push 0x52314c
call fcn.004d828d
add esp, 4
lea ecx, [ebp - 0x230]
push eax
push 0x52314c
call fcn.0040d083
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x230]
call fcn.0040f46c
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x464082
mov ecx, dword [ebp - 0x278]
inc eax
cmp eax, 0x7fffffff
ja 0x463aeb
add eax, eax
cmp eax, 0x1000
jb 0x464079
test cl, 0x1f
jne 0x463aeb
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x463aeb
sub ecx, eax
cmp ecx, 4
jb 0x463aeb
cmp ecx, 0x23
ja 0x463aeb
mov ecx, eax
push ecx
call fcn.004d2078
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.004648e0
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 8
jb 0x4640bd
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 0x464125
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x2c0]
cmp eax, 0x7fffffff
ja 0x463aeb
add eax, eax
cmp eax, 0x1000
jb 0x46411c
test cl, 0x1f
jne 0x463aeb
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x463aeb
sub ecx, eax
cmp ecx, 4
jb 0x463aeb
cmp ecx, 0x23
ja 0x463aeb
mov ecx, eax
push ecx
call fcn.004d2078
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 0x463e69
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2c4]
cmp eax, 8
jb 0x46416b
inc eax
push 2
push eax
push dword [ebp - 0x2d8]
call fcn.00404a53
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 0x4641a9
inc eax
push 2
push eax
push dword [ebp - 0x248]
call fcn.00404a53
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 0x4641e7
inc eax
push 2
push eax
push dword [ebp - 0x2f0]
call fcn.00404a53
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.0040f345
mov byte [ebp - 4], 4
mov dword [ebp - 0x2fc], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x464254
inc eax
push 2
push eax
push dword [ebp - 0x230]
call fcn.00404a53
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 0x464291
push 2
inc eax
push eax
push dword [ebp - 0x260]
call fcn.00404a53
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.004d207d
mov esp, ebp
pop ebp
ret