Function at 0x10045710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1015acfe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b0cd0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CBXLUdpScanner.0
xor ebx, ebx
mov dword [esp + 0x20], 2
cmp byte [esi + 0x54], bl
je 0x10045755
call fcn.10045af0
mov eax, dword [esi + 0x84]
xor edi, edi
cmp eax, ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
jle 0x1004577a
push 3
push esi
mov ecx, edi
call fcn.100459b0
inc edi
cmp edi, dword [esi + 0x84]
jl 0x10045767
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x1004578d
push eax
call fcn.1004698d
add esp, 4
mov dword [esi + 0x44], ebx
mov edx, dword [esi + 0x7c]
cmp edx, ebx
je 0x100457bf
cmp dword [esi + 0x80], ebx
jbe 0x100457bf
mov edi, dword [esi + 0x80]
mov ecx, edx
mov eax, dword [ecx]
cmp eax, ebx
je 0x100457b7
lea ebx, [ebx]
mov eax, dword [eax + 0x10]
cmp eax, ebx
jne 0x100457b0
add ecx, 4
sub edi, 1
jne 0x100457a4
push edx
call fcn.1004698d
mov ecx, dword [esi + 0x8c]
add esp, 4
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
call fcn.1004a409
lea edi, [esi + 0x5c]
mov dword [esi + 0x8c], ebx
call fcn.10045d20
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x20], 1
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x78], vtable.CMap_int__int__struct__LOCAL_INTERFACE_INFO___struct__LOCAL_INTERFACE_INFO__.0
cmp edx, ebx
je 0x10045835
cmp dword [esi + 0x80], ebx
jbe 0x10045835
mov ebp, dword [esi + 0x80]
mov ecx, edx
lea ecx, [ecx]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1004582d
mov eax, dword [eax + 0x10]
cmp eax, ebx
jne 0x10045826
add ecx, 4
sub ebp, 1
jne 0x10045820
push edx
call fcn.1004698d
mov ecx, dword [esi + 0x8c]
add esp, 4
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
call fcn.1004a409
mov dword [esi + 0x8c], ebx
mov byte [esp + 0x20], bl
mov dword [edi], vtable.CMap_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____char_const___struct__DISCOVERY_DEVICE_INFO___struct__DISCOVERY_DEVICE_INFO__.0
call fcn.10045d20
cmp dword [esi + 0x28], 3
mov dword [esi], vtable.XThread.0
je 0x10045890
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x1004588a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 4], vtable.XStringA.0
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x100458bd
mov ecx, dword [esi + 0xc]
inc ecx
imul ecx, dword [esi + 0x14]
push ecx
push ebx
push eax
call fcn.10057070
mov edx, dword [esi + 8]
push edx
call fcn.10054ff5
add esp, 0x10
mov dword [esi + 8], ebx
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x100458e0
mov ecx, dword [esi + 0x1c]
add ecx, ecx
push ecx
push ebx
push eax
call fcn.10057070
mov edx, dword [esi + 0x18]
push edx
call fcn.1004698d
add esp, 0x10
mov dword [esi + 0x18], ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret