joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001bfbc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100325f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.100153ff
mov dword [ebp - 0x14], eax
cmp dword [0x100353b4], edi
jne 0x1001c0ad
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1001c03a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1001c18d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1001c18d
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c18d
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x100353b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x100353b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100353bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100353c4], eax
test eax, eax
je 0x1001c0aa
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100353c0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1001c0d2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001c0c5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1001c0e7
push 4
pop eax
jmp 0x1001c18f
cmp dword [ebp - 0x14], edi
je 0x1001c0e7
push dword [0x100353b4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1001c0cc
mov eax, dword [0x100353c0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1001c145
cmp dword [0x100353c4], esi
je 0x1001c145
push eax
call ebx
push dword [0x100353c4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1001c145
test eax, eax
je 0x1001c145
call ecx
test eax, eax
je 0x1001c13a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1001c13a
test byte [ebp - 8], 1
jne 0x1001c145
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1001c175
mov eax, dword [0x100353b8]
cmp eax, esi
je 0x1001c172
push eax
call ebx
test eax, eax
je 0x1001c172
call eax
mov edi, eax
test edi, edi
je 0x1001c172
mov eax, dword [0x100353bc]
cmp eax, esi
je 0x1001c172
push eax
call ebx
test eax, eax
je 0x1001c172
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100353b4]
call ebx
test eax, eax
je 0x1001c18d
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1001c18f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000fc16
leave
ret
Function at 0x1001fe2f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100171c3
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1001fe67
xor eax, eax
jmp 0x1001fe93
cmp esi, dword [ebp - 4]
je 0x1001fe90
cmp dword [ebp + 0xc], 0
je 0x1001fe90
push dword [edi + 0x9c]
call fcn.1001fa3d
push dword [edi + 0x9c]
mov esi, eax
call fcn.100156a7
pop ecx
pop ecx
cmp esi, eax
je 0x1001fe63
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x586753]
shl eax, 2
mov dword [0x586757], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00560b58
pop edx
call fcn.00560abc
call fcn.00560b98
push 0
call fcn.00561f60
pop ecx
push 0x5866fc
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x58675b], eax
push 0
jmp fcn.0056bb28

Function at 0x40144c
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx]
shl esi, 6
lea esi, [esi + esi*4]
lea esi, [esi + esi*4]
lea esi, [esi + esi*4]
lea esi, [esi + esi*4]
lea esi, [esi + esi*4]
lea esi, [esi + esi*4]
mov eax, dword [ebx + 4]
add esi, eax
call sub.KERNEL32.DLL_GetTickCount
mov edi, eax
push ebx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.WS2_32.DLL_select
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x4014a7
xor eax, eax
xor edx, edx
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 4], edx
jmp 0x4014f3
cmp edi, eax
jb 0x4014bb
cmp esi, 0x64
jbe 0x4014b7
mov ecx, esi
sub ecx, 0x64
jmp 0x4014d5
xor ecx, ecx
jmp 0x4014d5
sub eax, edi
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
cmp eax, esi
jae 0x4014d3
mov ecx, esi
sub ecx, eax
jmp 0x4014d5
xor ecx, ecx
mov eax, ecx
mov esi, 0xf4240
xor edx, edx
div esi
mov dword [ebx], eax
mov eax, ecx
mov ecx, 0xf4240
xor edx, edx
div ecx
mov dword [ebx + 4], edx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x402564
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push 0x586a88
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov ebx, eax
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [sym.LookAtLan.exe__MainWin]
inc dword [eax + 0x93c]
push ebx
call sub.KERNEL32.DLL_ReleaseMutex
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop ebx
ret

Function at 0x40259c
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push 0x586a99
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov ebx, eax
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [eax + 0x93c]
test edx, edx
jbe 0x4025cd
dec dword [eax + 0x93c]
push ebx
call sub.KERNEL32.DLL_ReleaseMutex
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop ebx
ret

Function at 0x4025dc
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push str.totIPthreadMutex
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov ebx, eax
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov esi, dword [eax + 0x93c]
push ebx
call sub.KERNEL32.DLL_ReleaseMutex
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4025e3
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push str.totIPthreadMutex
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov ebx, eax
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov esi, dword [eax + 0x93c]
push ebx
call sub.KERNEL32.DLL_ReleaseMutex
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, esi
pop esi
pop ebx
ret
Function at 0x402f44
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.004012c0
pop ecx
mov edi, eax
mov al, byte [ebp + 0xc]
cmp al, 1
jne 0x402f7f
push 0x586bba
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_WaitForSingleObject
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx + 0x36c]
mov eax, dword [eax + 0x20c]
call fcn.00539378
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
test edx, edx
jne 0x402fa8
or ebx, 0xffffffff
jmp 0x4030d2
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [eax + 0x978]
test edx, edx
jne 0x40307f
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
sub edx, ecx
sar edx, 1
jns 0x402fd6
adc edx, 0
mov dword [ebp - 0x1c], edx
fild dword [ebp - 0x1c]
fadd dword [0x4030f4]
fild dword [ebp - 0xc]
faddp st(1)
call fcn.00568a08
mov ebx, eax
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [eax + 0x36c]
mov eax, dword [edx + 0x20c]
mov edx, ebx
call fcn.005393a8
mov esi, eax
add esi, 0x24
mov eax, dword [esi]
test eax, eax
je 0x403015
mov edx, dword [esi]
jmp 0x40301a
mov edx, 0x586bc2
push edx
call fcn.004012c0
pop ecx
cmp eax, edi
je 0x4030d2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp ecx, edx
jne 0x40303b
or ebx, 0xffffffff
jmp 0x4030d2
cmp edi, eax
jbe 0x40305f
inc ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp eax, edx
jge 0x403052
lea ecx, [ebp - 0x14]
jmp 0x403055
lea ecx, [ebp - 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
jmp 0x402fc7
dec ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
cmp eax, edx
jle 0x403072
lea ecx, [ebp - 0x18]
jmp 0x403075
lea ecx, [ebp - 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
jmp 0x402fc7
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp ebx, eax
jge 0x4030c8
mov edx, dword [sym.LookAtLan.exe__MainWin]
mov ecx, dword [edx + 0x36c]
mov edx, ebx
mov eax, dword [ecx + 0x20c]
call fcn.005393a8
mov esi, eax
add esi, 0x24
mov eax, dword [esi]
test eax, eax
je 0x4030b0
mov edx, dword [esi]
jmp 0x4030b5
mov edx, 0x586bc3
push edx
call fcn.004012c0
pop ecx
cmp edi, eax
je 0x4030c8
inc ebx
mov eax, dword [ebp - 8]
cmp ebx, eax
jl 0x403088
mov ecx, dword [ebp - 8]
cmp ebx, ecx
jne 0x4030d2
or ebx, 0xffffffff
mov al, byte [ebp + 0xc]
cmp al, 1
jne 0x4030eb
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_ReleaseMutex
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4030f8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov eax, dword [sym.LookAtLan.exe__MainWin]
push ebx
push esi
mov dx, word [eax + 0x94c]
mov ebx, 0x20
push edx
push 0
push ebx
lea esi, [ebp - 0x20]
push esi
call fcn.004013ac
add esp, 0x10
lea ecx, [ebp - 0x30]
push 0x10
push 0
push ecx
call fcn.00560eac
add esp, 0xc
push str.127.0.0.1
call sub.WS2_32.DLL_inet_addr
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x30], 2
push 0x10
lea eax, [ebp - 0x30]
push eax
push 0
push ebx
push esi
mov edx, dword [ebp + 8]
push edx
call sub.WS2_32.DLL_sendto
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4081a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov byte [eax + 0x94e], 0
push ebx
call fcn.0040c144
pop ecx
push ebx
call fcn.004081e4
pop ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x403160
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [ebx + 0x8f4], eax
pop ebx
pop ecx
pop ebp
ret
Function at 0x40945c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x97c]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [esi + 0x984]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [esi + 0x980]
mov edx, dword [eax]
call dword [edx + 0x40]
push 0x586fda
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov dword [ebp - 8], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [esi + 0x36c]
mov eax, dword [eax + 0x20c]
call fcn.00539378
mov dword [ebp - 4], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp ebx, eax
jae 0x40952e
mov edx, dword [esi + 0x36c]
mov eax, dword [edx + 0x20c]
mov edx, ebx
call fcn.005393a8
mov edi, eax
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x409526
cmp edx, 1
jne 0x4094f9
mov edx, dword [edi + 0x24]
mov eax, dword [esi + 0x97c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x409526
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
cmp edx, ecx
je 0x409526
cmp edx, 2
jne 0x409518
mov edx, dword [edi + 0x24]
mov eax, dword [esi + 0x980]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x409526
mov edx, dword [edi + 0x24]
mov eax, dword [esi + 0x984]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc ebx
mov eax, dword [ebp - 4]
cmp ebx, eax
jb 0x4094c5
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.DLL_ReleaseMutex
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x40ace0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov eax, 0x5899dc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.0056134c
push 0x5870db
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov dword [ebp - 0x30], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.DLL_WaitForSingleObject
mov ecx, dword [esi + 0x36c]
mov eax, dword [ecx + 0x20c]
call fcn.00539378
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov eax, dword [ebp - 0x34]
cmp ebx, eax
jae 0x40ae13
mov edx, dword [esi + 0x36c]
mov eax, dword [edx + 0x20c]
mov edx, ebx
call fcn.005393a8
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x2c], 3
mov edx, dword [esi + 0x36c]
mov eax, dword [edx + 0x20c]
mov edx, ebx
call fcn.005393a8
mov word [ebp - 0x18], 8
mov edi, eax
lea eax, [ebp - 4]
add edi, 8
mov edx, 0x5870e3
call fcn.00583900
inc dword [ebp - 0xc]
mov ecx, dword [eax]
mov eax, dword [edi]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x20]
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00583ae8
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x28]
cmp eax, 3
je 0x40add2
push 8
mov edx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [edx + 0x36c]
xor ecx, ecx
mov edx, ebx
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
jmp 0x40ade8
mov eax, dword [sym.LookAtLan.exe__MainWin]
push 6
xor ecx, ecx
mov edx, ebx
mov eax, dword [eax + 0x36c]
call sym.LookAtLan.exe__Advlistv_TAdvListView_SetSubItemImage_qqriii
mov eax, dword [esi + 0x36c]
mov edx, ebx
mov eax, dword [eax + 0x20c]
call fcn.005393a8
mov ecx, 1
xor edx, edx
call fcn.00538f74
inc ebx
mov eax, dword [ebp - 0x34]
cmp ebx, eax
jb 0x40ad36
xor ecx, ecx
mov dword [esi + 0x944], ecx
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x948], eax
mov edx, dword [esi + 0x428]
mov eax, dword [edx + 0x20c]
call fcn.00539378
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov eax, dword [ebp - 0x34]
cmp ebx, eax
jae 0x40ae69
mov edx, dword [esi + 0x428]
mov eax, dword [edx + 0x20c]
mov edx, ebx
call fcn.005393a8
mov eax, dword [eax + 0xc]
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [eax]
mov dword [eax + 8], ecx
inc ebx
mov eax, dword [ebp - 0x34]
cmp ebx, eax
jb 0x40ae41
push esi
call fcn.004081e4
pop ecx
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.DLL_ReleaseMutex
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [esi + 0x8f4]
push eax
call sub.KERNEL32.DLL_CloseHandle
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0x403160
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [esi + 0x8f4], eax
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41095c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
push str._netonbios.dll
lea edx, [ebp - 0x104]
push edx
call fcn.00560f50
add esp, 8
push 0x587f4c
lea ecx, [ebp - 0x104]
push ecx
call fcn.00563300
add esp, 8
mov ebx, eax
push 0
push 0x29a
push ebx
call fcn.00563618
add esp, 0xc
push ebx
push 1
push 0x50
add esi, 0x640
push esi
call fcn.005637ec
add esp, 0x10
push ebx
call fcn.00562bf8
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411894
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
mov eax, dword [0x58691c]
mov ecx, 6
push ebx
push esi
push edi
mov dword [ebp - 8], eax
lea edi, [ebp - 0x24]
mov ax, word [0x586920]
mov esi, 0x586922
mov word [ebp - 4], ax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0x10
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.00560eac
add esp, 0xc
mov word [ebp - 0xd4], 2
push 0xa1
call sub.WS2_32.DLL_htons
mov word [ebp - 0xd2], ax
mov ecx, dword [sym.LookAtLan.exe__SNMPConf]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xd0], edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x2ec]
mov eax, dword [edx + 0x20c]
call fcn.00539378
mov edi, eax
xor esi, esi
cmp edi, esi
jle 0x4119ff
mov eax, dword [sym.LookAtLan.exe__SNMPConf]
mov edx, dword [eax]
mov ecx, dword [edx + 0x2ec]
mov edx, esi
mov eax, dword [ecx + 0x20c]
call fcn.005393a8
mov ebx, eax
add ebx, 0x24
mov eax, dword [ebx]
test eax, eax
je 0x41194a
mov edx, dword [ebx]
jmp 0x41194f
mov edx, 0x587fc9
push esi
push edi
xor eax, eax
mov edi, edx
or ecx, 0xffffffff
lea esi, [ebp - 0x44]
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
lea eax, [ebp - 0x44]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push eax
call fcn.00560fe0
pop ecx
mov ebx, eax
push 6
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xc4]
push edx
call fcn.00560e3c
add esp, 0xc
mov byte [ebp - 0xbe], bl
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0xbd]
push ebx
push ecx
push eax
call fcn.00560e3c
add esp, 0xc
add ebx, 7
lea eax, [ebp - 0x24]
lea edx, [ebp - 0xc4]
push 0x1b
push eax
add edx, ebx
push edx
call fcn.00560e3c
add ebx, 0x1b
add esp, 0xc
mov ecx, ebx
lea eax, [ebp - 0xd4]
add cl, 0xfe
lea edx, [ebp - 0xc4]
mov byte [ebp - 0xc3], cl
push 0x10
push eax
push 0
push ebx
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.DLL_sendto
mov ebx, eax
inc esi
cmp edi, esi
jg 0x411921
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b548
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push 0x10
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00560eac
add esp, 0xc
mov word [ebp - 0x4c], 2
push 0x89
call sub.WS2_32.DLL_htons
mov word [ebp - 0x4a], ax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x48], edx
push 0x10
call sub.WS2_32.DLL_htons
mov word [ebp - 0x3a], ax
push 1
call sub.WS2_32.DLL_htons
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x30]
mov word [ebp - 0x36], 0
mov word [ebp - 0x34], 0
mov word [ebp - 0x32], 0
push 0
push ecx
push 0x58f6f6
call fcn.0041b428
add esp, 0xc
push 0x21
call sub.WS2_32.DLL_htons
mov word [ebp - 0xe], ax
push 1
call sub.WS2_32.DLL_htons
mov word [ebp - 0xc], ax
push 0x400
call sub.WS2_32.DLL_htons
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x4c]
push 0x10
push eax
push 0
lea edx, [ebp - 0x3c]
push 0x32
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.DLL_sendto
cmp eax, 0xffffffff
jne 0x41b619
mov eax, dword [ebp + 0xc]
push eax
call sub.WS2_32.DLL_inet_ntoa
push eax
push str._s_tSendto_failed
push 0x50
lea edx, [ebp - 0x9c]
push edx
call fcn.00564cb4
add esp, 0x10
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x41c8b8
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push 0x58fafe
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov ebx, eax
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [sym.LookAtLan.exe__PCDetails]
mov edx, dword [eax + 0x358]
mov eax, dword [edx + 0x20c]
call fcn.0053948c
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop ebx
ret
Function at 0x41cf48
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x5ae3f0]
mov dx, 0xfff5
push edi
mov eax, dword [eax]
call fcn.0050dbc8
mov ecx, dword [sym.LookAtLan.exe__MainWin]
mov eax, dword [ecx]
mov dl, byte [eax + 0x691]
cmp dl, 1
jne 0x41cf7e
push 1
push 0
push 0x58fb80
call sub.WINMM.DLL_PlaySoundA
mov eax, dword [esi + 0x3ec]
test eax, eax
je 0x41cf9c
push 1
push eax
call sub.KERNEL32.DLL_TerminateThread
mov edx, dword [esi + 0x3ec]
push edx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [esi + 0x3f0]
test eax, eax
je 0x41cfba
push 1
push eax
call sub.KERNEL32.DLL_TerminateThread
mov edx, dword [esi + 0x3f0]
push edx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [esi + 0x3f4]
test eax, eax
je 0x41cfd8
push 1
push eax
call sub.KERNEL32.DLL_TerminateThread
mov edx, dword [esi + 0x3f4]
push edx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [esi + 0x3f8]
test eax, eax
je 0x41cff6
push 1
push eax
call sub.KERNEL32.DLL_TerminateThread
mov edx, dword [esi + 0x3f8]
push edx
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [sym.LookAtLan.exe__SNMPDetails]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2f0]
call fcn.0051352c
mov ecx, dword [sym.LookAtLan.exe__SNMPDetails]
mov ebx, dword [ecx]
xor eax, eax
mov dword [ebx + 0x330], eax
mov edx, dword [ebx + 0x2e0]
mov eax, dword [edx + 0x128]
call fcn.004ff180
mov edx, dword [sym.LookAtLan.exe__MainWin]
mov ecx, eax
mov eax, dword [edx]
xor edx, edx
mov eax, dword [eax + 0x2fc]
call fcn.004d6aa8
mov ecx, dword [sym.LookAtLan.exe__SNMPDetails]
xor edx, edx
mov eax, dword [ecx]
call fcn.00509670
mov eax, dword [esi + 0x3fc]
test eax, eax
je 0x41d070
push 1
push eax
call sub.KERNEL32.DLL_TerminateThread
mov edx, dword [esi + 0x3fc]
push edx
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x41d09f
mov eax, dword [esi + 0x400]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x41d09e
push 1
mov edx, dword [esi + 0x400]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov ecx, dword [esi + 0x400]
mov eax, dword [ecx + ebx*4]
push eax
call sub.KERNEL32.DLL_CloseHandle
inc ebx
mov edx, dword [esi + 0x408]
inc edx
cmp ebx, edx
jb 0x41d074
xor ebx, ebx
jmp 0x41d0d7
mov eax, dword [esi + 0x35c]
mov edx, ebx
mov eax, dword [eax + 0x20c]
call fcn.005393a8
mov edi, dword [eax + 0xc]
test edi, edi
je 0x41d0d6
push 1
push edi
call sub.KERNEL32.DLL_TerminateThread
push edi
call sub.KERNEL32.DLL_CloseHandle
inc ebx
mov eax, dword [esi + 0x35c]
mov eax, dword [eax + 0x20c]
call fcn.00539378
cmp ebx, eax
jb 0x41d0ae
mov edx, dword [esi + 0x358]
mov eax, dword [edx + 0x20c]
call fcn.00539378
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jbe 0x41d12b
mov eax, dword [esi + 0x358]
mov edx, ebx
mov eax, dword [eax + 0x20c]
call fcn.005393a8
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41d126
push eax
call fcn.005609dc
pop ecx
inc ebx
cmp edi, ebx
ja 0x41d105
mov byte [esi + 0x3d5], 0
mov edx, dword [0x5ae3f0]
mov eax, dword [edx]
xor edx, edx
call fcn.0050dbc8
mov byte [esi + 0x3d4], 1
mov cl, byte [esi + 0x40d]
cmp cl, 1
jne 0x41d15a
mov eax, esi
call fcn.0050c688
pop edi
pop esi
pop ebx
ret