Function at 0x40b4e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41e01b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], ebp
call fcn.00408910
xor ebx, ebx
or ecx, 0xffffffff
mov dword [ebp + 0x3c], ecx
mov byte [ebp + 0x28c4], bl
mov eax, dword [0x429048]
mov dword [esp + 0x258], ebx
cmp eax, ebx
jne 0x40b533
lea edx, [esp + 0x30]
mov edi, str.server_w95
jmp 0x40b559
cmp dword [0x429050], 3
jne 0x40b550
cmp dword [0x429054], 0x33
jne 0x40b550
lea edx, [esp + 0x30]
mov edi, str.server_351
jmp 0x40b559
lea edx, [esp + 0x30]
mov edi, str.server_nt
xor eax, eax
mov dword [esp + 0x14], 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xa20
lea edi, [ebp + 0x44]
mov dword [ebp + 0x40], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x429048]
xor ecx, ecx
cmp eax, ebx
mov dword [ebp + 0x40], ebx
setne cl
add ebp, 0x360
jmp 0x40b5a5
mov ecx, dword [esp + 0x18]
mov eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x28]
push str.server_d
push ecx
call fcn.00413140
add esp, 0xc
lea edx, [esp + 0x50]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x30]
push 0x427278
push 0x200
push edx
push 0x426bb0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40b853
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x50]
mov edi, str.server0
mov ecx, dword [eax + 0x40]
inc ecx
mov dword [eax + 0x40], ecx
lea eax, [esp + 0x24]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x40b627
cmp cl, bl
je 0x40b623
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x40b627
add eax, 2
add edi, 2
cmp cl, bl
jne 0x40b603
xor eax, eax
jmp 0x40b62c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40b63e
mov dword [ebp + 0x40], 2
mov edi, 1
jmp 0x40b646
mov edi, 1
mov dword [ebp + 0x40], edi
mov al, byte [esp + 0x50]
lea ecx, [ebp - 0x31c]
cmp al, bl
je 0x40b663
cmp al, 0x2c
je 0x40b663
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b654
inc esi
mov byte [ecx], bl
movsx eax, byte [esi]
push eax
call fcn.00413110
add esp, 4
test eax, eax
je 0x40b688
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.00413110
add esp, 4
test eax, eax
jne 0x40b676
mov al, byte [esi]
lea ecx, [ebp - 0x2cf]
cmp al, bl
je 0x40b6a3
cmp al, 0x2c
je 0x40b6a3
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b694
inc esi
mov byte [ecx], bl
movsx edx, byte [esi]
push edx
call fcn.00413110
add esp, 4
test eax, eax
je 0x40b6c8
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.00413110
add esp, 4
test eax, eax
jne 0x40b6b6
mov al, byte [esi]
lea ecx, [ebp - 0x2dc]
cmp al, bl
je 0x40b6e3
cmp al, 0x2c
je 0x40b6e3
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b6d4
inc esi
mov byte [ecx], bl
movsx ecx, byte [esi]
push ecx
call fcn.00413110
add esp, 4
test eax, eax
je 0x40b708
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.00413110
add esp, 4
test eax, eax
jne 0x40b6f6
cmp byte [esi], 0x31
jne 0x40b710
mov dword [ebp + 0x34], edi
movsx eax, byte [esi + 2]
add esi, 2
push eax
call fcn.00413110
add esp, 4
test eax, eax
je 0x40b736
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.00413110
add esp, 4
test eax, eax
jne 0x40b724
mov al, byte [esi]
lea ecx, [esp + 0x1c]
cmp al, bl
je 0x40b74f
cmp al, 0x2c
je 0x40b74f
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b740
lea edx, [esp + 0x1c]
mov byte [ecx], bl
push edx
call fcn.00413000
add esp, 4
inc esi
mov dword [ebp + 0x38], eax
movsx eax, byte [esi]
push eax
call fcn.00413110
add esp, 4
test eax, eax
je 0x40b784
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.00413110
add esp, 4
test eax, eax
jne 0x40b772
cmp byte [esi], 0x31
jne 0x40b78c
mov dword [ebp + 0x3c], edi
movsx edx, byte [esi + 2]
add esi, 2
push edx
call fcn.00413110
add esp, 4
test eax, eax
je 0x40b7b2
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.00413110
add esp, 4
test eax, eax
jne 0x40b7a0
mov al, byte [esi]
lea ecx, [ebp - 0x1cb]
cmp al, bl
je 0x40b7cd
cmp al, 0x2c
je 0x40b7cd
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b7be
inc esi
mov byte [ecx], bl
movsx ecx, byte [esi]
push ecx
call fcn.00413110
add esp, 4
test eax, eax
je 0x40b7f2
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.00413110
add esp, 4
test eax, eax
jne 0x40b7e0
mov al, byte [esi]
lea ecx, [ebp - 0x14b]
cmp al, bl
je 0x40b80d
cmp al, 0x2c
je 0x40b80d
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b7fe
mov byte [ecx], bl
mov al, byte [esi]
cmp al, bl
je 0x40b853
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.00413110
add esp, 4
test eax, eax
je 0x40b839
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.00413110
add esp, 4
test eax, eax
jne 0x40b827
mov al, byte [esi]
cmp al, bl
je 0x40b853
lea ecx, [ebp - 0x4c]
cmp al, 0x2c
je 0x40b851
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b842
mov byte [ecx], bl
mov eax, dword [esp + 0x14]
add ebp, 0x360
dec eax
mov dword [esp + 0x14], eax
jne 0x40b5a1
mov ecx, dword [esp + 0x250]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24c
ret