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

Disassembly:
push 0xffffffffffffffff
push 0x522ffd8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x70]
movzx esi, word [esp + 0x7c]
lea eax, [esp + 0x17]
movzx edi, bp
push eax
xor ebx, ebx
push edi
mov byte [esp + 0x1f], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x7c]
push eax
push 0x52a0178
push esi
mov esi, dword [esp + 0x7c]
push ecx
push esi
call fcn.05019e10
mov edx, 0x38
add esp, 0x18
cmp dx, bp
jne 0x517ddac
mov al, byte [esp + 0x17]
cmp al, 0x12
jae 0x517de8a
movzx ebp, al
mov eax, dword [ebp*4 + 0x527ed40]
mov dword [esp + 0x18], eax
jmp 0x517ddfa
mov ecx, 0x3a
cmp cx, bp
jne 0x517ddd2
mov al, byte [esp + 0x17]
cmp al, 0xe
jae 0x517de8a
movzx ebp, al
mov edx, dword [ebp*4 + 0x527ed88]
mov dword [esp + 0x18], edx
jmp 0x517ddfa
mov eax, 0x3c
cmp ax, bp
jne 0x517de8a
mov al, byte [esp + 0x17]
cmp al, 6
jae 0x517de8a
movzx ebp, al
mov ecx, dword [ebp*4 + 0x527edc0]
mov dword [esp + 0x18], ecx
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xa800
mov edx, dword [eax + 0x28]
mov dword [esp + 0x28], eax
add eax, 0x28
mov dword [esp + 0x1c], eax
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x64], ebx
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ebx, dword [esp + 0x74]
mov edx, dword [eax + 0xa800]
mov edx, dword [edx]
push ebx
lea ecx, [eax + 0xa800]
push ebp
push edi
lea eax, [esp + 0x50]
push eax
call edx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
test ecx, ecx
jne 0x517dea3
mov dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x38], 0
jne 0x517df5b
push str._ERROR:
push 0xff
push 0x9a
push str..FunctionConnectivityMETA_wifi.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov dword [esp + 0x70], eax
mov dword [esp + 0x64], 1
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 8]
push 0
push ebp
push edx
push edi
push edi
mov dword [esp + 0x90], ecx
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x80]
push eax
movsx eax, bx
push eax
push esi
push str.__d__WiFi_Cnf_token_d_:__s__d____s__d_:_cnf_is_NULL_._cnf_0x_08X_.
push ecx
push edx
call fcn.051ae2d0
add esp, 0x28
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov eax, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x80], 0
je 0x517dfae
mov ax, word [esp + 0x84]
xor ecx, ecx
cmp cx, ax
jae 0x517dfae
movzx edx, ax
push esi
mov dword [esp + 0x20], edx
call fcn.051a87a0
add esp, 4
cmp eax, dword [esp + 0x1c]
jge 0x517dfae
push esi
call fcn.051a87a0
add eax, dword [esp + 0x84]
push esi
mov dword [esp + 0x2c], eax
call fcn.051a87a0
mov ecx, dword [esp + 0x24]
add esp, 8
sub ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
movzx eax, word [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
mov eax, dword [esp + 0x88]
push eax
push ebx
push ebp
push ecx
push esi
call dword [esp + 0x58]
push 0x52c722a
push 1
push 0xa8
push str..FunctionConnectivityMETA_wifi.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov dword [esp + 0x70], eax
mov dword [esp + 0x64], 2
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x18]
push ebp
push eax
push edi
push edi
mov dword [esp + 0x8c], edx
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x80]
movsx ecx, bx
push ecx
push esi
push str.__d__WiFi_Cnf_token_d_:__s__d____s__d_:_callback_OK.
push edx
push eax
call fcn.051ae2d0
add esp, 0x24
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov eax, 6
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret