Function at 0x48bf11
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x528778]
mov dword [ebp - 8], eax
push 0
push 0x1f4
push 0x300
mov ecx, dword [ebp - 0x28]
call fcn.004048e0
cmp dword [ebp - 8], 0
je 0x48bf4d
push 0
mov ecx, dword [ebp - 8]
call fcn.00418a0e
mov dword [ebp - 0xc], 1
jmp 0x48bf5f
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x11
jge 0x48c2c1
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov dword [edx + 0x529224], 0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x529251], ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x529220], eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
mov dword [ecx + 0x529228], 0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov dword [edx + 0x529234], 0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
mov dword [eax + 0x529238], 0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
mov dword [ecx + 0x529230], 0
push 0x15
push 0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
add edx, 0x52923c
push edx
call fcn.004a9cd0
add esp, 0xc
push 0x92
push 0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x92
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + eax + 0x16c4]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax*4 + 0x55b30], 0
je 0x48c033
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4 + 0x55b30]
mov byte [ecx], 0xfe
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x529990]
cmp eax, 1
jne 0x48c2bc
cmp dword [0x5291ac], 0
jne 0x48c059
cmp dword [0x5291b0], 0
je 0x48c089
push 0x15
mov ecx, dword [ebp - 0xc]
sub ecx, 1
imul ecx, ecx, 0x15
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx + 0x55b74]
push eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
add ecx, 0x52923c
push ecx
call fcn.004aa370
add esp, 0xc
jmp 0x48c268
push 0x15
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.004a9cd0
add esp, 0xc
cmp dword [0x528f74], 0
je 0x48c0c3
mov eax, dword [ebp - 0x28]
add eax, 0x8ec
push eax
push 0x15
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x524084
push 0x52408c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x24]
test edx, edx
jne 0x48c0ec
mov eax, dword [ebp - 0x28]
add eax, 0x8ec
push eax
push 0x15
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x524094
push 0x52409c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x15
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
add eax, 0x52923c
push eax
call fcn.004aa370
add esp, 0xc
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x11d4], 0
jne 0x48c1f0
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x11d8], 0
jne 0x48c184
push 0x15
mov eax, dword [ebp - 0x28]
add eax, 0x11f1
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00496a47
add esp, 0xc
test eax, eax
je 0x48c184
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov dword [edx + 0x529224], 2
push 0
push 0x32
push 0xff
push 0x5240a8
push 1
push str.Exceed_End_serial_number_Fail
push 0xa
push 1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00468d7b
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x1220], 1
jmp 0x48bf56
mov edx, dword [ebp - 0x28]
add edx, 0x1206
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [0x528ef4]
push ecx
call fcn.004930d2
add esp, 0xc
mov edx, dword [ebp - 0x28]
add edx, 0x8ec
push edx
lea eax, [ebp - 0x24]
push eax
push 0x5240cc
push str.IDENTIFY
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x528f74], 0
je 0x48c1e6
mov ecx, dword [ebp - 0x28]
add ecx, 0x8ec
push ecx
lea edx, [ebp - 0x24]
push edx
push str.BEGINSN
push str.TEST
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 8]
call fcn.00424f04
jmp 0x48c252
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x11d4], 3
jne 0x48c252
push 0x15
push 0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
add ecx, 0x52923c
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1224]
push ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
add edx, 0x52923c
push edx
call fcn.00493224
add esp, 0xc
push 0x15
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
add eax, 0x52923c
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004aa370
add esp, 0xc
push 0
push 3
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0xd4
call fcn.00491870
cmp dword [ebp - 4], 0
jne 0x48c285
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
mov dword [eax + 0x529238], 1
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
add ecx, 0x529220
push ecx
push 0x4834b6
call fcn.004ceb55
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + edx*4 + 0xfb8], eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x48bf56
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x1220], 0
je 0x48c2e1
push 0
push str.Please_check_the_serial_number_setting
push str.Caution__Some_ports_serial_number_already_exceed_end_serial_number_
mov ecx, dword [ebp - 0x28]
call fcn.004cbd0e
mov esp, ebp
pop ebp
ret