Function at 0x405370
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436465
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x445040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov edi, 0x7fffffff
mov eax, edi
sub eax, ecx
cmp eax, 0x12
jb 0x405c8b
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x4053b9
mov eax, dword [esi]
push 0x12
push str.CerberusAgent.dll
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x4053f3
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x405439
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40542f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c90
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0xc
jb 0x405c95
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405453
mov eax, dword [esi]
push 0xc
push str.ukraine.dll
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x405487
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x4054cd
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4054c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c9a
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0xb
jb 0x405c9f
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x4054e7
mov eax, dword [esi]
push 0xb
push str.UkrGta.dll
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x40551b
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x405561
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405557
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ca4
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0xd
jb 0x405ca9
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40557b
mov eax, dword [esi]
push 0xd
push str.launcher.log
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x4055af
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x4055f5
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4055eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cae
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0xb
jb 0x405cb3
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40560f
mov eax, dword [esi]
push 0xb
push str._server.txt
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x405643
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x405689
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40567f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cb8
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0xe
jb 0x405cbd
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x4056a3
mov eax, dword [esi]
push 0xe
push str._settings.json
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x4056d7
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x40571d
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405713
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cc2
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0x20
jb 0x405cc7
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405737
mov eax, dword [esi]
push 0x20
push str.game_fastman92limitAdjuster.log
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x40576b
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x4057b1
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4057a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ccc
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0x2f
jb 0x405cd1
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x4057cb
mov eax, dword [esi]
push 0x2f
push str.gamemodsdeathmatch_resourcesugta_loginpanel
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.00405d30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x40582b
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405821
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd6
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0x29
jb 0x405cdb
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405845
mov eax, dword [esi]
push 0x29
push str.gamemodsdeathmatchpriv_server_ids.xml
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x405879
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x4058bf
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4058b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ce0
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0x12
jb 0x405ce5
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x4058d9
mov eax, dword [esi]
push 0x12
push str.gamemtacore.log
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x40590d
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x405953
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405949
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cea
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0x1f
jb 0x405cef
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40596d
mov eax, dword [esi]
push 0x1f
push str.gamemtaconfigcoreconfig.xml
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x4059a1
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x4059e7
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4059dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cf4
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0x20
jb 0x405cf9
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405a01
mov eax, dword [esi]
push 0x20
push str.gamemtaconfig_servercache.xml
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x24]
jne 0x405a35
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp ecx, 0xf
jbe 0x405a7b
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cfe
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0x17
jb 0x405d03
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405a95
mov eax, dword [esi]
push 0x17
push str.gamemtadumpsprivate
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
call fcn.00405d30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x405af5
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405aeb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d08
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0x16
jb 0x405d0d
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405b0f
mov eax, dword [esi]
push 0x16
push str.gamemtadumpspublic
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
call fcn.00405d30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x405b6f
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d12
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cmp eax, 0xe
jb 0x405d17
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405b89
mov eax, dword [esi]
push 0xe
push str.gamemtalogs
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040f0e0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
call fcn.00405d30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x405be9
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405bdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d1c
push ecx
push edx
call fcn.0041377a
add esp, 8
mov eax, dword [esi + 0x10]
sub edi, eax
cmp edi, 0x20
jb 0x405d21
cmp dword [esi + 0x14], 0xf
jbe 0x405bff
mov esi, dword [esi]
push 0x20
push str.gamemtaconfig_servercache.xml
push eax
push esi
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0040f0e0
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
mov ecx, str.Successfully_deleted:__s_n
lea eax, [ebp - 0x40]
jne 0x405c33
mov ecx, str.Failed_to_delete:__s_n
cmp dword [ebp - 0x2c], 0xf
cmova eax, dword [ebp - 0x40]
push eax
push ecx
call fcn.00401270
mov ecx, dword [ebp - 0x2c]
add esp, 8
cmp ecx, 0xf
jbe 0x405c79
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405c6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d26
push ecx
push edx
call fcn.0041377a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
call fcn.004014e0
call fcn.0041efa6
int3