Function at 0x4bd210
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
push 1
push str.SS_Select
push 0x53baa0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push str.PS_Select
push 0x53bab8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push str.PS_Pathloss
push 0x53bad0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push str.PS_ChannelSet
push 0x53baf0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x98], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push str.PS_Select2
push str.DeviceList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push str.PS_Pathloss2
push 0x53bb28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push str.PS_ChannelSet2
push 0x53bb48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x9c], eax
mov edx, dword [ebp + 0xc]
push edx
push 0x14
push str.GPIBAddress
push 0x53bb64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push str.RemoteType
push 0x53bb80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa0], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push str.BoardIndex
push 0x53bb9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa4], eax
mov edx, dword [ebp + 0xc]
push edx
push 0x5e24
push str.IPPort
push 0x53bbb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xe8], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push str.EnableGPIBLog
push 0x53bbd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ecx, ecx
cmp ecx, eax
sbb edx, edx
neg edx
mov eax, dword [ebp + 8]
mov byte [eax + 0xec], dl
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push str.Instrument_slot
push 0x53bbf4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0xf0], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push str.AT_Cmd_from_which_side
push 0x53bc1c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xfc], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x53bc2c
push 0x53bc3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf4], eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push str.Primary_RF_Port
push 0x53bc5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10c], eax
mov edx, dword [ebp + 0xc]
push edx
push 2
push 0x53bc6c
push 0x53bc80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x110], eax
mov edx, dword [ebp + 0xc]
push edx
push 2
push str.Second_RF_Port
push 0x53bca0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x114], eax
mov edx, dword [ebp + 0xc]
push edx
push 2
push str.Second_RF_Port1
push 0x53bcc0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x118], eax
mov edx, dword [ebp + 0xc]
push edx
push 3
push str.Second_RF_Port2
push 0x53bce0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x11c], eax
mov edx, dword [ebp + 0xc]
push edx
push 3
push str.Second_RF_Port3
push 0x53bd00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x120], eax
mov edx, dword [ebp + 0xc]
push edx
push 3
push str.DL_CableLoss
push 0x53bd20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
fild qword [ebp - 0xc]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x100]
mov ecx, dword [ebp + 0xc]
push ecx
push 3
push str.UL_CableLoss
push 0x53bd40
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
fild qword [ebp - 0x14]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x104]
mov eax, dword [ebp + 0xc]
push eax
push 3
push str.LossTableFlag
push 0x53bd60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x108], eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push str.WIFI_RF_Port
push 0x53bd80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x124], eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push str.BT_RF_Port
push 0x53bd9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp + 0xc]
push edx
push 0x40
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
push str.192.168.1.1
push str.IPAddress
push 0x53bdc4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 0xc]
push ecx
push 0x40
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
push 0x53bdd4
push str.PS_GPIBAddress
push 0x53bdf4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp + 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x58
push ecx
push str.GPIB0::5::INSTR
push str.PS_GPIBAddress2
push 0x53be24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp + 0xc]
push edx
push 1
push str.PS_IsMultiChPs
push str.DeviceSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
sete al
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xf8], al
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jge 0x4bd5f2
mov dword [ebp - 0x18], 0
jmp 0x4bd611
mov eax, dword [ebp + 8]
cmp dword [eax], 0xe
jle 0x4bd603
mov dword [ebp - 0x1c], 0xe
jmp 0x4bd60b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jge 0x4bd62b
mov dword [ebp - 0x20], 0
jmp 0x4bd64c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0x1e
jle 0x4bd63d
mov dword [ebp - 0x24], 0x1e
jmp 0x4bd646
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xa0], 0
jge 0x4bd66a
mov dword [ebp - 0x28], 0
jmp 0x4bd691
mov edx, dword [ebp + 8]
cmp dword [edx + 0xa0], 1
jle 0x4bd67f
mov dword [ebp - 0x2c], 1
jmp 0x4bd68b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0xa0], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0xa4], 0
jge 0x4bd6b2
mov dword [ebp - 0x30], 0
jmp 0x4bd6d9
mov eax, dword [ebp + 8]
cmp dword [eax + 0xa4], 0x1e
jle 0x4bd6c7
mov dword [ebp - 0x34], 0x1e
jmp 0x4bd6d3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0xa4], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0xf0], 0
jge 0x4bd6fa
mov dword [ebp - 0x38], 0
jmp 0x4bd721
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xf0], 1
jle 0x4bd70f
mov dword [ebp - 0x3c], 1
jmp 0x4bd71b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf0]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0xf0], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xfc], 0
jge 0x4bd742
mov dword [ebp - 0x40], 0
jmp 0x4bd769
mov edx, dword [ebp + 8]
cmp dword [edx + 0xfc], 1
jle 0x4bd757
mov dword [ebp - 0x44], 1
jmp 0x4bd763
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xfc]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0xfc], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0xf4], 0
jge 0x4bd78a
mov dword [ebp - 0x48], 0
jmp 0x4bd7b1
mov eax, dword [ebp + 8]
cmp dword [eax + 0xf4], 1
jle 0x4bd79f
mov dword [ebp - 0x4c], 1
jmp 0x4bd7ab
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xf4]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0xf4], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10c], 1
jge 0x4bd7d2
mov dword [ebp - 0x50], 1
jmp 0x4bd7f9
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x10c], 8
jle 0x4bd7e7
mov dword [ebp - 0x54], 8
jmp 0x4bd7f3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
mov dword [edx + 0x10c], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x110], 1
jge 0x4bd81a
mov dword [ebp - 0x58], 1
jmp 0x4bd841
mov edx, dword [ebp + 8]
cmp dword [edx + 0x110], 8
jle 0x4bd82f
mov dword [ebp - 0x5c], 8
jmp 0x4bd83b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x110]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x110], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x114], 1
jge 0x4bd862
mov dword [ebp - 0x60], 1
jmp 0x4bd889
mov eax, dword [ebp + 8]
cmp dword [eax + 0x114], 8
jle 0x4bd877
mov dword [ebp - 0x64], 8
jmp 0x4bd883
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x114]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x114], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x118], 1
jge 0x4bd8aa
mov dword [ebp - 0x68], 1
jmp 0x4bd8d1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x118], 8
jle 0x4bd8bf
mov dword [ebp - 0x6c], 8
jmp 0x4bd8cb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x118]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x68]
mov dword [edx + 0x118], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x11c], 1
jge 0x4bd8f2
mov dword [ebp - 0x70], 1
jmp 0x4bd919
mov edx, dword [ebp + 8]
cmp dword [edx + 0x11c], 8
jle 0x4bd907
mov dword [ebp - 0x74], 8
jmp 0x4bd913
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x11c]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x11c], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x124], 1
jge 0x4bd93a
mov dword [ebp - 0x78], 1
jmp 0x4bd961
mov eax, dword [ebp + 8]
cmp dword [eax + 0x124], 8
jle 0x4bd94f
mov dword [ebp - 0x7c], 8
jmp 0x4bd95b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x124]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0x124], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x128], 1
jge 0x4bd982
mov dword [ebp - 0x80], 1
jmp 0x4bd9b2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x128], 8
jle 0x4bd99a
mov dword [ebp - 0x84], 8
jmp 0x4bd9a9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x128]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x80]
mov dword [edx + 0x128], eax
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x100]
fcomp qword [0x541368]
fnstsw ax
test ah, 5
jp 0x4bd9de
fldz
fstp dword [ebp - 0x88]
jmp 0x4bda1d
mov edx, dword [ebp + 8]
fld dword [edx + 0x100]
fcomp qword [0x53c188]
fnstsw ax
test ah, 0x41
jne 0x4bda02
fld dword [0x53c184]
fstp dword [ebp - 0x8c]
jmp 0x4bda11
mov eax, dword [ebp + 8]
fld dword [eax + 0x100]
fstp dword [ebp - 0x8c]
fld dword [ebp - 0x8c]
fstp dword [ebp - 0x88]
mov ecx, dword [ebp + 8]
fld dword [ebp - 0x88]
fstp dword [ecx + 0x100]
mov edx, dword [ebp + 8]
fld dword [edx + 0x104]
fcomp qword [0x541368]
fnstsw ax
test ah, 5
jp 0x4bda4c
fldz
fstp dword [ebp - 0x90]
jmp 0x4bda8b
mov eax, dword [ebp + 8]
fld dword [eax + 0x104]
fcomp qword [0x53c188]
fnstsw ax
test ah, 0x41
jne 0x4bda70
fld dword [0x53c184]
fstp dword [ebp - 0x94]
jmp 0x4bda7f
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x104]
fstp dword [ebp - 0x94]
fld dword [ebp - 0x94]
fstp dword [ebp - 0x90]
mov edx, dword [ebp + 8]
fld dword [ebp - 0x90]
fstp dword [edx + 0x104]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x108], 0
jge 0x4bdab2
mov dword [ebp - 0x98], 0
jmp 0x4bdae5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x108], 1
jle 0x4bdaca
mov dword [ebp - 0x9c], 1
jmp 0x4bdad9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x98]
mov dword [edx + 0x108], eax
mov al, 1
mov esp, ebp
pop ebp
ret 8