Function at 0x40b4d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41e00b
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 [0x429028]
mov dword [esp + 0x258], ebx
cmp eax, ebx
jne 0x40b523
lea edx, [esp + 0x30]
mov edi, str.server_w95
jmp 0x40b549
cmp dword [0x429030], 3
jne 0x40b540
cmp dword [0x429034], 0x33
jne 0x40b540
lea edx, [esp + 0x30]
mov edi, str.server_351
jmp 0x40b549
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 [0x429028]
xor ecx, ecx
cmp eax, ebx
mov dword [ebp + 0x40], ebx
setne cl
add ebp, 0x360
jmp 0x40b595
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.00413130
add esp, 0xc
lea edx, [esp + 0x50]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x30]
push 0x427258
push 0x200
push edx
push 0x426b90
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40b843
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 0x40b617
cmp cl, bl
je 0x40b613
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x40b617
add eax, 2
add edi, 2
cmp cl, bl
jne 0x40b5f3
xor eax, eax
jmp 0x40b61c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40b62e
mov dword [ebp + 0x40], 2
mov edi, 1
jmp 0x40b636
mov edi, 1
mov dword [ebp + 0x40], edi
mov al, byte [esp + 0x50]
lea ecx, [ebp - 0x31c]
cmp al, bl
je 0x40b653
cmp al, 0x2c
je 0x40b653
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b644
inc esi
mov byte [ecx], bl
movsx eax, byte [esi]
push eax
call fcn.00413100
add esp, 4
test eax, eax
je 0x40b678
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.00413100
add esp, 4
test eax, eax
jne 0x40b666
mov al, byte [esi]
lea ecx, [ebp - 0x2cf]
cmp al, bl
je 0x40b693
cmp al, 0x2c
je 0x40b693
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b684
inc esi
mov byte [ecx], bl
movsx edx, byte [esi]
push edx
call fcn.00413100
add esp, 4
test eax, eax
je 0x40b6b8
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.00413100
add esp, 4
test eax, eax
jne 0x40b6a6
mov al, byte [esi]
lea ecx, [ebp - 0x2dc]
cmp al, bl
je 0x40b6d3
cmp al, 0x2c
je 0x40b6d3
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b6c4
inc esi
mov byte [ecx], bl
movsx ecx, byte [esi]
push ecx
call fcn.00413100
add esp, 4
test eax, eax
je 0x40b6f8
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.00413100
add esp, 4
test eax, eax
jne 0x40b6e6
cmp byte [esi], 0x31
jne 0x40b700
mov dword [ebp + 0x34], edi
movsx eax, byte [esi + 2]
add esi, 2
push eax
call fcn.00413100
add esp, 4
test eax, eax
je 0x40b726
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.00413100
add esp, 4
test eax, eax
jne 0x40b714
mov al, byte [esi]
lea ecx, [esp + 0x1c]
cmp al, bl
je 0x40b73f
cmp al, 0x2c
je 0x40b73f
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b730
lea edx, [esp + 0x1c]
mov byte [ecx], bl
push edx
call fcn.00412ff0
add esp, 4
inc esi
mov dword [ebp + 0x38], eax
movsx eax, byte [esi]
push eax
call fcn.00413100
add esp, 4
test eax, eax
je 0x40b774
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.00413100
add esp, 4
test eax, eax
jne 0x40b762
cmp byte [esi], 0x31
jne 0x40b77c
mov dword [ebp + 0x3c], edi
movsx edx, byte [esi + 2]
add esi, 2
push edx
call fcn.00413100
add esp, 4
test eax, eax
je 0x40b7a2
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.00413100
add esp, 4
test eax, eax
jne 0x40b790
mov al, byte [esi]
lea ecx, [ebp - 0x1cb]
cmp al, bl
je 0x40b7bd
cmp al, 0x2c
je 0x40b7bd
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b7ae
inc esi
mov byte [ecx], bl
movsx ecx, byte [esi]
push ecx
call fcn.00413100
add esp, 4
test eax, eax
je 0x40b7e2
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.00413100
add esp, 4
test eax, eax
jne 0x40b7d0
mov al, byte [esi]
lea ecx, [ebp - 0x14b]
cmp al, bl
je 0x40b7fd
cmp al, 0x2c
je 0x40b7fd
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b7ee
mov byte [ecx], bl
mov al, byte [esi]
cmp al, bl
je 0x40b843
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.00413100
add esp, 4
test eax, eax
je 0x40b829
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.00413100
add esp, 4
test eax, eax
jne 0x40b817
mov al, byte [esi]
cmp al, bl
je 0x40b843
lea ecx, [ebp - 0x4c]
cmp al, 0x2c
je 0x40b841
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, bl
jne 0x40b832
mov byte [ecx], bl
mov eax, dword [esp + 0x14]
add ebp, 0x360
dec eax
mov dword [esp + 0x14], eax
jne 0x40b591
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