Function at 0x46c330
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cec04
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x52bdd0]
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 edi, ecx
mov dword [ebp - 0x50], edi
call fcn.004744c0
call fcn.00473b50
mov eax, dword [edi + 0x10a2bc]
mov ecx, edi
inc eax
push eax
call fcn.0046b9b0
cmp eax, 0xffffffff
jne 0x46c38a
mov dword [edi + 0x10a1ac], 0x3a98
jmp 0x46c3a3
shl eax, 6
mov ecx, 0x3a98
mov eax, dword [eax + 0x52dc10]
test eax, eax
cmovle eax, ecx
mov dword [edi + 0x10a1ac], eax
mov dword [edi + 0x10a4ac], 0x3e8
mov dword [edi + 0x10a510], 0
push 0x946
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x46c61b
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_316]
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push str.C:ymwM8Ydata_nm64mdata
lea ecx, [ebp - 0x34]
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_1524]
push 0x4d7900
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc120.dll_Ordinal_1691]
push str.SpdlParam.txt
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc120.dll_Ordinal_1691]
xor ecx, ecx
lea ebx, [edi + 0x10a4b0]
mov edi, dword [sym.imp.mfc120.dll_Ordinal_4764]
mov dword [ebp - 0x44], ecx
cmp ecx, 8
jge 0x46c55c
xor esi, esi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], esi
jmp 0x46c460
lea eax, [ecx + 1]
push eax
push str.MAXTOR_SP
lea eax, [ebp - 0x3c]
push str._s_d
push eax
call edi
push esi
lea eax, [ebp - 0x40]
push 0x4e14f0
push eax
call edi
add esp, 0x1c
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x38]
xor esi, esi
xor edi, edi
call dword [sym.imp.mfc120.dll_Ordinal_5764]
test eax, eax
jle 0x46c4ff
lea ebx, [esi + 1]
push edi
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1645]
movsx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_isdigit]
add esp, 4
lea ecx, [ebp - 0x38]
test eax, eax
cmove esi, ebx
inc edi
call dword [sym.imp.mfc120.dll_Ordinal_5764]
cmp edi, eax
jl 0x46c4d2
mov ebx, dword [ebp - 0x48]
cmp byte [ebp - 0x20], 0
je 0x46c52a
test esi, esi
jne 0x46c52a
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVCR120.dll_atol]
add esp, 4
test eax, eax
js 0x46c521
cmp eax, 0x270f
jle 0x46c526
mov eax, 0x3e8
mov dword [ebx], eax
jmp 0x46c530
mov dword [ebx], 0x3e8
mov esi, dword [ebp - 0x4c]
add ebx, 4
mov ecx, dword [ebp - 0x44]
inc esi
mov edi, dword [sym.imp.mfc120.dll_Ordinal_4764]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], ebx
cmp esi, 3
jl 0x46c460
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, 8
jl 0x46c453
mov edi, dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
xor esi, esi
push 0x8d4
push dword [0x52ec00]
call edi
add esp, 8
test eax, eax
je 0x46c5a9
push 0x8e1
push dword [0x52ec00]
call edi
add esp, 8
test eax, eax
je 0x46c5a7
push 0x8ed
push dword [0x52ec00]
call edi
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
neg esi
inc esi
jmp 0x46c5a9
xor esi, esi
mov edi, dword [ebp - 0x50]
mov ecx, edi
mov eax, dword [edi + 0x10a2bc]
inc eax
push eax
call fcn.0046b9b0
lea ecx, [esi + eax*2]
add ecx, eax
mov eax, dword [edi + 0x10a4ac]
cmp eax, dword [edi + ecx*4 + 0x10a4b0]
je 0x46c5f0
mov eax, dword [edi + 0x10a2bc]
mov ecx, edi
inc eax
push eax
call fcn.0046b9b0
lea ecx, [esi + eax*2]
add ecx, eax
mov eax, dword [edi + ecx*4 + 0x10a4b0]
mov dword [edi + 0x10a4ac], eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc120.dll_Ordinal_1041]
movsd xmm0, qword [0x4e00c8]
mov ecx, edi
movsd qword [edi + 0x10a19c], xmm0
mov dword [edi + 0x10a200], 0
mov dword [edi + 0x10a4a8], 0
mov dword [edi + 0x10a210], 0
mov dword [edi + 0x10a214], 0
mov dword [edi + 0x10a218], 0
mov eax, dword [0x52ec00]
test byte [eax + 0x401a88], 0x80
je 0x46c674
call fcn.0046b0d0
jmp 0x46c697
call fcn.0046b520
test eax, eax
jne 0x46c697
push eax
push eax
push eax
push eax
push eax
push eax
push 0x197
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUalmset]
add esp, 0x20
push 0x50
lea esi, [edi + 0x10a1b0]
push 0
push esi
call sub.MSVCR120.dll_memset
mov eax, dword [edi + 0x10a228]
add esp, 0xc
or dword [esi], 6
mov ecx, edi
mov dword [edi + 0x10a1b8], eax
call fcn.0046c9a0
mov ecx, edi
call fcn.0046e360
mov ecx, edi
call fcn.0046dbb0
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.004c6016
mov esp, ebp
pop ebp
ret