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

Disassembly:
push 0xffffffffffffffff
push 0x1008f88b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x100ac4cc]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x14], ecx
je 0x1004d20b
mov edx, dword [esp + 0x78]
sub edx, eax
cmp edx, 0xea60
ja 0x1004d20b
mov esi, dword [ecx + 0x14c]
mov dword [esp + 0x78], 0xa1a
cmp esi, ebx
jne 0x1004d0a9
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x34]
push eax
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
call fcn.1006ae90
mov ecx, dword [str.AvailableNetworkAdaptersFunction]
push esi
push 0x100a9a3c
push 0xb
push ecx
push eax
mov dword [esp + 0x80], ebx
call fcn.1006b020
add esp, 0x14
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], 0xffffffff
call fcn.1006afc0
mov esi, dword [esp + 0x74]
cmp esi, 0x100ac348
je 0x1004d71d
mov eax, dword [0x100ac34c]
cmp eax, ebx
jne 0x1004d109
xor edi, edi
jmp 0x1004d114
mov edi, dword [0x100ac350]
sub edi, eax
sar edi, 3
mov ecx, esi
call fcn.1004e6f0
cmp edi, eax
ja 0x1004d146
mov edx, dword [esi + 4]
mov eax, dword [0x100ac350]
mov ecx, dword [0x100ac34c]
push edx
push eax
push ecx
call fcn.100524b0
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.1004fd20
jmp 0x1004d194
mov ecx, esi
call fcn.1004fa40
mov ecx, 0x100ac348
mov edi, eax
call fcn.1004e6f0
cmp eax, edi
ja 0x1004d1ac
mov edi, dword [0x100ac34c]
mov ecx, esi
call fcn.1004e6f0
mov ecx, dword [esi + 4]
mov edx, dword [0x100ac34c]
lea edi, [edi + eax*8]
push ecx
push edi
push edx
call fcn.100524b0
mov eax, dword [esi + 8]
mov ecx, dword [0x100ac350]
add esp, 0xc
push eax
push ecx
push edi
mov ecx, esi
call fcn.1004fd50
mov ecx, 0x100ac348
call fcn.1004e6f0
mov edx, dword [esi + 4]
lea eax, [edx + eax*8]
mov dword [esi + 8], eax
jmp 0x1004d71d
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.1004fd20
mov eax, dword [esi + 4]
push eax
call fcn.10088e50
add esp, 4
mov ecx, 0x100ac348
call fcn.1004e6f0
cmp eax, ebx
jge 0x1004d1d7
xor eax, eax
lea ecx, [eax*8]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [0x100ac350]
mov edx, dword [0x100ac34c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1004fd50
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
jmp 0x1004d71d
mov esi, dword [ecx + 0x14c]
mov dword [esp + 0x20], 0xa23
cmp esi, ebx
jne 0x1004d223
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x20]
lea ecx, [esp + 0x34]
push edx
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
call fcn.1006ae90
mov ecx, dword [str.AvailableNetworkAdaptersFunction]
push esi
push 0x100a9a0c
push 0xb
push ecx
push eax
mov dword [esp + 0x80], 1
call fcn.1006b020
or ebp, 0xffffffff
add esp, 0x14
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], ebp
call fcn.1006afc0
mov esi, 0x10094500
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov ecx, 0x100ac348
mov dword [esp + 0x6c], 2
call fcn.1004e6f0
test eax, eax
jbe 0x1004d2a3
mov eax, dword [0x100ac350]
mov ecx, dword [0x100ac34c]
push eax
push ecx
mov ecx, 0x100ac348
call fcn.1004fcd0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], ebp
cmp ecx, ebx
mov dword [esp + 0x2c], esi
je 0x1004d2b8
call fcn.100511f0
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push edx
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
mov edi, eax
cmp edi, 0x6f
je 0x1004d333
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], 0xa2f
mov esi, dword [eax + 0x14c]
cmp esi, ebx
jne 0x1004d2ea
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x74]
push ecx
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
lea ecx, [esp + 0x3c]
call fcn.1006ae90
mov edx, dword [str.AvailableNetworkAdaptersFunction]
push edi
push esi
push 0x100a99d0
push 1
push edx
push eax
mov dword [esp + 0x84], 3
call fcn.1006b020
add esp, 0x18
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], ebp
call fcn.1006afc0
jmp 0x1004d71d
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x18]
mov ebp, eax
push ecx
push ebp
mov dword [esp + 0x30], ebp
call sub.iphlpapi.dll_GetAdaptersInfo
mov edi, eax
cmp edi, ebx
je 0x1004d3c9
mov edx, dword [esp + 0x14]
mov dword [esp + 0x74], 0xa3b
mov esi, dword [edx + 0x14c]
cmp esi, ebx
jne 0x1004d373
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x34]
push eax
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
call fcn.1006ae90
mov ecx, dword [str.AvailableNetworkAdaptersFunction]
push edi
push esi
push 0x100a99d0
push 1
push ecx
push eax
mov dword [esp + 0x84], 4
call fcn.1006b020
add esp, 0x18
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], 0xffffffff
call fcn.1006afc0
push ebp
call fcn.10088e50
add esp, 4
jmp 0x1004d71d
cmp ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], 1
je 0x1004d59d
mov edx, dword [esp + 0x10]
lea ebp, [edx + 0x1ac]
cmp ebp, ebx
mov dword [esp + 0x20], ebp
je 0x1004d587
jmp 0x1004d3f9
mov ebp, dword [esp + 0x20]
push 0x50
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
mov dword [esp + 0x6c], 5
je 0x1004d441
mov edi, dword [esp + 0x1c]
add ebp, 4
mov ecx, edi
push ebp
inc ecx
mov dword [esp + 0x20], ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
mov eax, dword [esp + 0x14]
add eax, 0x10c
mov ecx, esi
push eax
push edi
call fcn.10045b70
mov esi, eax
jmp 0x1004d443
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x10094500
je 0x1004d481
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x1004d47b
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], esi
jmp 0x1004d47d
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [0x100ac350]
lea ecx, [esp + 0x2c]
push ecx
push 1
push eax
mov ecx, 0x100ac348
mov dword [esp + 0x78], 6
call fcn.1004fa60
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], 0xa4e
cmp ecx, ebx
jne 0x1004d4b4
xor eax, eax
jmp 0x1004d4b7
mov eax, dword [ecx + 8]
mov ebp, dword [eax + 8]
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp ebp, ebx
jne 0x1004d4c6
mov ebp, esi
cmp ecx, ebx
jne 0x1004d4ce
xor edi, edi
jmp 0x1004d4d1
mov edi, dword [ecx + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x14c]
cmp eax, ebx
je 0x1004d4e1
mov esi, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
call fcn.1006ae90
mov ecx, dword [edi]
mov edx, dword [str.AvailableNetworkAdaptersFunction]
push ebp
push ecx
push esi
push 0x100a999c
push 0xb
push edx
push eax
mov byte [esp + 0x88], 7
call fcn.1006b020
add esp, 0x1c
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 6
call fcn.1006afc0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x2c], 0x10094500
je 0x1004d575
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push eax
mov esi, eax
call edi
test eax, eax
jne 0x1004d575
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x1004d55b
push 1
call fcn.10051620
lea eax, [esi + 4]
mov dword [esi + 8], ebx
push eax
call edi
test eax, eax
jne 0x1004d575
cmp esi, ebx
je 0x1004d575
push 1
mov ecx, esi
call fcn.10051600
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x1004d3f5
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x1004d3dd
mov ebp, dword [esp + 0x28]
push ebp
call fcn.10088e50
mov esi, dword [esp + 0x78]
add esp, 4
cmp esi, 0x100ac348
je 0x1004d6b0
mov ecx, esi
call fcn.1004e6f0
mov ecx, 0x100ac348
mov edi, eax
call fcn.1004e6f0
cmp eax, edi
ja 0x1004d60a
mov edx, dword [esi + 4]
mov eax, dword [0x100ac350]
mov ecx, dword [0x100ac34c]
push edx
push eax
push ecx
call fcn.100524b0
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.1004fd20
mov ecx, 0x100ac348
call fcn.1004e6f0
mov edx, dword [esi + 4]
lea eax, [edx + eax*8]
mov dword [esi + 8], eax
jmp 0x1004d6b0
mov ecx, esi
call fcn.1004fa40
mov ecx, 0x100ac348
mov edi, eax
call fcn.1004e6f0
cmp eax, edi
ja 0x1004d65a
mov edi, dword [0x100ac34c]
mov ecx, esi
call fcn.1004e6f0
mov ecx, dword [esi + 4]
mov edx, dword [0x100ac34c]
lea edi, [edi + eax*8]
push ecx
push edi
push edx
call fcn.100524b0
mov eax, dword [esi + 8]
mov ecx, dword [0x100ac350]
add esp, 0xc
push eax
push ecx
push edi
mov ecx, esi
call fcn.1004fd50
jmp 0x1004d5f2
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.1004fd20
mov eax, dword [esi + 4]
push eax
call fcn.10088e50
add esp, 4
mov ecx, 0x100ac348
call fcn.1004e6f0
cmp eax, ebx
jge 0x1004d685
xor eax, eax
shl eax, 3
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [0x100ac350]
mov edx, dword [0x100ac34c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1004fd50
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], 0xa59
mov esi, dword [ecx + 0x14c]
cmp esi, ebx
jne 0x1004d6cc
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x4c]
push edx
push str.F:SCVLibScvLIBNetAvailableNetworkAdapters.cpp
call fcn.1006ae90
mov ecx, dword [str.AvailableNetworkAdaptersFunction]
push esi
push 0x100a9968
push 0xb
push ecx
push eax
mov dword [esp + 0x80], 8
call fcn.1006b020
add esp, 0x14
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.1006afc0
mov edx, dword [esp + 0x78]
mov dword [0x100ac4cc], edx
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8