Function at 0x408c50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441532
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x454d50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.CErisProbe::AddDevice__Start__n
xor edi, edi
push 0x4592c0
mov dword [ebp - 4], edi
call fcn.00402620
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
add esp, 8
cmp eax, edi
jne 0x408cd9
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], 1
call fcn.00423463
push ecx
mov dword [ebp - 0x28], esp
mov byte [ebp - 4], 7
mov dword [ebp - 0x28], esp
cmp ebx, edi
jne 0x408cef
xor eax, eax
jmp 0x408cfe
push eax
call esi
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, edi
jne 0x408ca1
push 0x8007000e
call fcn.00401090
push ebx
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
cmp ebx, edi
je 0x408d15
cmp eax, edi
jne 0x408d15
push 0x8007000e
call fcn.00401090
lea ecx, [ebp - 0x58]
call fcn.00417710
lea edx, [ebp - 0x20]
push edx
push ecx
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x28], esp
push str.Device_ID
call esi
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
cmp eax, edi
jne 0x408d42
push 0x8007000e
call fcn.00401090
lea ecx, [ebp - 0x58]
call fcn.00417870
lea edx, [ebp - 0x18]
push edx
push ecx
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x28], esp
push str.IPAddress
call esi
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
cmp eax, edi
jne 0x408d6f
push 0x8007000e
call fcn.00401090
lea ecx, [ebp - 0x58]
call fcn.00417870
lea edx, [ebp - 0x1c]
push edx
push ecx
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x28], esp
push str.IPV4_Address
call esi
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
cmp eax, edi
jne 0x408d9c
push 0x8007000e
call fcn.00401090
lea ecx, [ebp - 0x58]
call fcn.00417870
lea edx, [ebp - 0x14]
push edx
push ecx
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x28], esp
push str.MAC_Address
call esi
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
cmp eax, edi
jne 0x408dc9
push 0x8007000e
call fcn.00401090
lea ecx, [ebp - 0x58]
call fcn.00417870
lea edx, [ebp - 0x10]
push edx
push ecx
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x28], esp
push str.Device_Name
call esi
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
cmp eax, edi
jne 0x408df6
push 0x8007000e
call fcn.00401090
lea ecx, [ebp - 0x58]
call fcn.00417870
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
cmp eax, edi
je 0x408e48
cmp dword [eax + 0x20], edi
je 0x408e48
cmp eax, edi
je 0x408e32
mov edi, dword [eax + 0x20]
mov edx, dword [eax + 0x20]
lea ecx, [ebp - 0x3c]
push ecx
push edi
push 0x7f00
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x408e59
mov eax, dword [ecx + 0x14]
cmp eax, edi
je 0x408e59
mov ecx, dword [ecx + 0x18]
lea edx, [ebp - 0x3c]
push edx
push ecx
call eax
push str.CErisProbe::AddDevice__Exit__n
push 0x4592c0
call fcn.00402620
add esp, 8
push str.CErisProbe::AddDevice__Exit__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x58]
push edx
mov byte [ebp - 4], 6
call fcn.00417650
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call esi
mov edx, dword [ebp - 0x18]
push edx
call esi
mov eax, dword [ebp - 0x1c]
push eax
call esi
mov ecx, dword [ebp - 0x20]
push ecx
call esi
push ebx
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408ed0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8