Function at 0x10005700
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029b2c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x1003b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x88], 8
lea edx, [ebx + 0x74]
jb 0x1000573e
mov edx, dword [edx]
cmp word [edx], 0
jne 0x10005748
xor ecx, ecx
jmp 0x1000575f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005750
sub ecx, esi
sar ecx, 1
push ecx
lea edi, [ebx + 0xd4]
push edx
mov ecx, edi
call fcn.10002ba0
push 0x10
push str.XiangCaoWifi.ini
mov ecx, edi
call fcn.10005e80
push str.xcwifigf
push 0x1002b594
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.10003530
lea esi, [ebx + 0xec]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x100057bc
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10002a80
cmp dword [esi + 0x14], 8
jb 0x100057c6
mov eax, dword [esi]
jmp 0x100057c8
mov eax, esi
push 8
push str.xcwifigf
push dword [esi + 0x10]
push eax
call fcn.100028a0
add esp, 0x10
test eax, eax
jne 0x10005870
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10015870
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x10005800
mov edi, dword [edi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.xcwifigf
push 0x1002b594
push str.AppInfo
call edi
cmp word [ebp - 0x218], 0
jne 0x10005841
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, esi
call fcn.10002ba0
jmp 0x10005876
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005850
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10002ba0
jmp 0x10005876
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [esi + 0x14], 8
jb 0x10005880
mov eax, dword [esi]
jmp 0x10005882
mov eax, esi
push 8
push str.xcwifigf
push dword [esi + 0x10]
push eax
call fcn.100028a0
add esp, 0x10
test eax, eax
jne 0x10005980
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10015870
add esp, 0xc
mov dword [ebp - 0x21c], 7
xor ecx, ecx
mov dword [ebp - 0x220], 0
lea eax, [ebx + 0x5c]
mov word [ebp - 0x230], cx
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.10002a80
push 0x10
push str.XiangCaoWifi.ini
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.10005e80
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.xcwifigf
push 0x1002b594
push str.AppInfo
call edi
cmp word [ebp - 0x218], 0
jne 0x10005937
xor ecx, ecx
jmp 0x1000594f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005940
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10002ba0
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x10005980
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10002ca0
cmp dword [esi + 0x14], 8
jb 0x1000598a
mov eax, dword [esi]
jmp 0x1000598c
mov eax, esi
push 8
push str.xcwifigf
push dword [esi + 0x10]
push eax
call fcn.100028a0
add esp, 0x10
test eax, eax
jne 0x10005a1e
push str.xcwifigf
push 0x1002b594
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.10003750
mov edi, eax
cmp esi, edi
je 0x10005a00
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x100059d9
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10002ca0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x100059f1
mov eax, dword [esi]
jmp 0x100059f3
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.100026c0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x10005a1e
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10002ca0
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x10005a3c
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.10002ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012ad9
mov esp, ebp
pop ebp
ret