Function at 0x427e30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x470b91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x41
mov ebp, dword [esi + 0xb9c]
xor eax, eax
lea edi, [esp + 0x1c]
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push 0x104
push eax
push str.57600_115200_230400_460800_921600
push str.BaudRates
push 0x4ac2dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [0x4ad780]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x230], 0
call fcn.0045866d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x427f2c
push 0xffffffffffffffff
lea ecx, [esi + 0x2a0]
push 0
call fcn.00453198
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.004588a7
mov ebx, eax
push 0x2c
push ebx
call fcn.0043f8c6
mov edi, eax
add esp, 8
test edi, edi
je 0x427f0e
lea ecx, [esi + 0x2a0]
mov word [edi], 0
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.00453333
lea ebx, [edi + 2]
push 0x2c
push ebx
call fcn.0043f8c6
mov edi, eax
add esp, 8
test edi, edi
jne 0x427ee5
mov eax, dword [esi + 0x2a8]
lea ecx, [esi + 0x2a0]
push ebx
push eax
call fcn.00453333
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004588f7
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebp
push 0x1c200
push str.Baud_rate
push str.Serial_port
call edi
push ebp
push 0
push str.Port
push str.Serial_port
mov dword [esi + 0x244], eax
call edi
push ebp
push 0
push str.CanSelect
push 0x4ac2dc
mov dword [esi + 0x248], eax
call edi
push ebp
push 0
push str.CanEdit
push 0x4ac2dc
mov dword [esi + 0xbbc], eax
call edi
mov ebx, 1
push ebp
push ebx
push str.ShowChinese
push 0x4ac2dc
mov dword [esi + 0xbc0], eax
call edi
push ebp
push 0x195
push str.LangNVItemID
push 0x4ac360
mov dword [esi + 0xbc8], eax
call edi
push ebp
push 0
push str.enable
push str.ChipDspMap
mov word [esi + 0x24c], ax
call edi
push ebp
push ebx
push str.AutoGenerateSN
push 0x4a90e8
mov dword [esi + 0xb7c], eax
call edi
neg eax
sbb eax, eax
push ebp
inc eax
mov ecx, esi
mov dword [esi + 0xb80], eax
mov dword [esi + 0x240], eax
call fcn.00420780
push eax
lea ecx, [esp + 0x18]
call fcn.0045854a
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
mov byte [esp + 0x230], bl
call fcn.004207d0
test eax, eax
jne 0x42808a
mov eax, dword [0x4ad780]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push str.Load_XML_configure_file___s__failed__n
push edx
mov byte [esp + 0x238], 2
call fcn.00451685
mov ecx, dword [esp + 0x240]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call fcn.0045888f
lea ecx, [esp + 0x18]
mov byte [esp + 0x22c], bl
call fcn.004584d6
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 0
call fcn.004584d6
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004584d6
xor eax, eax
jmp 0x4280b1
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 0
call fcn.004584d6
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004584d6
mov eax, ebx
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret 4