Function at 0x4ad773
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [ebp + 8]
push eax
push 0
push str.SM324ISPWEARLEVELING
push 0x5c3ad4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [0x673efc], al
mov ecx, dword [ebp + 8]
push ecx
push 0
push str.SM324DATAWEARLEVELING
push 0x5c3af4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [0x673efd], al
mov edx, dword [ebp + 8]
push edx
push 0
push str.SM325ISPWEARLEVELING
push 0x5c3b14
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [0x673efe], al
mov eax, dword [ebp + 8]
push eax
push 0
push str.SM325DATAWEARLEVELING
push 0x5c3b34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [0x673eff], al
mov ecx, dword [ebp + 8]
push ecx
push 1
push str.CLUSTERTYPE
push 0x5c3b48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5bd8e4], eax
push 0x5eddc0
push 0
push 0x5c3b50
push 0x5c3b60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x67aa68], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3b68
push 0x5c3b74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x673c44], eax
mov eax, dword [ebp + 8]
push eax
push 0
push str.USBMODE
push 0x5c3b84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x673b94], eax
push 0x6785ac
push 0
push 0x5c3b8c
push 0x5c3ba0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x4ad88a
push 0x6785ac
push 0x5c3ba8
push 0x5c3bac
push 0x5c3bc0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x6785ac
push 0x14
push str.SPAREBLOCK
push 0x5c3bd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x673e90], eax
push 0x6785ac
push 0x400
push str.SINGLEBBOPTION
push 0x5c3bec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x673e8c], eax
mov ecx, dword [ebp + 8]
push ecx
push 9
push 0x5c3bf4
push 0x5c3c00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5e9ff4], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3c08
push 0x5c3c18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5e9ff0], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x5c3c20
push 0x5c3c34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ee018], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5c3c3c
push 0x5c3c4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ee004], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3c54
push 0x5c3c68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edff8], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x5c3c70
push 0x5c3c84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edff4], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5c3c8c
push 0x5c3c9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ee008], eax
mov edx, dword [ebp + 8]
push edx
push 3
push 0x5c3ca4
push 0x5c3cb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5e9fec], eax
mov eax, dword [ebp + 8]
push eax
push 0xa
push 0x5c3cbc
push 0x5c3ccc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5e9fe8], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5c3cd4
push 0x5c3ce8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edff8], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3cf0
push 0x5c3d04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edff4], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x5c3d0c
push 0x5c3d28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ee014], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5c3d30
push 0x5c3d3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ee010], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3d44
push 0x5c3d58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ee00c], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x5c3d60
push 0x5c3d70
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ea138], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5c3d78
push 0x5c3d88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ea144], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3d90
push 0x5c3da0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ea140], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x5c3da8
push 0x5c3dbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ea13c], eax
mov ecx, dword [ebp + 8]
push ecx
push 0x29
push 0x5ed500
push 0x67fbf8
push 0x5c3dc4
push 0x5c3dd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
mov edx, dword [ebp + 8]
push edx
push 0x29
push 0x5ed4d4
push 0x5c3ddc
push 0x5c3df4
push 0x5c3e04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 8]
push eax
push 0x104
push 0x5ed3d0
push 0x67fbfc
push 0x5c3e0c
push 0x5c3e20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp + 8]
push ecx
push 0x104
push 0x5ed2cc
push 0x67fc00
push str.PRELOADHiddenPATH
push 0x5c3e3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3e44
push 0x5c3e58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edfe8], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x5c3e60
push 0x5c3e74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edfe4], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5c3e7c
push 0x5c3e90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edfe0], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3e98
push 0x5c3eac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edfd8], eax
mov eax, dword [ebp + 8]
push eax
push 0x104
push 0x5ed1c8
push 0x67fc04
push 0x5c3eb4
push 0x5c3ec8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00529440
add esp, 4
push 0x5c3ed0
lea edx, [ebp - 0x104]
push edx
call fcn.0054bea0
add esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 0x5c3ee4
push 0x5c3ef4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edfd0], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5c3efc
push 0x5c3f08
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5e91d0], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x5c3f10
push 0x5c3f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edfcc], eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0x5c3f28
push 0x5c3f34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5e91c8], eax
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0x5c3f3c
push 0x5c3f54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edf5c], eax
cmp dword [0x5edf88], 0
jne 0x4add16
lea edx, [ebp - 0x104]
push edx
push 0
push 0x5c3f5c
push 0x5c3f68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5e91cc], eax
lea eax, [ebp - 0x104]
push eax
push 0xff
push 0x5ec0b8
push 0x67fc08
push 0x5c3f70
push 0x5c3f80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
cmp dword [0x5edfa0], 0
jne 0x4add16
lea ecx, [ebp - 0x104]
push ecx
push 0xff
push 0x5ebfb8
push 0x67fc0c
push 0x5c3f88
push 0x5c3f98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0
jmp 0x4add31
mov edx, dword [ebp - 0x24c]
add edx, 1
mov dword [ebp - 0x24c], edx
cmp dword [ebp - 0x24c], 8
jae 0x4adefe
mov eax, dword [ebp - 0x24c]
push eax
push 0x5c3fa0
lea ecx, [ebp - 0x144]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x104]
push edx
push 0xff
mov eax, dword [ebp - 0x24c]
imul eax, eax, 0x1fe
add eax, 0x5ec1b8
push eax
push 0x67fc10
lea ecx, [ebp - 0x144]
push ecx
push 0x5c3fb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x24c]
push edx
push 0x5c3fb8
lea eax, [ebp - 0x144]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 0xff
mov edx, dword [ebp - 0x24c]
imul edx, edx, 0x1fe
add edx, 0x5ec2b7
push edx
push 0x67fc14
lea eax, [ebp - 0x144]
push eax
push 0x5c3fc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x250], eax
push str.SUBLOT
mov ecx, dword [ebp - 0x24c]
imul ecx, ecx, 0x1fe
add ecx, 0x5ec1b8
push ecx
call fcn.0054cf00
add esp, 8
test eax, eax
jne 0x4ade2f
mov edx, dword [ebp - 0x24c]
imul edx, edx, 0x1fe
add edx, 0x5ec2b7
push edx
push 0x5eb8e0
call fcn.0054be90
add esp, 8
push str.OP_NUM
mov eax, dword [ebp - 0x24c]
imul eax, eax, 0x1fe
add eax, 0x5ec1b8
push eax
call fcn.0054cf00
add esp, 8
test eax, eax
jne 0x4ade72
mov ecx, dword [ebp - 0x24c]
imul ecx, ecx, 0x1fe
add ecx, 0x5ec2b7
push ecx
push 0x5eb860
call fcn.0054be90
add esp, 8
push str.SYSTEM_NUM
mov edx, dword [ebp - 0x24c]
imul edx, edx, 0x1fe
add edx, 0x5ec1b8
push edx
call fcn.0054cf00
add esp, 8
test eax, eax
jne 0x4adeb5
mov eax, dword [ebp - 0x24c]
imul eax, eax, 0x1fe
add eax, 0x5ec2b7
push eax
push 0x5eb7e0
call fcn.0054be90
add esp, 8
push str.HANDLER_NUM
mov ecx, dword [ebp - 0x24c]
imul ecx, ecx, 0x1fe
add ecx, 0x5ec1b8
push ecx
call fcn.0054cf00
add esp, 8
test eax, eax
jne 0x4adef9
mov edx, dword [ebp - 0x24c]
imul edx, edx, 0x1fe
add edx, 0x5ec2b7
push edx
push 0x5eb760
call fcn.0054be90
add esp, 8
jmp 0x4add22
lea eax, [ebp - 0x248]
push eax
call fcn.00529440
add esp, 4
push 0x5c3ff8
lea ecx, [ebp - 0x248]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x248]
push edx
push 0
push str.ENABLEFORCEID
push 0x5c401c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ee028], eax
lea eax, [ebp - 0x248]
push eax
push 0x104
push 0x5ed570
push 0x67fc18
push str.FORCEIDFILENAME
push 0x5c4034
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 8]
push ecx
push 0
push str.APP3IN1
push 0x5c4044
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5ea0a4], eax
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.004adfa5
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4adf9c
mov ecx, dword [ebp + 0xc]
call fcn.004af9d1
mov eax, 1
mov esp, ebp
pop ebp
ret