Function at 0x425ae0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x466c98]
sub esp, 0x60
push ebx
push ebp
push esi
xor ebp, ebp
cmp eax, ebp
push edi
mov esi, ecx
je 0x425b18
mov ecx, dword [esi + 0x1055]
push 0x10
push 0x45eda8
push str.The_BAYCOM_Is_not_Supported_Under_NT_
call fcn.00401480
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esi + 0x14c3], ebp
mov edx, dword [0x46794c]
mov edi, dword [esp + 0x74]
mov eax, 1
mov dword [0x467948], eax
mov ecx, dword [esi + 0x1504]
mov dword [edx*4 + 0x467958], ecx
inc dword [0x46794c]
mov dword [esi + 0x14c3], eax
mov dword [esi + 0x162c], eax
mov dword [esi + 0x14bf], ebp
cmp dword [0x46794c], eax
jle 0x425b8b
mov eax, dword [0x467950]
mov ecx, dword [esi + 0x1055]
mov dword [esi + 0x212d], eax
mov dword [esi + 0x162c], ebp
mov edx, dword [0x467958]
mov eax, dword [ecx + edx*4 + 0x30]
mov ecx, dword [esi + 0x1504]
mov dword [eax + 0x160c], ecx
jmp 0x425c43
push edi
push 0xa
lea edx, [esp + 0x38]
push edx
push 0x45ede4
push 0x45ede8
push 0x45edf0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebp
push 0x40000080
push 3
push ebp
push 3
push 0xc0000000
lea eax, [esp + 0x48]
push eax
call ebx
push eax
mov dword [esi + 0x212d], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push 0x44000000
push ebp
push ebp
push ebp
push ebp
push str..AGWBAY.VXD
call ebx
cmp eax, 0xffffffff
mov dword [esi + 0x212d], eax
jne 0x425c3e
push str.AgwBay.vxd_Not_Found__n_Tnc_Will_Be_IDLE__
push str.NOBAYCOM
push 0x45ee48
mov dword [esi + 0x14c3], ebp
mov dword [esi + 0x162c], ebp
call fcn.0040d190
mov ecx, dword [esi + 0x1055]
add esp, 0xc
push 0x10
push 0x45ee50
push 0x466a30
call fcn.00401480
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret 4
mov dword [0x467950], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0x4b0
push 0x45ee64
push 0x45ee6c
call ebp
push edi
push 3
push 0x45ee7c
push 0x45ee80
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
call ebp
push edi
push 0x10
push 0x45ee90
push 0x45ee9c
mov dword [esp + 0x24], eax
mov ebx, eax
call ebp
movzx ecx, al
push ecx
lea edx, [esp + 0x34]
push 0x45eeac
push edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x1f], al
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.WALKSTEPDIV
push 0x45eebc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
push 0xa
lea ecx, [esp + 0x38]
push ecx
push 0x45eecc
push 0x45eed0
push 0x45eed8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push 0x45eee8
push eax
call fcn.0043a803
mov ecx, dword [esp + 0x20]
push 2
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x65]
push eax
mov dword [esp + 0x30], ecx
mov byte [esp + 0x68], bl
call fcn.004394b0
push 2
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x73]
push edx
call fcn.004394b0
push 1
lea eax, [esp + 0x3b]
push eax
lea ecx, [esp + 0x81]
push ecx
call fcn.004394b0
add esp, 0x30
xor edi, edi
push edi
lea edx, [esp + 0x24]
push edx
push 0xa
lea eax, [esp + 0x30]
push eax
push 5
lea ecx, [esp + 0x64]
push ecx
mov edx, dword [esi + 0x212d]
push 0x222000
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov al, byte [esp + 0x24]
test al, al
je 0x425c2f
movsx eax, al
dec eax
cmp eax, 3
ja case.default.0x425d73
jmp dword [eax*4 + 0x425e48]
push str.Baycom_Driver_Not_Installed__Hook_Irq_Failed__
push str.NOBAYCOM1
push 0x45ef28
call fcn.0040d190
add esp, 0xc
push 0x10
push 0x45ef30
jmp 0x425e18
push str.Baycom_Driver_Not_Installed__Com_ini_Failed__
push str.NOBAYCOM2
push 0x45ef80
call fcn.0040d190
add esp, 0xc
push 0x10
push 0x45ef88
jmp 0x425e18
push str.Baycom_Driver_Not_Installed__Timer_ini_Failed__
push str.NOBAYCOM3
push 0x45efd8
call fcn.0040d190
add esp, 0xc
push 0x10
push 0x45efe0
jmp 0x425e18
push str.Baycom_Driver_Not_Installed__Port_Trap_Failed__
push str.NOBAYCOM4
push 0x45f030
call fcn.0040d190
add esp, 0xc
push 0x10
push 0x45f038
jmp 0x425e18
push str.Baycom_Driver_Not_Installed_
push str.NOBAYCOM5
push 0x45f078
call fcn.0040d190
add esp, 0xc
push 0x10
push 0x45f080
mov ecx, dword [esi + 0x1055]
push 0x466a30
call fcn.00401480
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esi + 0x14c3], edi
mov dword [esi + 0x162c], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret 4