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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555e25
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x350
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x354], ecx
mov dword [ebp - 0x358], ecx
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x35c], ecx
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x34c], edi
call fcn.0048c080
mov dword [ebp - 4], 1
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x330]
call fcn.0048d0b0
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x48c396
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x48c39e
mov eax, dword [eax]
lea ecx, [ebp - 0x2a0]
push ecx
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x300]
call fcn.00407b40
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0x18
lea ecx, [ebp - 0x2a0]
mov edx, esp
mov dword [ebp - 0x358], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c3f2
sub ecx, esi
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00407880
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.0048bb00
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x350]
cmp dword [eax + 0x10], 0
jne 0x48c49d
mov esi, dword [ebp - 0x354]
xor eax, eax
movups xmm0, xmmword [ebp - 0x2d0]
mov word [ebp - 0x2d0], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c0]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov byte [ebp - 4], 4
mov dword [ebp - 0x34c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00407b40
jmp 0x48c952
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0048bc60
nop dword [eax]
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0048d0b0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x48c4ce
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x348]
call fcn.00407b40
test esi, esi
je 0x48c8ee
mov byte [ebp - 4], 0xc
xor eax, eax
mov word [ebp - 0x2b8], ax
lea ecx, [ebp - 0x2d0]
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
or edi, 2
push eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x34c], edi
call fcn.0048bbf0
cmp dword [ebp - 0x2a4], 8
lea edx, [ebp - 0x2b8]
mov eax, dword [ebp - 0x2a8]
cmovae edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x350], 1
test eax, eax
je 0x48c593
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5f
lea esi, [edx + ecx*2]
je 0x48c58d
nop dword [eax]
cmp esi, edx
je 0x48c593
sub esi, 2
cmp word [esi], 0x5f
jne 0x48c580
sub esi, edx
sar esi, 1
jmp 0x48c596
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x48c728
lea edx, [esi + 1]
mov byte [ebp - 4], 0xd
xor eax, eax
mov word [ebp - 0x300], ax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
cmp eax, edx
jb 0x48c984
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x300]
lea eax, [eax + edx*2]
push eax
call fcn.00407880
or edi, 4
lea eax, [ebp - 0x300]
mov dword [ebp - 0x34c], edi
cmp dword [ebp - 0x2ec], 8
cmovae eax, dword [ebp - 0x300]
push eax
call fcn.0052ad59
and edi, 0xfffffffb
mov dword [ebp - 0x350], eax
add esp, 4
mov dword [ebp - 0x34c], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x300]
call fcn.00407b40
mov byte [ebp - 4], 0xe
xor eax, eax
cmp dword [ebp - 0x2a8], esi
lea ecx, [ebp - 0x2e8]
mov word [ebp - 0x2e8], ax
lea eax, [ebp - 0x2b8]
cmovb esi, dword [ebp - 0x2a8]
cmp dword [ebp - 0x2a4], 8
push esi
cmovae eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
push eax
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
call fcn.00407880
or edi, 8
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x34c], edi
call fcn.00407b40
movups xmm0, xmmword [ebp - 0x2e8]
xor eax, eax
and edi, 0xfffffff7
mov word [ebp - 0x2e8], ax
movups xmmword [ebp - 0x2b8], xmm0
movq xmm0, qword [ebp - 0x2d8]
movq qword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
mov dword [ebp - 0x34c], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2e8]
call fcn.00407b40
inc dword [ebp - 0x350]
push 1
push 0x58b0dc
lea ecx, [ebp - 0x2b8]
call fcn.00418ac0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x98]
push 0xa
push 0x40
push eax
push dword [ebp - 0x350]
call fcn.0052b248
add esp, 0x10
mov dword [ebp - 0x308], 0
xor eax, eax
mov dword [ebp - 0x304], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 7
lea edx, [ecx + 2]
mov word [ebp - 0x318], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c791
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.00407880
or edi, 0x10
lea eax, [ebp - 0x318]
mov dword [ebp - 0x34c], edi
lea ecx, [ebp - 0x2b8]
cmp dword [ebp - 0x304], 8
push dword [ebp - 0x308]
cmovae eax, dword [ebp - 0x318]
push eax
call fcn.00418ac0
and edi, 0xffffffef
mov dword [ebp - 0x34c], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x318]
call fcn.00407b40
cmp dword [ebp - 0x2bc], 8
lea edx, [ebp - 0x2d0]
mov esi, dword [ebp - 0x2c0]
cmovae edx, dword [ebp - 0x2d0]
test esi, esi
je 0x48c843
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x48c83d
nop dword [eax]
cmp eax, edx
je 0x48c843
sub eax, 2
cmp word [eax], 0x5c
jne 0x48c830
sub eax, edx
sar eax, 1
jmp 0x48c846
or eax, 0xffffffff
xor ecx, ecx
lea edx, [ebp - 0x2d0]
cmp eax, 0xffffffff
cmovne ecx, eax
cmp dword [ebp - 0x2bc], 8
mov dword [ebp - 0x350], ecx
cmovae edx, dword [ebp - 0x2d0]
test esi, esi
je 0x48c894
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea eax, [edx + ecx*2]
je 0x48c88e
cmp eax, edx
je 0x48c894
sub eax, 2
cmp word [eax], 0x2e
jne 0x48c881
sub eax, edx
sar eax, 1
jmp 0x48c897
or eax, 0xffffffff
push dword [ebp - 0x2a8]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x2b8]
cmove eax, esi
cmp dword [ebp - 0x2a4], 8
cmovae ecx, dword [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp - 0x350]
sub eax, ecx
dec eax
push eax
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0048db00
and edi, 0xfffffffd
mov dword [ebp - 0x34c], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b8]
call fcn.00407b40
jmp 0x48c4b0
mov esi, dword [ebp - 0x354]
xor eax, eax
movups xmm0, xmmword [ebp - 0x2d0]
mov word [ebp - 0x2d0], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c0]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov byte [ebp - 4], 4
or edi, 1
mov dword [ebp - 0x34c], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00407b40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.00407b40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005214e1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00424680
int3