Function at 0x454660
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2776
mov eax, dword fs:[0]
push eax
sub esp, 0x64
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 - 0x30], ebx
mov dword [ebp - 4], 0
push dword [ebp + 8]
push str.CPlayerManager::_updateApp
push str.__s__:_name__s_
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x10
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x4546c7
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x28], esi
call fcn.00404bc0
add esp, 4
lea ecx, [ebx + 0x28]
add eax, 0x10
mov dword [esi], eax
call fcn.0044b510
mov edi, dword [ebp - 0x14]
or esi, 0xffffffff
test al, al
je 0x454a70
push edi
push str.CPlayerManager::_updateApp
push str.__s__:_list__s_
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x10
mov ecx, 0x63ca44
mov eax, edi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x454756
test dx, dx
je 0x454752
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x454756
add eax, 4
add ecx, 4
test dx, dx
jne 0x454730
xor eax, eax
jmp 0x45475b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x454a70
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x643fbc
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00409df0
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00409df0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.00427820
mov eax, dword [ebp - 0x44]
add esp, 4
cmp eax, 8
jb 0x4547d5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040b0f0
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x454802
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0040b0f0
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x28], esi
call fcn.00404bc0
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.004521d0
mov esi, eax
mov ecx, ebx
push esi
call fcn.004522a0
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffff9c
je 0x454a65
push eax
push esi
push str.CPlayerManager::_updateApp
push str.__s__:_real_id__d___id__d_
call fcn.0040f620
push eax
call fcn.0043a270
mov esi, dword [ebp - 0x20]
add esp, 0x14
mov ebx, dword [ebp - 0x1c]
cmp ebx, esi
je 0x4548cf
mov edi, dword [ebp - 0x2c]
nop
cmp dword [esi + 0x14], 8
jb 0x45486a
mov eax, dword [esi]
jmp 0x45486c
mov eax, esi
push ecx
mov ecx, esp
push eax
call fcn.00404b00
mov ecx, dword [ebp - 0x30]
push edi
call fcn.00453020
test eax, eax
jne 0x4548c5
cmp dword [esi + 0x14], 8
jb 0x45488c
mov eax, dword [esi]
jmp 0x45488e
mov eax, esi
push eax
push str.CPlayerManager::_updateApp
push str.__s__:__addApp__s_
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4548b1
mov eax, dword [esi]
jmp 0x4548b3
mov eax, esi
push ecx
mov ecx, esp
push eax
call fcn.00404b00
mov ecx, dword [ebp - 0x30]
push edi
call fcn.00452b70
add esi, 0x18
cmp esi, ebx
jne 0x454860
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
call fcn.004522e0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x454a65
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x454a36
mov dword [ebp - 0x3c], eax
mov ecx, eax
test eax, eax
je 0x454a60
mov eax, dword [eax]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
cmp esi, ebx
je 0x454932
nop
push dword [eax + 8]
mov ecx, esi
call fcn.00414780
test eax, eax
je 0x45492a
mov eax, dword [ebp - 0x2c]
add esi, 0x18
cmp esi, ebx
jne 0x454910
jmp 0x454932
cmp ebx, esi
jne 0x454a2b
push 0x6445a8
lea ecx, [ebp - 0x34]
call fcn.00404b00
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
add ebx, 0xc
push eax
mov ecx, ebx
call fcn.00427b90
mov esi, eax
cmp esi, dword [ebx]
je 0x454967
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00427300
test al, al
je 0x454969
mov esi, dword [ebx]
cmp dword [ebx], esi
mov edx, dword [ebp - 0x34]
setne byte [ebp - 0x21]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45498c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x21], 0
je 0x4549d4
push 0x6445a8
lea ecx, [ebp - 0x38]
call fcn.00404b00
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.00426ac0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4549d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, ebx
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.00413460
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov byte [ebp - 4], 2
mov dword [eax + 8], eax
lea eax, [ecx - 4]
mov dword [ebx + 4], 0
cmp dword [eax], 0
je 0x454a11
mov eax, dword [ecx]
push 3
call dword [eax + 4]
jmp 0x454a1a
push eax
call fcn.0047d17e
add esp, 4
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x38]
call fcn.004c1a05
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4548f0
mov ebx, dword [ebp - 0x30]
mov ecx, ebx
call fcn.00455280
test al, al
je 0x454a65
mov ecx, ebx
call fcn.00453d90
lea ecx, [ebp - 0x20]
call fcn.00426900
lea ecx, [ebp - 0x14]
call fcn.00405250
or esi, 0xffffffff
jmp 0x454a8b
call fcn.0047dc5e
lea ecx, [ebp - 0x20]
call fcn.00426900
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x454a8b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x454aaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 4