Function at 0x464b70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebx + 0x16c]
push edi
mov dword [esp + 0x10], eax
mov ecx, 0x40
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov al, 0xb3
push ecx
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0xb9
mov byte [esp + 0x1b], 0xab
mov byte [esp + 0x1c], 0xbe
mov byte [esp + 0x1d], 0xbd
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], 0xba
call fcn.0049ea90
lea edx, [esp + 0x18]
push edx
call fcn.004a2e70
mov eax, dword [0x4e5bb8]
mov ecx, dword [0x4e6180]
add esp, 8
mov byte [esp + 0x20], 5
push eax
push 0
push str.NewIBBTVer
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x464bf7
mov byte [esp + 0x20], 6
push esi
mov esi, dword [ebx + 0x3a0]
test esi, esi
jne 0x464eb6
mov dl, byte [ebx + 0xf2]
xor eax, eax
mov byte [ebp + 0x80], dl
mov al, byte [ebx + 0xf5]
mov byte [ebp + 0x81], al
mov cl, byte [ebx + 0xf4]
mov byte [ebp + 0x82], cl
mov al, byte [ebx + 0x3484]
test al, al
jne 0x464c40
mov eax, dword [ebx + 0x3488]
neg eax
sbb eax, eax
and eax, 0xff
mov byte [ebp + 0x83], al
mov edi, dword [ebx + 0x194]
test edi, edi
setne dl
mov byte [ebp + 0x84], dl
mov al, byte [ebx + 0x198]
mov byte [ebp + 0x85], al
mov cl, byte [ebx + 0x5838]
mov byte [ebp + 0x8b], cl
mov byte [ebp + 0x8c], 0
mov byte [ebp + 0x8d], 0
mov byte [ebp + 0x8e], 0
mov byte [ebp + 0x8f], 0
mov edx, dword [ebx + 8]
mov al, byte [edx + 0x5a]
mov byte [ebp + 0x90], al
mov cl, byte [ebx + 0xec]
mov byte [ebp + 0x91], cl
mov edx, dword [ebx + 8]
mov al, byte [edx + 0xa0]
mov byte [ebp + 0x92], al
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0xa1]
mov byte [ebp + 0x93], dl
mov al, byte [ebx + 0x838]
mov byte [ebp + 0x94], al
mov cl, byte [ebx + 0x839]
mov byte [ebp + 0x95], cl
mov byte [ebp + 0x96], 0
mov byte [ebp + 0x97], 0
mov edx, dword [ebx + 8]
xor ecx, ecx
mov al, byte [edx + 0x1e4]
mov dl, byte [esp + 0x24]
mov byte [ebp + 0x98], al
mov ax, word [esp + 0x28]
mov byte [ebp + 0x99], 0xff
mov byte [ebp + 0x9a], 0xff
mov byte [ebp + 0x9b], 0xff
mov cl, ah
mov byte [ebp + 0x9c], 0xff
mov byte [ebp + 0xa2], cl
mov byte [ebp + 0xa3], al
mov byte [ebp + 0xa0], dl
mov ecx, ebx
mov byte [ebp + 0xa1], 0
call fcn.00435fc0
xor ecx, ecx
mov cl, ah
mov byte [ebp + 0xa4], cl
mov ecx, ebx
call fcn.00435fc0
mov byte [ebp + 0xa5], al
mov esi, dword [ebx + 0x34ac]
test esi, esi
setne dl
mov byte [ebp + 0xa6], dl
mov al, byte [ebx + 0x348c]
mov cl, byte [ebx + 0x3cfa]
shl al, 4
or al, cl
mov byte [ebp + 0xa7], al
mov cl, byte [ebx + 0x3cfc]
mov byte [ebp + 0xa8], cl
mov dl, byte [ebx + 0x3d00]
mov byte [ebp + 0xa9], dl
mov al, byte [ebx + 0x5850]
mov byte [ebp + 0xcc], al
mov edx, dword [ebx + 0x584c]
test edx, edx
setne al
mov byte [ebp + 0xcd], al
mov ecx, dword [ebx + 0x5854]
test ecx, ecx
setne cl
shl cl, 1
or cl, al
mov byte [ebp + 0xcd], cl
mov eax, dword [ebx + 8]
xor ecx, ecx
mov cl, byte [eax + 0x1e4]
dec ecx
je 0x464e42
dec ecx
je 0x464e01
dec ecx
jne 0x464e60
mov edx, dword [eax + 0x1f8]
shr edx, 8
mov byte [ebp + 0x99], dl
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0x1f8]
mov byte [ebp + 0x9a], cl
jmp 0x464e60
mov edx, dword [eax + 0x1f0]
shr edx, 8
mov byte [ebp + 0x99], dl
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0x1f0]
mov byte [ebp + 0x9a], cl
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x1f4]
shr eax, 8
mov byte [ebp + 0x9b], al
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0x1f4]
mov byte [ebp + 0x9c], dl
jmp 0x464e60
mov eax, dword [eax + 0x1e8]
shr eax, 8
mov byte [ebp + 0x99], al
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0x1e8]
mov byte [ebp + 0x9a], dl
xor eax, eax
mov al, byte [ebx + 0x27]
mov byte [ebp + 0xb0], al
mov cl, byte [ebx + 0x26]
mov byte [ebp + 0xb1], cl
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0xa]
mov dword [ebp + 0xb2], eax
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0xe]
lea ecx, [ebp + 0xb6]
mov byte [ebp + 0xad], dl
mov eax, dword [ebx + 8]
add eax, 0xf
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov ax, word [eax + 8]
mov byte [ebp + 0xc0], 0
mov word [ecx + 8], ax
jmp 0x4650fb
lea edi, [ebp + 0x80]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4e5bb8]
push ecx
push 0
push str.SetRetryParm
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x464efd
mov eax, dword [ebx + 0x194]
test eax, eax
je 0x464efd
mov byte [ebp + 0x84], 1
mov dl, byte [ebx + 0x198]
mov byte [ebp + 0x85], dl
mov eax, dword [ebx + 8]
xor edx, edx
mov cl, byte [eax + 0x1e4]
mov ax, word [esp + 0x28]
mov byte [ebp + 0x98], cl
mov byte [ebp + 0x99], 0xff
mov byte [ebp + 0x9a], 0xff
mov byte [ebp + 0x9b], 0xff
mov dl, ah
mov byte [ebp + 0x9c], 0xff
mov byte [ebp + 0xa2], dl
mov byte [ebp + 0xa3], al
mov al, byte [esp + 0x24]
mov ecx, ebx
mov byte [ebp + 0xa0], al
mov byte [ebp + 0xa1], 0
call fcn.00435fc0
xor ecx, ecx
mov cl, ah
mov byte [ebp + 0xa4], cl
mov ecx, ebx
call fcn.00435fc0
mov byte [ebp + 0xa5], al
mov esi, dword [ebx + 0x34ac]
test esi, esi
setne dl
mov byte [ebp + 0xa6], dl
mov al, byte [ebx + 0x348c]
mov cl, byte [ebx + 0x3cfa]
shl al, 4
or al, cl
mov byte [ebp + 0xa7], al
mov cl, byte [ebx + 0x3cfc]
mov byte [ebp + 0xa8], cl
mov dl, byte [ebx + 0x3d00]
mov byte [ebp + 0xa9], dl
mov al, byte [ebx + 0x5850]
mov byte [ebp + 0xcc], al
mov edx, dword [ebx + 0x584c]
test edx, edx
setne al
mov byte [ebp + 0xcd], al
mov ecx, dword [ebx + 0x5854]
test ecx, ecx
setne cl
shl cl, 1
or cl, al
mov byte [ebp + 0xcd], cl
mov eax, dword [ebx + 8]
xor ecx, ecx
mov cl, byte [eax + 0x1e4]
dec ecx
je 0x465053
dec ecx
je 0x465012
dec ecx
jne 0x465071
mov edx, dword [eax + 0x1f8]
shr edx, 8
mov byte [ebp + 0x99], dl
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0x1f8]
mov byte [ebp + 0x9a], cl
jmp 0x465071
mov edx, dword [eax + 0x1f0]
shr edx, 8
mov byte [ebp + 0x99], dl
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0x1f0]
mov byte [ebp + 0x9a], cl
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x1f4]
shr eax, 8
mov byte [ebp + 0x9b], al
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0x1f4]
mov byte [ebp + 0x9c], dl
jmp 0x465071
mov eax, dword [eax + 0x1e8]
shr eax, 8
mov byte [ebp + 0x99], al
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0x1e8]
mov byte [ebp + 0x9a], dl
mov byte [ebp + 0xc0], 1
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0x5a]
mov byte [ebp + 0xc1], cl
mov dl, byte [ebx + 0xec]
mov byte [ebp + 0xc2], dl
mov eax, dword [ebx + 8]
cmp byte [eax + 0xa2], 0xff
jne 0x4650a3
mov eax, 0xff
jmp 0x4650ab
xor eax, eax
mov al, byte [ebx + 0x838]
xor ecx, ecx
mov byte [ebp + 0xc3], al
mov cl, byte [ebx + 0x27]
mov byte [ebp + 0xd0], cl
mov dl, byte [ebx + 0x26]
mov byte [ebp + 0xd1], dl
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0xa]
mov dword [ebp + 0xd2], ecx
mov edx, dword [ebx + 8]
mov al, byte [edx + 0xe]
lea edx, [ebp + 0xd6]
mov byte [ebp + 0xce], al
mov ecx, dword [ebx + 8]
add ecx, 0xf
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov cx, word [ecx + 8]
mov word [edx + 8], cx
lea edx, [esp + 0x28]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0x14]
push 0
add ecx, 0x76c
sar ecx, 8
mov byte [ebp + 0xfa], cl
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 0x14]
push 0
add dl, 0x6c
lea ecx, [esp + 0x14]
mov byte [ebp + 0xfb], dl
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x10]
push 0
inc al
lea ecx, [esp + 0x14]
mov byte [ebp + 0xfc], al
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
shr edx, 8
mov byte [ebp + 0xfd], cl
mov byte [ebp + 0xe0], dl
mov byte [ebp + 0xe1], 0
mov byte [ebp + 0xef], 0
mov dl, byte [ebx + 0x156]
xor cl, cl
xor al, al
cmp dl, 1
pop esi
jne 0x4651b0
mov eax, dword [ebx + 0x110]
test al, 0xc0
jne 0x4651ac
test ah, 0x60
jne 0x4651ac
test ah, 3
je 0x4651ae
mov cl, 3
jmp 0x4651ae
mov cl, 0x13
mov al, 0x80
mov dl, byte [ebx + 0x3d01]
mov byte [ebp + 0xe3], cl
mov byte [ebp + 0xe2], dl
mov byte [ebp + 0xe4], al
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 8