Function at 0x45d070
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f33a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x674ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 2
call fcn.0040f620
movzx ecx, byte [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.CPlayerManager::ReceiveAddApp
push str.__s__:_name__s___package__s___bool__d_
push eax
call fcn.0043a270
add esp, 0x18
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00404bc0
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.004521d0
mov ecx, dword [ebx + 0x64]
mov esi, eax
test ecx, ecx
je 0x45d48c
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
cmp dword [eax + 0x20], esi
jne 0x45d0f2
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffff9c
je 0x45d48c
call fcn.0040f620
push edi
push esi
push str.CPlayerManager::ReceiveAddApp
push str.__s__:_real_id__d___id__d_
push eax
call fcn.0043a270
mov ecx, dword [ebx + 0x64]
add esp, 0x14
test ecx, ecx
je 0x45d4fb
mov edi, dword [ecx + 8]
mov ecx, dword [ecx]
cmp dword [edi + 0x20], esi
jne 0x45d130
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00404bc0
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
push dword [ebp - 0x1c]
call fcn.00453020
cmp byte [ebp + 0x10], 0
mov esi, eax
je 0x45d488
sub esp, 0x18
mov ecx, esp
test esi, esi
jne 0x45d45b
mov dword [ebp - 0x18], esp
push dword [ebp + 0xc]
call fcn.00409df0
mov byte [ebp - 4], 3
call fcn.0040f620
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00439740
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00404bc0
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
push dword [ebp - 0x1c]
call fcn.00452b70
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push ecx
lea ecx, [edi + 0x5c]
mov dword [eax + 4], 3
call fcn.00427b90
mov esi, eax
cmp esi, dword [edi + 0x5c]
je 0x45d1f1
lea eax, [esi + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00427300
test al, al
je 0x45d1f4
mov esi, dword [edi + 0x5c]
cmp dword [edi + 0x5c], esi
je 0x45d261
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x5c]
call fcn.0045e920
mov eax, dword [ebp - 0x24]
sub esp, 0x14
add eax, 0x14
mov ecx, esp
push eax
call fcn.0041ea30
call fcn.00451c40
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x5c]
call fcn.0045e730
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
cmp ecx, eax
je 0x45d253
nop dword [eax]
lea ecx, [ebp - 0x18]
call fcn.004139f0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], eax
jne 0x45d240
mov ecx, dword [ebp - 0x24]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x5c]
call fcn.0044ee80
mov esi, dword [edi + 0x1f8]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [edi + 0x1f8]
call fcn.004268a0
cmp esi, dword [eax]
jne 0x45d3af
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x63ca44
call fcn.00404b00
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x63ca44
call fcn.00404b00
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x63ca44
call fcn.00404b00
push ecx
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 0x38], esp
push eax
call fcn.00404bc0
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 7
lea eax, [edi + 0x30]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.00404c30
mov byte [ebp - 4], 8
push ecx
mov eax, esp
push dword [edi + 0x20]
push eax
call fcn.00452150
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 2
call fcn.00449e50
mov esi, dword [ebp - 0x1c]
push 0x6445a8
lea ecx, [ebp - 0x18]
call fcn.00404b00
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [esi + 0xc]
call fcn.00426ac0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d355
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.00455280
test al, al
je 0x45d48f
mov ecx, ebx
call fcn.00453d90
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d389
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45d3a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x45d54c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x1f8]
call fcn.004268a0
lea ecx, [ebp - 0x3c]
mov eax, dword [eax]
push dword [eax + 0x18]
push dword [eax + 0x14]
lea eax, [ebp - 0x34]
push eax
call fcn.0040e930
mov ecx, eax
call fcn.0042b720
cmp dword [eax + 4], 0
jl 0x45d30c
jg 0x45d3f2
cmp dword [eax], 3
jbe 0x45d30c
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x63ca44
call fcn.00404b00
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x63ca44
call fcn.00404b00
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x63ca44
call fcn.00404b00
push ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00404c30
push ecx
mov byte [ebp - 4], 0xc
lea eax, [edi + 0x30]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00404c30
mov byte [ebp - 4], 0xd
jmp 0x45d2f4
mov dword [ebp - 0x20], esp
push dword [ebp + 0xc]
call fcn.00409df0
mov byte [ebp - 4], 0xe
call fcn.0040f620
push 0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00439740
mov dword [esi + 4], 3
jmp 0x45d30f
test esi, esi
jne 0x45d4d2
or esi, 0xffffffff
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d4ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45d54a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45d54a
push ecx
mov edi, esp
mov dword [ebp - 0x20], edi
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.00404bc0
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
push dword [ebp - 0x1c]
call fcn.00452c90
jmp 0x45d30f
call fcn.0040f620
push str.CPlayerManager::ReceiveAddApp
push str.__s__:__getPlayerDataFromReal_fail
push eax
call fcn.0043a270
add esp, 0xc
jmp 0x45d48c
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 - 0x14]
xor ecx, ebp
call fcn.005c2ae8
mov esp, ebp
pop ebp
ret 0xc