Function at 0x45f010
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 0x509e66
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1068
call fcn.004db7a0
mov eax, dword [0x54b144]
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.00456880
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 0x45f206
xor eax, eax
mov dword [ebp - 0x106c], eax
nop dword [eax]
cmp eax, 5
jge 0x45f2da
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.00457010
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 0x45f1ae
push esi
lea eax, [ebp - 0x34]
push str.Adapter_u
push eax
call fcn.00457010
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 0x531c00
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.00402900
add esp, 8
test eax, eax
jne 0x45f1db
inc esi
cmp esi, edi
jl 0x45f144
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 0x45f2da
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x45f0f0
lea ecx, [ebp - 0x1038]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45f1e4
sub ecx, edx
lea eax, [ebp - 0x1038]
push ecx
push eax
lea ecx, [ebp - 0x1068]
call fcn.0044c030
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 0x45f26b
mov ecx, dword [ebp - 0x1050]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f261
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f38e
push edx
push ecx
call fcn.004dafca
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 0x45f2ba
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f2b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f38e
push edx
push ecx
call fcn.004dafca
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.004dafe6
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 0x45f341
mov ecx, dword [ebp - 0x1050]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f337
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f38e
push edx
push ecx
call fcn.004dafca
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 0x45f2ba
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f2b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45f2b0
call fcn.004e002c
int3