Function at 0x451ec0
Capabilities:
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632f4c
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x6ce8d4]
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 eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x654], 0
call fcn.005d7e20
add esp, 0xc
mov dword [ebp - 0x61c], 0xf
mov dword [ebp - 0x620], 0
mov byte [ebp - 0x630], 0
mov dword [ebp - 4], 0
test esi, esi
je 0x452324
mov ecx, 0x6b65ed
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451f71
test dl, dl
je 0x451f6d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451f71
add eax, 2
add ecx, 2
test dl, dl
jne 0x451f51
xor eax, eax
jmp 0x451f76
sbb eax, eax
or eax, 1
test eax, eax
je 0x452324
lea eax, [ebp - 0x618]
push esi
push eax
call fcn.00450730
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
push str._sCfgOfSfUpt.dat
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
cmp dword [ebp - 0x604], 8
lea eax, [ebp - 0x618]
cmovae eax, dword [ebp - 0x618]
push eax
lea eax, [ebp - 0x648]
push eax
call fcn.004505a0
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0x630]
cmp eax, esi
je 0x45202c
mov eax, dword [ebp - 0x61c]
cmp eax, 0x10
jb 0x452005
inc eax
lea ecx, [ebp - 0x630]
push eax
push dword [ebp - 0x630]
call fcn.00451330
push esi
lea ecx, [ebp - 0x630]
mov dword [ebp - 0x61c], 0xf
mov dword [ebp - 0x620], 0
mov byte [ebp - 0x630], 0
call fcn.00450850
mov eax, dword [ebp - 0x634]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x452080
mov ecx, dword [ebp - 0x648]
inc eax
cmp eax, 0x1000
jb 0x452077
test cl, 0x1f
je 0x452053
call fcn.005e06e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x45205f
call fcn.005e06e1
sub ecx, eax
cmp ecx, 4
jae 0x45206b
call fcn.005e06e1
cmp ecx, 0x23
jbe 0x452075
call fcn.005e06e1
mov ecx, eax
push ecx
call fcn.0062ce30
add esp, 4
cmp dword [ebp - 0x620], 0
je 0x4522b6
cmp dword [ebp - 0x61c], 0x10
lea ecx, [ebp - 0x218]
push ebx
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push ecx
push eax
lea ecx, [ebp - 0x655]
call fcn.0045abc0
mov ebx, eax
mov dword [ebp - 0x654], ebx
test ebx, ebx
jne 0x4520d7
mov ecx, dword [ebp - 0x604]
cmp ecx, 8
jb 0x4522d4
inc ecx
push ecx
jmp 0x4522c3
push 0x1f4
lea eax, [ebp - 0x600]
mov dword [ebp - 0x654], 0
push 0
push eax
mov dword [ebp - 0x650], 0
call fcn.005d7e20
push 0x1f4
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.005d7e20
push 0x63cc80
lea eax, [ebp - 0x218]
xor esi, esi
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.005e4653
mov eax, dword [ebp - 0x650]
add esp, 0x24
test eax, eax
je 0x4522b6
push eax
push 0x1f4
lea eax, [ebp - 0x600]
push 1
push eax
call fcn.005e497e
push dword [ebp - 0x650]
mov dword [ebp - 0x660], eax
call fcn.005e4732
add esp, 0x14
mov dword [ebp - 0x650], esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x600]
cmp cl, 0xd
je 0x4522b6
cmp cl, 0xa
je 0x4522b6
xor ebx, ebx
cmp dword [ebp - 0x660], ebx
jbe 0x45226a
nop dword [eax]
mov dl, byte [ebp + ebx - 0x600]
cmp dl, 0xd
jne 0x452231
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4521b5
sub ecx, edx
jne 0x4521ee
push esi
lea eax, [ebp - 0x40c]
push eax
push edi
call fcn.005d78a0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4521d6
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
call fcn.005e0930
add esp, 8
jmp 0x452218
mov ecx, dword [ebp - 0x65c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4521f7
sub ecx, edx
jne 0x45226a
push esi
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x65c]
call fcn.005d78a0
add esp, 0xc
push 0x1f4
xor esi, esi
lea eax, [ebp - 0x40c]
push esi
push eax
call fcn.005d7e20
add esp, 0xc
jmp 0x45225d
cmp dl, 0xa
je 0x45225d
mov ecx, edi
lea eax, [ecx + 1]
mov dword [ebp - 0x64c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452241
sub ecx, dword [ebp - 0x64c]
jne 0x452255
cmp esi, 0x21
jg 0x45226a
mov byte [ebp + esi - 0x40c], dl
inc esi
inc ebx
cmp ebx, dword [ebp - 0x660]
jb 0x4521a0
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x452270
sub edi, ecx
cmp edi, 0x20
jne 0x4522b6
mov ebx, dword [ebp - 0x65c]
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452290
sub ecx, edx
jne 0x4522ac
push esi
lea eax, [ebp - 0x40c]
push eax
push ebx
call fcn.005d78a0
add esp, 0xc
mov dword [ebp - 0x654], 1
mov eax, dword [ebp - 0x604]
cmp eax, 8
jb 0x4522d4
inc eax
push eax
push dword [ebp - 0x618]
lea ecx, [ebp - 0x618]
call fcn.00451380
mov eax, dword [ebp - 0x61c]
cmp eax, 0x10
jb 0x452324
mov ecx, dword [ebp - 0x630]
inc eax
cmp eax, 0x1000
jb 0x45231b
test cl, 0x1f
je 0x4522f7
call fcn.005e06e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x452303
call fcn.005e06e1
sub ecx, eax
cmp ecx, 4
jae 0x45230f
call fcn.005e06e1
cmp ecx, 0x23
jbe 0x452319
call fcn.005e06e1
mov ecx, eax
push ecx
call fcn.0062ce30
add esp, 4
mov eax, dword [ebp - 0x654]
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.005bd4a0
mov esp, ebp
pop ebp
ret 0x10