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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff24
mov eax, 0x5901fc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.0056134c
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x3e8], edx
mov byte [ebx + 0x40d], 1
mov byte [ebx + 0x3d4], 0
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
mov eax, dword [ecx + 0x400]
test eax, eax
jne 0x41be68
mov edx, dword [sym.LookAtLan.exe__EditServices]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2d4]
mov eax, dword [eax + 0x20c]
call fcn.00539378
mov edi, eax
mov eax, dword [sym.LookAtLan.exe__PCDetails]
xor edx, edx
mov ecx, 9
mov dword [eax + 0x404], edi
mov eax, edi
div ecx
mov edx, dword [sym.LookAtLan.exe__PCDetails]
mov dword [edx + 0x408], eax
mov eax, dword [sym.LookAtLan.exe__PCDetails]
mov ecx, dword [eax + 0x408]
shl ecx, 2
add ecx, 4
push ecx
call fcn.005606a8
mov edi, eax
mov eax, dword [sym.LookAtLan.exe__PCDetails]
pop ecx
test edi, edi
mov dword [eax + 0x400], edi
jne 0x41be68
mov word [ebp - 0x50], 8
mov edx, str.Unable_to_alloc_memory__Gonna_Die_
lea eax, [ebp - 4]
call fcn.00583900
inc dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.00516a6c
dec dword [ebp - 0x44]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [0x5ae3ec]
mov eax, dword [ecx]
call fcn.0050fa28
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x41be78
mov ecx, dword [ebx + 0x3e8]
mov esi, dword [ecx + 0xc]
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [eax]
mov cl, byte [edx + 0x691]
cmp cl, 1
jne 0x41be98
push 1
push 0
push 0x58fa9c
call sub.WINMM.DLL_PlaySoundA
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x20c]
call fcn.0053946c
mov edx, dword [ebx + 0x324]
mov eax, dword [edx + 0x20c]
call fcn.0053946c
mov edx, dword [ebx + 0x320]
mov eax, dword [edx + 0x20c]
call fcn.0053946c
mov edx, dword [ebx + 0x358]
mov eax, dword [edx + 0x20c]
call fcn.0053946c
xor edx, edx
mov eax, dword [ebx + 0x2f0]
call sym.LookAtLan.exe__TCGauge_SetProgress_qqrl
mov edx, dword [sym.LookAtLan.exe__PCDetails]
mov ecx, dword [edx + 0x300]
mov edx, 0x18
mov eax, dword [ecx + 0x58]
call fcn.004fbfb4
mov ecx, dword [ebx + 0x35c]
mov eax, dword [ecx + 0x20c]
call fcn.0053946c
mov word [ebp - 0x50], 0x14
mov edx, 0x58faaf
lea eax, [ebp - 8]
call fcn.00583900
inc dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [ebx + 0x318]
call fcn.0051bd28
dec dword [ebp - 0x44]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [ebx + 0x318]
mov edx, 0xffff
mov eax, dword [ecx + 0x58]
call fcn.004fbd14
xor edx, edx
mov eax, dword [ebx + 0x314]
call fcn.00512fc4
xor edx, edx
mov eax, dword [ebx + 0x388]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
xor edx, edx
mov eax, dword [ebx + 0x38c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
xor edx, edx
mov eax, dword [ebx + 0x330]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
xor eax, eax
jmp 0x41bf9d
mov edx, dword [ebx + 0x400]
xor ecx, ecx
mov dword [edx + eax*4], ecx
inc eax
mov edx, dword [ebx + 0x408]
inc edx
cmp eax, edx
jb 0x41bf91
xor eax, eax
mov dword [ebx + 0x3fc], eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41bff0
lea eax, [ebp - 0x78]
push eax
mov edx, dword [esi]
push edx
call fcn.00401308
lea ecx, [ebx + 0x3d5]
add esp, 8
mov esi, ecx
xor eax, eax
lea edi, [ebp - 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41c018
lea eax, [ebx + 0x3d5]
lea esi, [ebp - 0x78]
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x64
lea eax, [ebp - 0xdc]
push eax
push 0x190
mov edx, dword [0x5ae9d0]
push edx
call sub.USER32.DLL_LoadStringA
mov word [ebp - 0x50], 0x20
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x10]
call fcn.00583900
push eax
inc dword [ebp - 0x44]
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xc]
call fcn.00583900
inc dword [ebp - 0x44]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x44]
pop edx
call fcn.00583b40
lea edx, [ebp - 0x14]
mov eax, dword [sym.LookAtLan.exe__PCDetails]
mov edx, dword [edx]
call fcn.0051bd28
dec dword [ebp - 0x44]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00583ae8
dec dword [ebp - 0x44]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00583ae8
dec dword [ebp - 0x44]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00583ae8
mov word [ebp - 0x50], 0x2c
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x18]
call fcn.00583900
inc dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [ebx + 0x31c]
call fcn.0051bd28
dec dword [ebp - 0x44]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [ebx + 0x324]
mov eax, dword [ecx + 0x20c]
call fcn.005392fc
mov esi, eax
lea eax, [ebp - 0xdc]
push 0x64
push eax
mov edx, dword [0x5ae9d0]
push 0x191
push edx
call sub.USER32.DLL_LoadStringA
mov word [ebp - 0x50], 0x38
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0x1c]
call fcn.00583900
inc dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, esi
call fcn.00538dd0
dec dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00583ae8
push 0x64
lea ecx, [ebp - 0xdc]
push ecx
push 0x140
mov eax, dword [0x5ae9d0]
push eax
call sub.USER32.DLL_LoadStringA
mov word [ebp - 0x50], 0x44
lea edi, [esi + 8]
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0x20]
call fcn.00583900
inc dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x44]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00583ae8
mov ecx, 1
xor edx, edx
mov eax, esi
call fcn.00538f74
push 3
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x324]
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
push 0x64
lea ecx, [ebp - 0xdc]
push ecx
push 0x192
mov eax, dword [0x5ae9d0]
push eax
call sub.USER32.DLL_LoadStringA
mov word [ebp - 0x50], 0x50
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0x24]
call fcn.00583900
mov edx, eax
inc dword [ebp - 0x44]
mov eax, dword [ebx + 0x324]
add eax, 0x70
call fcn.00583b18
dec dword [ebp - 0x44]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00583ae8
mov byte [ebx + 0x40c], 0
mov word [ebp - 0x50], 0x5c
mov edx, 0x58fab1
lea eax, [ebp - 0x28]
call fcn.00583900
inc dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [sym.LookAtLan.exe__PCDetails]
mov eax, dword [eax + 0x300]
call fcn.0051bd28
dec dword [ebp - 0x44]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
mov edx, 0xff
mov eax, dword [ecx + 0x300]
mov eax, dword [eax + 0x58]
call fcn.004fbd14
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
mov edx, 0xc0c0c0
mov eax, dword [ecx + 0x300]
call fcn.0051be84
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
mov eax, dword [ecx + 0x300]
mov edx, dword [eax]
call dword [edx + 0x78]
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
xor edx, edx
mov eax, dword [ecx + 0x308]
call fcn.0051bc10
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
xor edx, edx
mov eax, dword [ecx + 0x304]
call fcn.0051bc10
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
mov dl, 1
mov eax, dword [ecx + 0x32c]
call fcn.0051bc10
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
mov eax, dword [ecx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0x78]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x41c306
xor edx, edx
mov eax, dword [ebx + 0x30c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov word [ebp - 0x50], 0x68
mov edx, 0x58fab5
lea eax, [ebp - 0x2c]
call fcn.00583900
inc dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [ebx + 0x30c]
call fcn.0051bd28
dec dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00583ae8
jmp 0x41c407
mov dl, 1
mov eax, dword [ebx + 0x30c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov word [ebp - 0x50], 0x74
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x30], eax
add esi, 8
inc dword [ebp - 0x44]
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
mov edx, 7
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x30]
push eax
mov edx, 0x58fab9
lea eax, [ebp - 0x34]
call fcn.00583900
inc dword [ebp - 0x44]
lea edx, [ebp - 0x34]
pop eax
call fcn.00583bcc
push eax
dec dword [ebp - 0x44]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00583ae8
dec dword [ebp - 0x44]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00583ae8
pop ecx
test cl, cl
je 0x41c3c1
mov word [ebp - 0x50], 0x80
mov edx, 0x58fabc
lea eax, [ebp - 0x38]
call fcn.00583900
inc dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [ebx + 0x30c]
call fcn.0051bd28
dec dword [ebp - 0x44]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [ebx + 0x30c]
mov edx, 0x8000
mov eax, dword [ecx + 0x58]
call fcn.004fbd14
jmp 0x41c407
mov word [ebp - 0x50], 0x8c
mov edx, 0x58fabf
lea eax, [ebp - 0x3c]
call fcn.00583900
inc dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [ebx + 0x30c]
call fcn.0051bd28
dec dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [ebx + 0x30c]
mov edx, 0xff
mov eax, dword [ecx + 0x58]
call fcn.004fbd14
lea ecx, [ebp - 0x78]
push ecx
call fcn.004012c0
mov edi, eax
mov eax, dword [sym.LookAtLan.exe__MainWin]
pop ecx
mov edx, dword [eax]
mov eax, dword [edx + 0x4ec]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x41c449
lea ecx, [ebp - 0x64]
push ecx
push 0
push edi
push 0x41d160
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [ebx + 0x3f0], eax
jmp 0x41c451
xor eax, eax
mov dword [ebx + 0x3f0], eax
mov edx, dword [sym.LookAtLan.exe__MainWin]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x4f0]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x41c488
lea ecx, [ebp - 0x64]
push ecx
push 0
push edi
push 0x41c92c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [ebx + 0x3ec], eax
jmp 0x41c490
xor eax, eax
mov dword [ebx + 0x3ec], eax
mov edx, dword [sym.LookAtLan.exe__MainWin]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x4f4]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x41c4c7
lea ecx, [ebp - 0x64]
push ecx
push 0
push edi
push 0x41d7e0
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [ebx + 0x3f4], eax
jmp 0x41c4cf
xor eax, eax
mov dword [ebx + 0x3f4], eax
mov edx, dword [sym.LookAtLan.exe__MainWin]
mov ecx, dword [edx]
mov al, byte [ecx + 0x690]
test al, al
jne 0x41c4ff
lea edx, [ebp - 0x64]
push edx
push 0
push 0
push 0x41eddc
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [ebx + 0x3f8], eax
jmp 0x41c507
xor ecx, ecx
mov dword [ebx + 0x3f8], ecx
push str.nbtMutex
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov esi, eax
lea eax, [ebp - 0x78]
push eax
call sub.WS2_32.DLL_inet_addr
mov dword [ebp - 0x68], eax
push 0xffffffffffffffff
push esi
call sub.KERNEL32.DLL_WaitForSingleObject
push 0x96
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x908]
push edx
call fcn.0041b548
add esp, 0xc
push esi
call sub.KERNEL32.DLL_ReleaseMutex
push esi
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4f8]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x41c591
lea ecx, [ebp - 0x64]
push ecx
push 0
push edi
push 0x41e0a8
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [ebx + 0x3fc], eax
jmp 0x41c59e
mov dl, 1
mov eax, dword [ebx + 0x388]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x60]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret