Function at 0x42b564
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
mov ebx, 0x569b9c
mov eax, dword [ebp + 8]
mov esi, ebx
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.0041cb6c
push 1
push ebx
call fcn.0041c947
test eax, eax
jne 0x42b5b2
xor eax, eax
jmp 0x42b96b
push 0x64
push 0
lea edx, [ebp - 0x7c]
push edx
call fcn.00539438
add esp, 0xc
push 0xa
push 0
lea ecx, [ebp - 0xc]
push ecx
call fcn.00539438
add esp, 0xc
push 0x64
push 0
lea eax, [ebp - 0xe0]
push eax
call fcn.00539438
add esp, 0xc
push 0xa
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.00539438
add esp, 0xc
push 0x64
push 0
lea ecx, [ebp - 0x144]
push ecx
call fcn.00539438
add esp, 0xc
push ebx
push 0x64
lea eax, [ebp - 0x7c]
push eax
push 0x54cf5c
push str.serverName
push 0x54cf48
call sub.KERNEL32.dll_GetPrivateProfileStringA
push ebx
push 0xa
lea edx, [ebp - 0xc]
push edx
push 0x54cf6c
push 0x54cf66
push 0x54cf5e
call sub.KERNEL32.dll_GetPrivateProfileStringA
push ebx
push 0x64
lea ecx, [ebp - 0xe0]
push ecx
push 0x54cf83
push str.channelName
push 0x54cf6e
call sub.KERNEL32.dll_GetPrivateProfileStringA
push ebx
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x54cf9c
push str.confirmPrompt
push str.nschat
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [ebp - 0xe0], 0
jne 0x42b7ec
cmp byte [ebp - 0x7c], 0
jne 0x42b7ec
push 0x54cf9e
push ebx
call fcn.0053d174
add esp, 8
mov edi, eax
test edi, edi
jne 0x42b6a9
xor eax, eax
jmp 0x42b96b
push edi
push 0x3e7
push 0x57c887
call fcn.0053cb40
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x42b7e5
jmp 0x42b6c9
inc ebx
mov al, byte [ebx]
cmp al, 0x20
je 0x42b6c8
cmp al, 9
je 0x42b6c8
cmp byte [ebx], 0
je 0x42b6a9
mov esi, ebx
jmp 0x42b6dd
inc esi
mov al, byte [esi]
test al, al
je 0x42b6eb
cmp al, 0x20
je 0x42b6eb
cmp al, 9
jne 0x42b6dc
test esi, esi
je 0x42b6a9
mov byte [esi], 0
inc esi
jmp 0x42b6f6
inc esi
mov al, byte [esi]
cmp al, 0x20
je 0x42b6f5
cmp al, 9
je 0x42b6f5
cmp byte [esi], 0
je 0x42b6a9
push 0xa
push esi
call fcn.00539518
add esp, 8
test eax, eax
je 0x42b717
mov byte [eax], 0
push 0x54cfa1
push ebx
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x42b73c
push 0x5a
push esi
lea edx, [ebp - 0x7c]
push edx
call fcn.005397c4
add esp, 0xc
mov byte [ebp - 0x22], 0
push 0x54cfa9
push ebx
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x42b761
push 7
push esi
lea ecx, [ebp - 0xc]
push ecx
call fcn.005397c4
add esp, 0xc
mov byte [ebp - 5], 0
push 0x54cfaf
push ebx
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x42b78c
push 0x5a
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.005397c4
add esp, 0xc
mov byte [ebp - 0x86], 0
push 0x54cfb8
push ebx
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x42b7b7
push 0x5a
push esi
lea edx, [ebp - 0x144]
push edx
call fcn.005397c4
add esp, 0xc
mov byte [ebp - 0xea], 0
push 0x54cfc2
push ebx
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x42b6a9
push 5
push esi
lea ecx, [ebp - 0x18]
push ecx
call fcn.005397c4
add esp, 0xc
mov byte [ebp - 0x13], 0
jmp 0x42b6a9
push edi
call fcn.0053ca10
pop ecx
cmp byte [ebp - 0x7c], 0
je 0x42b809
push 0x20
lea eax, [ebp - 0x7c]
push eax
call fcn.00539518
add esp, 8
mov esi, eax
test esi, esi
je 0x42b809
mov byte [esi], 0
cmp byte [ebp - 0xe0], 0
je 0x42b82c
push 0x20
lea eax, [ebp - 0xe0]
push eax
call fcn.00539518
add esp, 8
mov esi, eax
test esi, esi
je 0x42b82c
mov byte [esi], 0
cmp byte [ebp - 0xc], 0
je 0x42b849
push 0x20
lea eax, [ebp - 0xc]
push eax
call fcn.00539518
add esp, 8
mov esi, eax
test esi, esi
je 0x42b849
mov byte [esi], 0
cmp byte [ebp - 0xe0], 0
jne 0x42b85c
cmp byte [ebp - 0x7c], 0
je 0x42b969
cmp byte [ebp - 0xc], 0
jne 0x42b873
push 0x54cfcb
lea eax, [ebp - 0xc]
push eax
call sub.USER32.dll_wsprintfA
add esp, 8
lea edx, [ebp - 0xc]
push edx
call fcn.00542dbc
pop ecx
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov word [eax], bx
test bx, bx
ja 0x42b897
mov edx, dword [ebp + 0x14]
mov cx, word [0x5577b6]
mov word [edx], cx
cmp byte [ebp - 0xe0], 0x23
je 0x42b8e1
lea eax, [ebp - 0xe0]
push eax
push 0x54cfd1
push 0x57c887
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea esi, [ebp - 0xe0]
mov edi, 0x57c887
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
mov esi, eax
lea edi, [ebp - 0x7c]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0xe0], 0
je 0x42b962
mov eax, dword [ebp + 0x10]
mov esi, eax
lea edi, [ebp - 0xe0]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x144], 0
je 0x42b962
push 0x54cfd6
push dword [ebp + 0x10]
call fcn.005394dc
add esp, 8
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0x10]
call fcn.005394dc
add esp, 8
mov eax, 1
jmp 0x42b96b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10