Function at 0x10043920
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe9c7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1b4
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x194], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x194]
cmp dword [eax + 8], 0
jne 0x10043f4f
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x70], eax
push str.eappcfg.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x74], eax
push str.eappprxy.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0x194]
cmp dword [edx + 0x70], 0
je 0x10043b48
push str.WlanOpenHandle
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x3c], eax
push str.WlanCloseHandle
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x40], eax
push str.WlanRegisterNotification
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x44], eax
push str.WlanGetProfile
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x48], eax
push str.WlanGetProfileList
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x4c], eax
push str.WlanEnumInterfaces
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x50], eax
push str.WlanSetProfile
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x54], eax
push str.WlanSetProfilePosition
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x58], eax
push str.WlanSetProfileCustomUserData
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x5c], eax
push str.WlanDeleteProfile
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x60], eax
push str.WlanFreeMemory
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x64], eax
push str.WlanReasonCodeToString
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x68], eax
push str.WlanIhvControl
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x194]
cmp dword [eax + 0x78], 0
je 0x10043b74
push str.EapHostPeerInitialize
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x7c], eax
jmp 0x10043b8f
mov dword [ebp - 0x15c], 0
push 0x1015198c
lea edx, [ebp - 0x15c]
push edx
call fcn.100cb4c0
mov eax, dword [ebp - 0x194]
cmp dword [eax + 0x74], 0
je 0x10043c25
push str.EapHostPeerConfigXml2Blob
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x80], eax
push str.EapHostPeerConfigBlob2Xml
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x84], eax
push str.EapHostPeerFreeErrorMemory
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x88], eax
push str.EapHostPeerFreeMemory
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x8c], eax
jmp 0x10043c40
mov dword [ebp - 0x160], 0
push 0x1015198c
lea edx, [ebp - 0x160]
push edx
call fcn.100cb4c0
mov eax, dword [ebp - 0x194]
cmp dword [eax + 0x3c], 0
je 0x10043c9f
mov ecx, dword [ebp - 0x194]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x194]
add edx, 0x10
push edx
push 0
push 1
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x3c]
call ecx
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x10043c9f
mov dword [ebp - 0x164], 0
push 0x1015198c
lea eax, [ebp - 0x164]
push eax
call fcn.100cb4c0
mov ecx, dword [ebp - 0x194]
cmp dword [ecx + 8], 0
je 0x10043e86
mov edx, dword [ebp - 0x194]
cmp dword [edx + 0x50], 0
je 0x10043d0e
mov eax, dword [ebp - 0x194]
add eax, 0x34
push eax
push 0
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x10043d0c
mov dword [ebp - 0x168], 0
push 0x1015198c
lea eax, [ebp - 0x168]
push eax
call fcn.100cb4c0
jmp 0x10043d29
mov dword [ebp - 0x16c], 0
push 0x1015198c
lea ecx, [ebp - 0x16c]
push ecx
call fcn.100cb4c0
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x34]
cmp dword [eax], 1
jb 0x10043e6b
mov byte [ebp - 0xb9], 0
mov dword [ebp - 0xc0], 0
jmp 0x10043d5d
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
cmp dword [ebp + 8], 0
je 0x10043dab
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax]
jae 0x10043dab
mov edx, dword [ebp - 0xc0]
imul edx, edx, 0x214
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x34]
lea edx, [ecx + edx + 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1004b860
add esp, 8
test eax, eax
je 0x10043da9
mov byte [ebp - 0xb9], 1
jmp 0x10043dab
jmp 0x10043d4e
movzx ecx, byte [ebp - 0xb9]
test ecx, ecx
je 0x10043dc7
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp + 8]
mov dword [edx + 0xc], eax
jmp 0x10043e69
lea ecx, [ebp - 0x158]
call fcn.10096120
cmp dword [ebp + 8], 0
je 0x10043e5e
push 0x40000
lea ecx, [ebp - 0x158]
call fcn.10096160
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x10043e5e
push 0xf7
push 0x10122f20
lea ecx, [ebp - 0x174]
call fcn.1000dcf0
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], ecx
mov byte [ebp - 4], 1
push str.CMsProfileDb::Initialize___Desired_interface_is_Windows_7_PAN._r_n
mov edx, dword [ebp - 0x1a8]
push edx
call fcn.10017b70
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.1000dd20
mov byte [ebp - 0xb9], 1
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
jmp 0x10043e69
mov ecx, dword [ebp - 0x194]
call fcn.1004ad30
jmp 0x10043e86
mov dword [ebp - 0x178], 0
push 0x1015198c
lea edx, [ebp - 0x178]
push edx
call fcn.100cb4c0
mov dword [ebp - 0xb8], 8
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0xb0]
call fcn.10096120
push 0x40000
lea ecx, [ebp - 0xb0]
call fcn.10096160
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x10043ed5
mov eax, dword [ebp - 0xb8]
or eax, 0x80
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x194]
cmp dword [ecx + 0x44], 0
je 0x10043f44
lea edx, [ebp - 0xb4]
push edx
push 0
mov eax, dword [ebp - 0x194]
push eax
push 0x100435b0
push 1
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 0x44]
call edx
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10043f44
mov dword [ebp - 0x17c], 0
push 0x1015198c
lea ecx, [ebp - 0x17c]
push ecx
call fcn.100cb4c0
mov ecx, dword [ebp - 0x194]
call fcn.10047990
push 0x14
call fcn.100aaa85
add esp, 4
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x184], 0
je 0x10043f97
mov ecx, dword [ebp - 0x184]
call fcn.1004cbb0
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], eax
jmp 0x10043fa1
mov dword [ebp - 0x1bc], 0
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x180]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x194]
cmp dword [ecx + 0x2c], 0
jne 0x10043fe7
mov dword [ebp - 0x188], 0x800432b4
push 0x1014f068
lea edx, [ebp - 0x188]
push edx
call fcn.100cb4c0
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x2c]
call fcn.1004d330
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x38], 1
jmp 0x100440d5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x194]
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 8