Function at 0x425770
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x466c98]
sub esp, 0x68
push ebx
push ebp
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, ecx
je 0x4257a8
mov ecx, dword [esi + 0x1055]
push 0x10
push 0x45ebb0
push str.The_DRSI_Is_not_Supported_Under_NT_
call fcn.00401480
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esi + 0x14c3], ebx
mov edi, dword [esp + 0x7c]
push edi
push 0xf
lea eax, [esp + 0x38]
push eax
push 0x45ebe8
push 0x45ebf0
push 0x45ebfc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x30]
push 0x45ec08
push ecx
call fcn.0044370e
add esp, 8
test eax, eax
jne 0x425a5e
mov eax, dword [0x466ca0]
mov edx, dword [esi + 0x1504]
mov dword [eax*4 + 0x466cac], edx
mov ecx, dword [0x466ca0]
mov ebp, 1
inc ecx
mov dword [0x466ca0], ecx
mov dword [0x466c9c], ebp
mov dword [esi + 0x14c3], ebp
mov dword [esi + 0x162c], ebp
mov dword [esi + 0x14bf], 2
cmp dword [0x466ca0], ebp
jle 0x42583f
mov ecx, dword [0x466ca4]
mov dword [esi + 0x212d], ecx
mov dword [esi + 0x162c], ebx
jmp 0x4258b1
push ebx
push 0x44000000
push ebx
push ebx
push ebx
push ebx
push str..AGWDRSI.VXD
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x212d], eax
jne 0x4258ac
push str.AgwDrsi.vxd_Not_Found__n_Tnc_Will_Be_IDLE__
push str.NODRSI
push 0x45ec54
mov dword [esi + 0x14c3], ebx
mov dword [esi + 0x162c], ebx
call fcn.0040d190
mov ecx, dword [esi + 0x1055]
add esp, 0xc
push 0x10
push 0x45ec5c
push 0x466a30
call fcn.00401480
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x68
ret 4
mov dword [0x466ca4], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edx, [esi + 0x10]
push edx
push ebx
push 0x45ec70
push 0x45ec7c
call ebp
push edi
push 0x4b0
push str.CHANA
push 0x45ec90
mov dword [esi + 0x160c], eax
mov dword [esp + 0x20], 0x300
mov dword [esp + 0x24], 7
call ebp
push edi
push 0x4b0
push str.CHANB
push 0x45eca8
mov dword [esp + 0x8c], eax
mov dword [esp + 0x28], eax
call ebp
push edi
push 7
push 0x45ecb8
push 0x45ecbc
mov dword [esp + 0x8c], eax
mov dword [esp + 0x2c], eax
call ebp
push edi
push 0xa
mov dword [esp + 0x84], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
push eax
push 0x45eccc
push 0x45ecd0
push 0x45ecd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x34]
push 0x45ece8
push edx
call fcn.0043a803
mov eax, dword [esp + 0x88]
push 2
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x28], eax
call fcn.004394b0
push 2
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x72]
push ecx
call fcn.004394b0
push 2
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.004394b0
push 2
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x8e]
push edx
call fcn.004394b0
add esp, 0x3c
push ebx
lea eax, [esp + 0x24]
push eax
push 0xa
lea ecx, [esp + 0x30]
push ecx
push 8
lea edx, [esp + 0x64]
push edx
mov eax, dword [esi + 0x212d]
push 0x222000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov al, byte [esp + 0x24]
cmp al, bl
jne 0x425a09
push str.DRSI_Driver_Not_Installed__n_Tnc_Will_Be_IDLE__
push str.NODRSI2
push 0x45ed24
call fcn.0040d190
add esp, 0xc
push 0x10
push 0x45ed2c
jmp 0x425a2f
cmp al, 2
jne 0x425ac3
push str.DRSI_Card_Not_Found__n_Tnc_Will_Be_IDLE__
push str.NODRSI3
push 0x45ed74
call fcn.0040d190
add esp, 0xc
push 0x10
push 0x45ed7c
mov ecx, dword [esi + 0x1055]
push 0x466a30
call fcn.00401480
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
mov dword [esi + 0x14c3], ebx
mov dword [esi + 0x162c], ebx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret 4
push edi
push ebx
push 0x45ed90
push 0x45ed9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esi + 0x1055]
mov edx, dword [ecx + eax*4 + 0x30]
lea eax, [ecx + eax*4 + 0x30]
mov ecx, dword [edx + 0x212d]
mov dword [esi + 0x212d], ecx
mov ecx, dword [esi + 0x1504]
dec ecx
mov dword [esi + 0x14bf], 2
mov dword [esi + 0x162c], ebx
mov dword [esi + 0x1504], ecx
mov edx, dword [eax]
cmp dword [edx + 0x14c3], ebx
jne 0x425ac3
pop edi
mov dword [esi + 0x14c3], ebx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x68
ret 4