Function at 0x10005700
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b34c
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x1002b064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.10008cc0
add esp, 0xc
lea eax, [ebp - 0x128]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.explorer.exe
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10005da6
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1002c1a4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1002bea8]
cmp eax, dword [ecx + 4]
jg 0x10005dc1
push 0
call fcn.1000d254
add esp, 4
mov ecx, 0x1002b9e8
push eax
call fcn.10003880
mov esi, eax
mov dword [ebp - 0x14], 0
push esi
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push 0x1001c790
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.10001700
add esp, 0xc
lea eax, [ebp - 0x390]
mov ecx, 0x1002b9e8
push eax
call fcn.10003dd0
lea eax, [ebp - 0x3d8]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x1002b9e8
call fcn.10003df0
cmp dword [ebp - 0x380], 0
mov byte [ebp - 4], 2
je 0x10005d90
cmp dword [ebp - 0x37c], 8
lea eax, [ebp - 0x390]
cmovae eax, dword [ebp - 0x390]
push eax
push 0xffffffffffffffff
push str.22103
push str.OIWiFiSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
je 0x10005d90
cmp dword [ebp - 0x37c], 8
lea eax, [ebp - 0x390]
cmovae eax, dword [ebp - 0x390]
push eax
lea eax, [ebp - 0x24]
push eax
push str.22103
push str.OIWiFiSet
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x3c0]
mov ecx, 0x1002b9e8
push eax
call fcn.10003860
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x3f8], 0
push 0x1001c7a4
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 4
call fcn.10001330
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x400]
call fcn.10002400
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 4
call fcn.10001380
push 0x1001c7ac
lea ecx, [ebp - 0x378]
call fcn.10001330
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x400]
call fcn.10002400
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 4
call fcn.10001380
push 0x1001c7b0
lea ecx, [ebp - 0x378]
call fcn.10001330
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.10002490
add esp, 0xc
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 9
call fcn.10001380
cmp dword [ebp - 0x3ac], 8
lea eax, [ebp - 0x3c0]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x3c0]
push eax
call edi
test eax, eax
je 0x10005a1a
cmp dword [ebp - 0x34c], 8
lea ecx, [ebp - 0x360]
lea eax, [ebp - 0x3c0]
cmovae ecx, dword [ebp - 0x360]
cmp dword [ebp - 0x3ac], 8
push ecx
cmovae eax, dword [ebp - 0x3c0]
push eax
push 0x1001c7b8
call fcn.100023f0
add esp, 0xc
mov dword [ebp - 0x3f4], 0xbb8
cmp dword [ebp - 0x34c], 8
lea eax, [ebp - 0x360]
lea ecx, [ebp - 0x3a8]
cmovae eax, dword [ebp - 0x360]
push eax
call fcn.10001330
cmp dword [ebp - 0x3ac], 8
lea eax, [ebp - 0x3c0]
lea ecx, [ebp - 0x3f0]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x3c0]
push eax
call fcn.10001330
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x3a8]
mov ecx, 0x1002b9e8
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.10003270
lea ecx, [ebp - 0x3f0]
call fcn.10001380
lea ecx, [ebp - 0x3a8]
jmp 0x10005d6a
push 0x208
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.10008cc0
add esp, 0xc
lea eax, [ebp - 0x390]
cmp dword [ebp - 0x37c], 8
cmovae eax, dword [ebp - 0x390]
push eax
push 0x104
lea eax, [ebp - 0x330]
push eax
push 0x1001c2f0
push str.c8984
push str.OIWiFiSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x348]
call fcn.10001330
cmp dword [ebp - 0x338], 0
mov byte [ebp - 4], 0xc
je 0x10005aa4
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
call edi
test eax, eax
jne 0x10005b44
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0
cmp dword [ebp - 0x3c4], 8
lea ecx, [ebp - 0x36c]
push 0
push ecx
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 0xd
cmovae eax, dword [ebp - 0x3d8]
push str..exe
push eax
call fcn.10001bc0
mov ecx, dword [ebp - 0x368]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x36c]
add esp, 0x10
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10005b35
lea eax, [ebp - 0x348]
cmp eax, esi
je 0x10005b35
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10005b26
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x348]
push eax
call fcn.100015e0
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0xc
call fcn.10001b40
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
call edi
test eax, eax
je 0x10005d42
cmp dword [ebp - 0x37c], 8
lea eax, [ebp - 0x390]
cmovae eax, dword [ebp - 0x390]
push eax
push 3
push str.d98a5
push str.OIWiFiSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov eax, 3
test edi, edi
cmove edi, eax
lea eax, [ebp - 0x400]
push eax
push dword [ebp - 0x3fc]
push dword [ebp - 0x400]
call fcn.100017c0
mov eax, dword [ebp - 0x400]
lea ecx, [ebp - 0x3a8]
add esp, 0xc
mov dword [ebp - 0x3fc], eax
push 0x1001c7a4
call fcn.10001330
lea eax, [ebp - 0x3a8]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x400]
call fcn.10002400
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0xc
call fcn.10001380
push 0x1001c7ac
lea ecx, [ebp - 0x3a8]
call fcn.10001330
lea eax, [ebp - 0x3a8]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x400]
call fcn.10002400
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0xc
call fcn.10001380
push 0x1001c80c
lea ecx, [ebp - 0x3a8]
call fcn.10001330
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.10002490
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x360]
cmp eax, esi
je 0x10005c95
mov ecx, eax
call fcn.10001380
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x360], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x350], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x3f0]
call fcn.10001380
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0xc
call fcn.10001380
cmp dword [ebp - 0x34c], 8
lea ecx, [ebp - 0x360]
lea eax, [ebp - 0x348]
cmovae ecx, dword [ebp - 0x360]
cmp dword [ebp - 0x334], 8
push ecx
cmovae eax, dword [ebp - 0x348]
push eax
push 0x1001c7b8
call fcn.100023f0
imul eax, edi, 0x3e8
lea ecx, [ebp - 0x3a8]
add esp, 0xc
cmp dword [ebp - 0x34c], 8
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x360]
cmovae eax, dword [ebp - 0x360]
push eax
call fcn.10001330
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x3a8]
mov ecx, 0x1002b9e8
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.10003270
lea ecx, [ebp - 0x3a8]
call fcn.10001380
jmp 0x10005d64
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
push str.NoFind__s_
call fcn.100023f0
add esp, 8
lea ecx, [ebp - 0x348]
call fcn.10001380
lea ecx, [ebp - 0x360]
call fcn.10001380
lea ecx, [ebp - 0x400]
call fcn.10001b40
lea ecx, [ebp - 0x3c0]
call fcn.10001380
lea ecx, [ebp - 0x3d8]
call fcn.10001380
lea ecx, [ebp - 0x390]
call fcn.10001380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100067b0
mov esp, ebp
pop ebp
ret
push 0x1002bea8
call fcn.100069a6
add esp, 4
cmp dword [0x1002bea8], 0xffffffff
jne 0x10005791
mov ecx, 0x1002b9e8
mov dword [ebp - 4], 0
call fcn.10002f20
push 0x1001b420
call fcn.10006dd4
push 0x1002bea8
mov dword [ebp - 4], 0xffffffff
call fcn.1000695c
add esp, 8
jmp 0x10005791