Function at 0x405d34
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
mov eax, 0x588c0c
push ebx
push esi
push edi
call fcn.0056134c
mov edx, dword [ebp + 8]
push edx
call fcn.004012c0
pop ecx
mov dword [ebp - 0x78], eax
mov word [ebp - 0x64], 8
xor ecx, ecx
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], ecx
inc dword [ebp - 0x58]
mov word [ebp - 0x64], 0x14
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.00405cac
add esp, 8
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x405db8
mov word [ebp - 0x64], 0x20
mov edx, 0x586e5b
lea eax, [ebp - 8]
call fcn.00583900
inc dword [ebp - 0x58]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00583b18
dec dword [ebp - 0x58]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00583ae8
jmp 0x405de8
mov word [ebp - 0x64], 0x2c
mov edx, 0x5ae9fc
lea eax, [ebp - 0xc]
call fcn.00583900
mov edx, eax
inc dword [ebp - 0x58]
lea eax, [ebp - 4]
call fcn.00583b18
dec dword [ebp - 0x58]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00583ae8
push 0x586e63
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov dword [ebp - 0x80], eax
mov word [ebp - 0x64], 0x14
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x80]
push ecx
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [eax + 0x36c]
mov eax, dword [edx + 0x20c]
call fcn.00539378
mov dword [ebp - 0x84], eax
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00402f44
add esp, 8
cmp eax, 0xffffffff
jne 0x4062a7
push 0x30
call fcn.00560508
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x78]
mov dword [esi], eax
mov byte [esi + 4], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], 2
mov edx, dword [sym.LookAtLan.exe__MainWin]
mov ecx, dword [edx + 0x36c]
mov eax, dword [ecx + 0x20c]
call fcn.0053948c
mov edx, dword [sym.LookAtLan.exe__MainWin]
mov ecx, dword [edx + 0x36c]
mov eax, dword [ecx + 0x20c]
call fcn.005392fc
mov ebx, eax
mov eax, ebx
call fcn.005391e4
mov word [ebp - 0x64], 0x38
mov edi, eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp + 8]
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov eax, ebx
call fcn.00538dd0
dec dword [ebp - 0x58]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00583ae8
mov edx, esi
mov eax, ebx
call fcn.00538e70
mov ecx, 2
xor edx, edx
mov eax, ebx
call fcn.00538f74
lea ecx, [ebx + 8]
mov edx, 0x586e6b
mov dword [ebp - 0x88], ecx
lea eax, [ebp - 0x14]
mov word [ebp - 0x64], 0x44
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00583ae8
lea ecx, [ebx + 8]
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x8c], ecx
lea eax, [ebp - 0x18]
mov word [ebp - 0x64], 0x50
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00583ae8
movsx ecx, byte [ebp - 0xd8]
cmp ecx, 0x53
jne 0x405f8a
push 0xa
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 1
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
jmp 0x405fab
push 0xb
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 1
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
lea eax, [ebx + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov word [ebp - 0x64], 0x5c
mov edx, 0x586e73
lea eax, [ebp - 0x1c]
call fcn.00583900
inc dword [ebp - 0x58]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00583bcc
push eax
dec dword [ebp - 0x58]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00583ae8
pop ecx
test cl, cl
je 0x406012
push 0xc
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 2
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
jmp 0x406033
push 0xd
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 2
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
lea edx, [ebx + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x90], edx
mov edx, 0x586e7b
mov word [ebp - 0x64], 0x68
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00583ae8
lea ecx, [ebx + 8]
mov edx, 0x586e7d
mov dword [ebp - 0x94], ecx
lea eax, [ebp - 0x24]
mov word [ebp - 0x64], 0x74
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00583ae8
lea ecx, [ebx + 8]
mov edx, 0x586e7f
mov dword [ebp - 0x98], ecx
lea eax, [ebp - 0x28]
mov word [ebp - 0x64], 0x80
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00583ae8
lea ecx, [ebx + 8]
mov edx, 0x586e81
mov dword [ebp - 0x9c], ecx
lea eax, [ebp - 0x2c]
mov word [ebp - 0x64], 0x8c
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00583ae8
push 0xe
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 6
mov edx, edi
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
mov eax, dword [sym.LookAtLan.exe__MainWin]
push 0xe
mov ecx, 4
mov edx, edi
mov eax, dword [eax + 0x36c]
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
mov eax, dword [sym.LookAtLan.exe__MainWin]
push 0xe
mov ecx, 3
mov edx, edi
mov eax, dword [eax + 0x36c]
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
mov eax, dword [0x58f2a4]
test eax, eax
jne 0x4061da
lea edx, [ebx + 8]
lea eax, [ebp - 0x30]
mov dword [ebp - 0xa0], edx
mov edx, 0x586e83
mov word [ebp - 0x64], 0x98
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00583ae8
push 5
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 7
mov edx, edi
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
jmp 0x406232
lea eax, [ebx + 8]
mov edx, 0x586e85
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x34]
mov word [ebp - 0x64], 0xa4
call fcn.00583900
inc dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00583ae8
push 4
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 7
mov edx, edi
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [eax + 0x36c]
mov eax, dword [edx + 0x20c]
call fcn.00539668
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [ebp - 0x84]
inc edx
mov dword [eax + 0x940], edx
inc dword [eax + 0x944]
mov edx, dword [ebp - 0x78]
mov ecx, dword [sym.LookAtLan.exe__MainWin]
push edx
push ecx
call fcn.0040a700
mov edi, eax
mov eax, dword [sym.LookAtLan.exe__MainWin]
add esp, 8
mov edx, dword [eax + 0x428]
mov eax, dword [edx + 0x20c]
mov edx, edi
call fcn.005393a8
mov eax, dword [eax + 0xc]
inc dword [eax + 4]
inc dword [eax]
mov edx, dword [sym.LookAtLan.exe__MainWin]
push edx
call fcn.004081e4
pop ecx
jmp 0x406393
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [ecx + 0x36c]
mov ecx, dword [edx + 0x20c]
mov edx, eax
mov eax, ecx
call fcn.005393a8
mov ebx, eax
xor edx, edx
lea ecx, [ebp - 0x38]
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 8]
mov dword [esi + 0x2c], 2
mov word [ebp - 0x64], 0xb0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x38], edx
inc dword [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x38]
push eax
mov edx, 0x586e88
lea eax, [ebp - 0x3c]
call fcn.00583900
inc dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
pop eax
call fcn.00583bcc
push eax
dec dword [ebp - 0x58]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00583ae8
dec dword [ebp - 0x58]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00583ae8
pop ecx
test cl, cl
je 0x406393
mov eax, dword [sym.LookAtLan.exe__MainWin]
inc dword [eax + 0x944]
mov edx, dword [sym.LookAtLan.exe__MainWin]
dec dword [edx + 0x948]
mov ecx, dword [ebp - 0x78]
push ecx
mov eax, dword [sym.LookAtLan.exe__MainWin]
push eax
call fcn.0040a700
mov edi, eax
mov eax, dword [sym.LookAtLan.exe__MainWin]
add esp, 8
mov edx, dword [eax + 0x428]
mov eax, dword [edx + 0x20c]
mov edx, edi
call fcn.005393a8
mov eax, dword [eax + 0xc]
inc dword [eax + 4]
dec dword [eax + 8]
mov edx, dword [sym.LookAtLan.exe__MainWin]
push edx
call fcn.004081e4
pop ecx
mov word [ebp - 0x64], 0xbc
lea ecx, [ebx + 8]
xor eax, eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x40], eax
inc dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x586e90
lea eax, [ebp - 0x44]
call fcn.00583900
inc dword [ebp - 0x58]
lea edx, [ebp - 0x44]
pop eax
call fcn.00583bcc
push eax
dec dword [ebp - 0x58]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00583ae8
dec dword [ebp - 0x58]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00583ae8
pop ecx
test cl, cl
je 0x4065bd
mov word [ebp - 0x64], 0xc8
lea edi, [ebx + 8]
mov edx, 0x586e98
lea eax, [ebp - 0x48]
call fcn.00583900
inc dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [edi]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x20]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [esi + 0x28]
cmp ecx, 1
jne 0x40645f
push 7
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
xor ecx, ecx
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
jmp 0x4064d4
mov edx, dword [esi + 0x28]
test edx, edx
jne 0x406486
push 9
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
xor ecx, ecx
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
jmp 0x4064d4
mov edx, dword [esi + 0x28]
cmp edx, 2
jne 0x4064ae
push 9
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
xor ecx, ecx
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
jmp 0x4064d4
mov edx, dword [esi + 0x28]
cmp edx, 3
jne 0x4064d4
push 7
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
xor ecx, ecx
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
mov word [ebp - 0x64], 0xd4
lea esi, [ebx + 8]
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x4c]
call fcn.00583900
inc dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [esi]
mov edx, 1
mov esi, dword [eax]
call dword [esi + 0x20]
dec dword [ebp - 0x58]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00583ae8
lea eax, [ebx + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, 2
mov esi, dword [eax]
call dword [esi + 0x20]
mov word [ebp - 0x64], 0xe0
mov edx, 0x586e9f
lea eax, [ebp - 0x50]
call fcn.00583900
inc dword [ebp - 0x58]
lea edx, [ebp - 0x50]
lea eax, [ebp - 4]
call fcn.00583bcc
push eax
dec dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00583ae8
pop ecx
test cl, cl
je 0x406578
push 0xc
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 2
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
jmp 0x406599
push 0xd
mov eax, ebx
call fcn.005391e4
mov edx, eax
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov ecx, 2
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
lea edx, [ebp - 0xac]
push edx
push 0
push ebx
push 0x4052f0
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
push eax
call sub.KERNEL32.DLL_CloseHandle
mov word [ebp - 0x64], 0x14
mov eax, dword [ebp - 0x80]
push eax
call sub.KERNEL32.DLL_ReleaseMutex
mov edx, dword [ebp - 0x80]
push edx
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov edx, dword [eax]
call dword [edx + 0x78]
dec dword [ebp - 0x58]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [ebp - 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret