Function at 0x416390
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43ff98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c040]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x28], 1
mov ecx, dword [esi + 0x10d4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x10d4]
mov dword [ecx + 4], ecx
mov dword [esi + 0x10d8], ebx
cmp eax, dword [esi + 0x10d4]
je 0x416426
mov edi, dword [eax]
push eax
call fcn.00428250
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x10d4]
jne 0x416411
mov eax, dword [esi + 0x10f4]
mov ecx, dword [eax + 4]
lea edi, [esi + 0x10dc]
push ecx
mov ecx, edi
call fcn.0041ecb0
mov eax, dword [edi + 0x18]
mov ebp, dword [sym.imp.USER32.dll_KillTimer]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov edi, dword [edi + 0x18]
mov dword [edi + 8], edi
mov edx, dword [esi + 0x10]
push 0x65
push edx
call ebp
lea eax, [esi + 0xac]
push eax
push 2
mov dword [eax + 0xc], 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0xe30]
push eax
call edi
lea ecx, [esi + 0xe48]
push ecx
call edi
mov ecx, dword [esi + 0xe2c]
cmp ecx, ebx
je 0x4164ad
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xe2c]
push ecx
call sub.P2PTunnel.dll_public:_static_void___cdecl_P2PTunnel::IP2PTunnelEngine::ReleaseObject_class_P2PTunnel::IP2PTunnelEngine__
add esp, 4
cmp dword [esi + 0x106c], ebx
je 0x41651f
cmp dword [esi + 0xa0], ebx
je 0x4164d4
mov ecx, esi
call fcn.0041a4e0
mov edx, dword [esi + 0x10]
push 0x66
push edx
call ebp
mov eax, dword [esi + 0x10]
push 0x67
push eax
call ebp
mov edi, dword [esi + 0x106c]
mov eax, dword [edi + 0xc]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, ebx
je 0x4164ea
push eax
call ebp
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x4164f4
push eax
call ebp
mov eax, dword [edi + 4]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
cmp eax, ebx
je 0x416504
push eax
call ebp
mov dword [edi + 4], ebx
mov ecx, dword [esi + 0x106c]
cmp ecx, ebx
je 0x416519
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x106c], ebx
call fcn.0041b630
lea ecx, [esp + 0x1c]
call fcn.00420c30
lea edi, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00403130
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416560
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
push str._sset.ini
lea edi, [esp + 0x1c]
call fcn.004026d0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 8
push ecx
call ebp
push esi
push str._sclient.ini
call fcn.004026d0
mov edx, dword [esp + 0x1c]
add esp, 8
push edx
call ebp
push esi
push str._sgame.ini
call fcn.004026d0
mov edi, dword [esp + 0x1c]
add esp, 8
push edi
call ebp
lea eax, [esi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4165cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4165f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret