Function at 0x4727b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bb8c
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 0
call fcn.004b82c0
lea eax, [ebp - 0x30]
push eax
call fcn.004b8540
add esp, 4
push str.configpressuretest.ini
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
lea ecx, [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_423
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4188
test eax, eax
jne 0x472856
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_979
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x34]
jmp 0x4729d2
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.PSRemoteType
push 0x528bd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.enable
push 0x528be0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 8]
mov byte [ecx], al
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1388
push str.waittime_between_on_off
push 0x528c04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1f4
push str.waittime_between_command
push 0x528c28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.using_loop_test_mode
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4729ac
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push str.port
push 0x528c58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 8
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
push str.9600
push str.baudrate
push 0x528c70
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 4
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
push 0x528c74
push str.databits
push 0x528c84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 4
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
push 0x528c88
push str.stopbits
push 0x528c98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_979
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4