Function at 0x45f140
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d486
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1068
call fcn.004dec30
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1074], esi
mov dword [ebp - 0x106c], esi
mov dword [ebp - 0x106c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1054], 0xf
mov byte [ebp - 0x1068], 0
lea ecx, [ebp - 0x1050]
mov byte [ebp - 4], 1
call fcn.004569c0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1050]
cmp dword [ebp - 0x103c], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmovae eax, dword [ebp - 0x1050]
push eax
push 0xffffffffffffffff
push str.CreateIndex
push str.ActiveGuid
call edi
mov ecx, eax
mov dword [ebp - 0x1070], ecx
test ecx, ecx
js 0x45f336
xor eax, eax
mov dword [ebp - 0x106c], eax
nop dword [eax]
cmp eax, 5
jge 0x45f40a
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
lea eax, [ebp - 0x24]
push ecx
push str.Build_d
push eax
call fcn.00457150
add esp, 0xc
lea eax, [ebp - 0x1050]
cmp dword [ebp - 0x103c], 0x10
cmovae eax, dword [ebp - 0x1050]
push eax
push 0
push str.AdapterCount
lea eax, [ebp - 0x24]
push eax
call edi
mov edi, eax
xor esi, esi
test edi, edi
jle 0x45f2de
push esi
lea eax, [ebp - 0x34]
push str.Adapter_u
push eax
call fcn.00457150
add esp, 0xc
lea eax, [ebp - 0x1050]
cmp dword [ebp - 0x103c], 0x10
cmovae eax, dword [ebp - 0x1050]
push eax
push 0x1000
lea eax, [ebp - 0x1038]
push eax
push 0x535d00
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push eax
lea eax, [ebp - 0x1038]
push eax
call fcn.00402910
add esp, 8
test eax, eax
jne 0x45f30b
inc esi
cmp esi, edi
jl 0x45f274
mov ecx, dword [ebp - 0x1070]
mov eax, dword [ebp - 0x106c]
dec ecx
inc eax
mov dword [ebp - 0x1070], ecx
mov dword [ebp - 0x106c], eax
test ecx, ecx
js 0x45f40a
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x45f220
lea ecx, [ebp - 0x1038]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45f314
sub ecx, edx
lea eax, [ebp - 0x1038]
push ecx
push eax
lea ecx, [ebp - 0x1068]
call fcn.0044c0b0
mov esi, dword [ebp - 0x1074]
movups xmm0, xmmword [ebp - 0x1068]
mov edx, dword [ebp - 0x103c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1058]
movq qword [esi + 0x10], xmm0
cmp edx, 0x10
jb 0x45f39b
mov ecx, dword [ebp - 0x1050]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f391
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f4be
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x103c], 0xf
mov byte [ebp - 0x1050], 0
cmp edx, 0x10
jb 0x45f3ea
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f3e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f4be
push edx
push ecx
call fcn.004de45a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x1074]
movups xmm0, xmmword [ebp - 0x1068]
mov edx, dword [ebp - 0x103c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1058]
movq qword [esi + 0x10], xmm0
cmp edx, 0x10
jb 0x45f471
mov ecx, dword [ebp - 0x1050]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f467
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f4be
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x103c], 0xf
mov byte [ebp - 0x1050], 0
cmp edx, 0x10
jb 0x45f3ea
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f3e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45f3e0
call fcn.004e364a
int3