Function at 0x483270
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
push 0
push 1
push str.wlanapi.dll
push 0
call dbg.ffLibraryLoad
add esp, 0x10
test eax, eax
je 0x483363
mov esi, eax
push str.WlanOpenHandle
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48336a
mov edi, eax
push str.WlanEnumInterfaces
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x483371
mov ebx, eax
push str.WlanQueryInterface
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x483378
mov ebp, eax
push str.WlanFreeMemory
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48337f
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], eax
push str.WlanCloseHandle
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x483386
mov ebp, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 2
call edi
mov edi, str.WlanOpenHandle___failed
test eax, eax
jne 0x483347
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x1c]
call ebx
mov edi, str.WlanEnumInterfaces___failed
test eax, eax
je 0x48339c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x483354
push eax
call dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48338b
push 0
push eax
call ebp
jmp 0x48338b
mov edi, str.dlopen_wlanapi.dll_failed
jmp 0x483392
mov edi, str.dlsym_WlanOpenHandle_failed
jmp 0x48338b
mov edi, str.dlsym_WlanEnumInterfaces_failed
jmp 0x48338b
mov edi, str.dlsym_WlanQueryInterface_failed
jmp 0x48338b
mov edi, str.dlsym_WlanFreeMemory_failed
jmp 0x48338b
mov edi, str.dlsym_WlanCloseHandle_failed
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x10]
cmp dword [edi], 0
je 0x483a10
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x48]
xor esi, esi
jmp 0x4833f3
mov edi, dword [ebp + 0x50]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [edi + ebx + 4], ecx
mov dword [edi + ebx], eax
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x50]
lea edx, [eax + 8]
mov dword [ebp + 0x4c], edx
mov byte [ecx + eax + 8], 0
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x48]
push eax
call dword [esp + 0x1c]
inc esi
mov edi, dword [esp + 0x10]
cmp esi, dword [edi]
jae 0x4839ff
mov eax, dword [ebx]
mov ebp, dword [ebx + 8]
cmp ebp, dword [ebx + 0xc]
jne 0x483424
lea ecx, [ebp*2]
test ebp, ebp
mov edx, 0x10
cmove ecx, edx
mov dword [ebx + 0xc], ecx
imul ecx, dword [ebx + 4]
push ecx
push eax
call sym._realloc
add esp, 8
mov dword [ebx], eax
mov ebp, dword [ebx + 8]
lea ecx, [ebp + 1]
mov dword [ebx + 8], ecx
imul ebp, dword [ebx + 4]
add ebp, eax
mov dword [esp], esi
imul eax, esi, 0x214
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
lea esi, [edi + eax]
add esi, 0x18
push esi
call sym._wcslen
add esp, 4
test eax, eax
je 0x48348d
mov edi, eax
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
inc eax
mov dword [ebp], eax
jne 0x4834a5
mov eax, dword [0x5052b0]
jmp 0x4834b1
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov eax, dword [0x5052b0]
mov dword [ebp + 8], eax
jmp 0x4834de
push eax
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [ebp + 8], eax
mov dword [ebp + 4], 0
push 0
push 0
push ebx
push eax
push edi
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 4], ebx
mov eax, dword [ebp + 8]
mov byte [eax + ebx], 0
mov ebx, dword [esp + 0x48]
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov eax, dword [0x5052b0]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x5c], 0x7ff80000
mov dword [ebp + 0x58], 0
movapd xmm0, xmmword [0x4fc0c0]
movupd xmmword [ebp + 0x60], xmm0
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov ecx, dword [edi + esi + 0x218]
call dbg.convertIfStateToString
mov eax, esi
cmp dword [edi + esi + 0x218], 1
mov esi, dword [esp]
jne 0x4833e6
add eax, edi
add eax, 8
mov dword [esp + 0x2c], 0x25c
mov dword [esp + 0x28], 3
mov dword [esp + 4], 0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x34]
push ecx
push 0
push 7
push eax
push dword [esp + 0x2c]
call dword [esp + 0x40]
test eax, eax
jne 0x4833e6
lea edx, [ebp + 0x18]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dbg.convertIfStateToString
mov ebx, dword [esp + 4]
mov esi, dword [ebx + 0x208]
test esi, esi
je 0x4836a7
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
test eax, eax
je 0x483603
mov ecx, edi
not ecx
add ecx, eax
cmp ecx, esi
jae 0x483646
cmp eax, 2
mov ecx, eax
mov edx, 0x20
cmovb ecx, edx
mov dword [esp + 8], edi
lea edx, [esi + edi]
inc edx
nop dword [eax + eax]
mov edi, ecx
add ecx, ecx
cmp edx, edi
ja 0x483620
test eax, eax
je 0x48364b
push edi
push dword [ebp + 0x2c]
call sym._realloc
add esp, 8
mov ecx, eax
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 8], eax
jmp 0x48367c
mov ecx, dword [ebp + 0x2c]
jmp 0x483683
push edi
call sym._malloc
add esp, 4
mov ecx, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x483676
inc eax
push eax
push dword [ebp + 0x2c]
push ecx
mov dword [esp + 0x18], ecx
call sym._memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
jmp 0x483679
mov byte [ecx], 0
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x24], edi
mov edi, dword [esp + 8]
add edi, ecx
add ebx, 0x20c
push esi
push ebx
push edi
call sym._memcpy
add esp, 0xc
add esi, dword [ebp + 0x28]
mov dword [ebp + 0x28], esi
mov eax, dword [ebp + 0x2c]
mov byte [eax + esi], 0
mov ebx, dword [esp + 4]
lea esi, [ebp + 0x30]
movzx eax, byte [ebx + 0x230]
push eax
push str._.2X_
push esi
call dbg.ffStrbufAppendF
add esp, 0xc
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0x231]
push eax
push str._.2X_
push esi
call dbg.ffStrbufAppendF
add esp, 0xc
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0x232]
push eax
push str._.2X_
push esi
call dbg.ffStrbufAppendF
add esp, 0xc
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0x233]
push eax
push str._.2X_
push esi
call dbg.ffStrbufAppendF
add esp, 0xc
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0x234]
push eax
push str._.2X_
push esi
call dbg.ffStrbufAppendF
add esp, 0xc
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0x235]
push eax
push str._.2X_
push esi
call dbg.ffStrbufAppendF
add esp, 0xc
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x4837dd
mov ebx, dword [ebp + 0x38]
cmp byte [eax + ebx - 1], 0x2d
jne 0x4837dd
inc eax
mov edi, eax
add eax, 0xfffffffe
mov dword [ebp + 0x34], eax
cmp edi, 2
je 0x4837bb
lea eax, [edi - 1]
cmp byte [ebx + edi - 3], 0x2d
je 0x48375c
cmp dword [esi], 0
jne 0x4837c0
lea ecx, [eax - 1]
mov dword [esp + 8], ecx
mov dword [ebp + 0x34], 0
mov ecx, 0x20
mov esi, ecx
add ecx, ecx
cmp eax, esi
ja 0x48378b
push esi
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x30], esi
mov esi, dword [esp + 8]
push esi
push ebx
push eax
mov ebx, eax
call sym._memcpy
add esp, 0xc
mov dword [ebp + 0x34], esi
jmp 0x4837c0
cmp dword [esi], 0
je 0x4837c7
mov byte [ebx + edi - 2], 0
jmp 0x4837dd
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
mov eax, dword [0x5052b0]
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x3c]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x238]
lea edx, [ecx - 1]
cmp edx, 0xa
ja case.default.0x4837f2
jmp dword [edx*4 + 0x4fc3c0]
push str.802.11__FHSS_
jmp 0x483813
push ecx
push str.Unknown___u_
push eax
call dbg.ffStrbufAppendF
jmp 0x483868
push str.802.11__DSSS_
push 0xd
jmp 0x483862
push str.802.11__IR_
push 0xb
jmp 0x483862
push str.802.11a
push 7
jmp 0x483862
push str.802.11b
push 7
jmp 0x483862
push str.802.11g
push 7
jmp 0x483862
push str.802.11n__Wi_Fi_4_
push 0x11
jmp 0x483862
push str.802.11ac__Wi_Fi_5_
jmp 0x483860
push str.802.11ad__WiGig_
push 0x10
jmp 0x483862
push str.802.11ax__Wi_Fi_6_
jmp 0x483860
push str.802.11be__Wi_Fi_7_
push 0x12
push eax
call sym._ffStrbufAppendNS
add esp, 0xc
mov ebx, dword [esp + 0x48]
mov esi, dword [esp]
lea edi, [ebp + 0x48]
mov eax, dword [esp + 4]
movss xmm0, dword [eax + 0x240]
movsd xmm1, qword [0x4fc0d0]
orpd xmm0, xmm1
subsd xmm0, xmm1
movsd qword [ebp + 0x58], xmm0
movss xmm0, dword [eax + 0x244]
orpd xmm0, xmm1
subsd xmm0, xmm1
movsd qword [ebp + 0x60], xmm0
movss xmm0, dword [eax + 0x248]
orpd xmm0, xmm1
subsd xmm0, xmm1
movsd qword [ebp + 0x68], xmm0
cmp dword [eax + 0x24c], 0
je 0x4838e7
mov eax, dword [eax + 0x254]
lea ecx, [eax - 1]
cmp ecx, 0xa
ja case.default.0x4838d7
jmp dword [ecx*4 + 0x4fc3ec]
push str.802.11_Open
push 0xb
jmp 0x483953
mov edx, str.Insecure
jmp 0x483972
push eax
push str.Unknown___u_
push edi
call dbg.ffStrbufAppendF
jmp 0x483959
push str.802.11_Shared
push 0xd
jmp 0x483953
push 0x4fc2fc
jmp 0x483948
push str.WPA_PSK
jmp 0x483951
push str.WPA_None
push 8
jmp 0x483953
push str.WPA2
push 4
jmp 0x483953
push str.WPA2_PSK
push 8
jmp 0x483953
push str.WPA3
push 4
jmp 0x483953
push str.WPA3_SAE
push 8
jmp 0x483953
push 0x4fc32d
push 3
jmp 0x483953
push str.OWE_ENT
push 7
push edi
call sym._ffStrbufAppendNS
add esp, 0xc
mov eax, dword [esp + 4]
mov edx, str._802.11X
cmp dword [eax + 0x250], 0
je 0x4833e1
mov eax, dword [ebp + 0x48]
mov ebx, dword [ebp + 0x4c]
test eax, eax
je 0x48398b
mov ecx, ebx
not ecx
add ecx, eax
cmp ecx, 8
jae 0x4833b9
mov dword [esp + 0xc], edx
cmp eax, 2
mov ecx, eax
mov edx, 0x20
cmovb ecx, edx
lea edx, [ebx + 9]
nop
mov esi, ecx
add ecx, ecx
cmp edx, esi
ja 0x4839a0
mov dword [esp + 8], edi
test eax, eax
je 0x4839c6
push esi
push dword [ebp + 0x50]
call sym._realloc
add esp, 8
mov edi, eax
mov dword [ebp + 0x50], eax
mov ebx, dword [ebp + 0x4c]
jmp 0x4839ed
push esi
call sym._malloc
add esp, 4
mov edi, eax
test ebx, ebx
je 0x4839e7
lea eax, [ebx + 1]
push eax
push dword [ebp + 0x50]
push edi
call sym._memcpy
add esp, 0xc
jmp 0x4839ea
mov byte [edi], 0
mov dword [ebp + 0x50], edi
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [eax], esi
mov esi, dword [esp]
jmp 0x4833bc
mov eax, edi
xor edi, edi
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
jmp 0x48334f
mov eax, edi
xor edi, edi
jmp 0x48334f