Function at 0x457fc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x674ff8]
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, ecx
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 8]
push esi
push str.CPlayerManager::RemovePlayer
push str.__s__:_id__d_
mov dword [ebp - 0x30], esi
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x10
mov ecx, ebx
push esi
call fcn.004522e0
mov esi, eax
test esi, esi
je 0x4582a1
cmp dword [esi + 0x1c], 0
jne 0x4582a1
mov ecx, ebx
call fcn.00458bd0
test eax, eax
jne 0x45803d
mov ecx, ebx
call fcn.00455000
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push dword [esi + 0x20]
push eax
call fcn.00452150
push ecx
mov dword [ebp - 4], 0
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404bc0
add esp, 4
lea ecx, [ebx + 0x28]
add eax, 0x10
mov dword [esi], eax
call fcn.0044b2b0
or edi, 0xffffffff
test al, al
jne 0x4580a4
cmp byte [ebp + 0xc], al
jne 0x4580a4
push str.CPlayerManager::RemovePlayer
push str.__s__:_noxtool.RemovePlayer_fail
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0xc
xor bl, bl
jmp 0x458257
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x4580b9
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x28]
call fcn.0044b440
mov esi, dword [ebp - 0x1c]
test al, al
je 0x4581cd
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0x643fbc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00409df0
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00409df0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x4c]
call fcn.00427820
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.0040b1c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040b1c0
mov edi, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x28]
mov edx, edi
sub edx, ecx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4581be
cmp edi, ecx
je 0x4581be
mov eax, dword [ebp - 0x14]
nop
cmp dword [ecx + 0x14], 8
jb 0x45817a
mov edx, dword [ecx]
jmp 0x45817c
mov edx, ecx
mov edi, eax
nop
mov bx, word [edi]
cmp bx, word [edx]
jne 0x4581a6
test bx, bx
je 0x4581a2
mov bx, word [edi + 2]
cmp bx, word [edx + 2]
jne 0x4581a6
add edi, 4
add edx, 4
test bx, bx
jne 0x458180
xor edx, edx
jmp 0x4581ab
sbb edx, edx
or edx, 1
test edx, edx
je 0x45827a
add ecx, 0x18
cmp dword [ebp - 0x24], ecx
jne 0x458170
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00426900
or edi, 0xffffffff
push 0x63ca44
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00404b00
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebx + 4]
push str._sclone__s_conf.ini
push eax
call fcn.00404790
add esp, 0x10
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebx
call fcn.00455280
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.00452620
mov ecx, ebx
call fcn.00453d90
mov bl, 1
mov eax, edi
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45823c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x458257
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x458276
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x4582bb
push str.CPlayerManager::RemovePlayer
push str.__s__:_fail
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00426900
xor bl, bl
or edi, 0xffffffff
jmp 0x45823c
push str.CPlayerManager::RemovePlayer
push str.__s__:_not_find_player_or_not_rest
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0xc
xor al, al
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.005c2ae8
mov esp, ebp
pop ebp
ret 8