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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4adc2b
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x4f7600]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x658], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x664], eax
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048bfd0
xorps xmm0, xmm0
mov dword [ebp - 0x608], 0
movups xmmword [ebp - 0x618], xmm0
add esp, 0xc
mov dword [ebp - 0x604], 0xf
mov byte [ebp - 0x618], 0
mov dword [ebp - 4], 0
test esi, esi
je 0x4026dd
mov ecx, 0x4b36ab
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402567
test dl, dl
je 0x402563
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402567
add eax, 2
add ecx, 2
test dl, dl
jne 0x402547
xor eax, eax
jmp 0x40256c
sbb eax, eax
or eax, 1
test eax, eax
je 0x4026dd
lea eax, [ebp - 0x630]
push esi
push eax
call fcn.004019e0
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 - 0x61c], 7
lea eax, [ebp - 0x630]
cmova eax, dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x648]
push eax
call fcn.00401860
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x618]
cmp eax, esi
je 0x40265a
mov ecx, dword [ebp - 0x604]
cmp ecx, 0xf
jbe 0x402617
mov edx, dword [ebp - 0x618]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40260d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402abe
push ecx
push edx
call fcn.00489c99
add esp, 8
mov dword [ebp - 0x608], 0
mov dword [ebp - 0x604], 0xf
mov byte [ebp - 0x618], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x618], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x608], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x634]
cmp ecx, 0xf
jbe 0x402694
mov edx, dword [ebp - 0x648]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40268a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402abe
push ecx
push edx
call fcn.00489c99
add esp, 8
cmp dword [ebp - 0x608], 0
jne 0x4026e4
mov ecx, dword [ebp - 0x61c]
cmp ecx, 7
jbe 0x4026dd
mov edx, dword [ebp - 0x630]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4026d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac8
push ecx
push edx
call fcn.00489c99
add esp, 8
xor esi, esi
jmp 0x4029a8
push dword [ebp - 0x658]
cmp dword [ebp - 0x604], 0xf
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x618]
cmova eax, dword [ebp - 0x618]
push ecx
push eax
lea ecx, [ebp - 0x659]
call fcn.004140c0
mov esi, eax
test esi, esi
jne 0x402760
mov ecx, dword [ebp - 0x61c]
cmp ecx, 7
jbe 0x4029a8
mov edx, dword [ebp - 0x630]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402751
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac8
push ecx
push edx
call fcn.00489c99
add esp, 8
jmp 0x4029a8
xor eax, eax
push 0x1f4
push eax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x600]
push eax
call fcn.0048bfd0
push 0x1f4
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.0048bfd0
push 0x4b3724
lea eax, [ebp - 0x218]
xor esi, esi
push eax
lea eax, [ebp - 0x654]
push eax
call fcn.00493f6c
mov eax, dword [ebp - 0x654]
add esp, 0x24
test eax, eax
jne 0x402803
mov ecx, dword [ebp - 0x61c]
cmp ecx, 7
jbe 0x4029a8
mov edx, dword [ebp - 0x630]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4027f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac8
push ecx
push edx
call fcn.00489c99
add esp, 8
jmp 0x4029a8
push eax
push 0x1f4
lea eax, [ebp - 0x600]
push 1
push eax
call fcn.00494532
push dword [ebp - 0x654]
mov dword [ebp - 0x660], eax
call fcn.00494329
add esp, 0x14
mov dword [ebp - 0x654], esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, byte [ebp - 0x600]
cmp cl, 0xd
je 0x402a56
cmp cl, 0xa
je 0x402a56
mov eax, dword [ebp - 0x660]
xor edx, edx
mov dword [ebp - 0x658], edx
test eax, eax
je 0x402948
nop dword [eax]
mov dl, byte [ebp + edx - 0x600]
cmp dl, 0xd
jne 0x402901
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402885
sub ecx, edx
jne 0x4028be
push esi
lea eax, [ebp - 0x40c]
push eax
push edi
call fcn.0048ba50
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4028a6
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
call fcn.004941b6
add esp, 8
jmp 0x4028e8
mov ecx, dword [ebp - 0x664]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4028c7
sub ecx, edx
jne 0x402948
push esi
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x664]
call fcn.0048ba50
add esp, 0xc
push 0x1f4
xor esi, esi
lea eax, [ebp - 0x40c]
push esi
push eax
call fcn.0048bfd0
add esp, 0xc
jmp 0x40292d
cmp dl, 0xa
je 0x402933
mov ecx, edi
lea eax, [ecx + 1]
mov dword [ebp - 0x650], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402911
sub ecx, dword [ebp - 0x650]
jne 0x402925
cmp esi, 0x21
jg 0x402948
mov byte [ebp + esi - 0x40c], dl
inc esi
mov eax, dword [ebp - 0x660]
mov edx, dword [ebp - 0x658]
inc edx
mov dword [ebp - 0x658], edx
cmp edx, eax
jb 0x402870
lea ecx, [edi + 1]
nop dword [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x402950
sub edi, ecx
cmp edi, 0x20
je 0x4029e5
mov ecx, dword [ebp - 0x61c]
cmp ecx, 7
jbe 0x4029a2
mov edx, dword [ebp - 0x630]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402998
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac8
push ecx
push edx
call fcn.00489c99
add esp, 8
mov esi, dword [ebp - 0x64c]
mov ecx, dword [ebp - 0x604]
cmp ecx, 0xf
jbe 0x402a9f
mov edx, dword [ebp - 0x618]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac3
jmp 0x402a95
mov edi, dword [ebp - 0x664]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4029f0
sub ecx, edx
jne 0x402a0c
push esi
lea eax, [ebp - 0x40c]
push eax
push edi
call fcn.0048ba50
add esp, 0xc
mov ecx, dword [ebp - 0x61c]
mov esi, 1
cmp ecx, 7
jbe 0x4029a8
mov edx, dword [ebp - 0x630]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402a47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac8
push ecx
push edx
call fcn.00489c99
add esp, 8
jmp 0x4029a8
mov ecx, dword [ebp - 0x61c]
cmp ecx, 7
jbe 0x4029a8
mov edx, dword [ebp - 0x630]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402751
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac8
jmp 0x402751
push ecx
push edx
call fcn.00489c99
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489fe1
mov esp, ebp
pop ebp
ret 0x10
call fcn.0048f8ef
call fcn.0048f8ef
call fcn.0048f8ef
int3